diff options
| author | Wang Yechao <wang.yechao255@zte.com.cn> | 2026-07-31 17:38:28 +0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-08-01 13:58:33 +0530 |
| commit | ed64ae4e44abc2e7d92cf25be94f008a25aab0a2 (patch) | |
| tree | 182c046cb931fc06bc2a33d0a181f9e5b6796fe2 /include/linux | |
| parent | c1bc73280fb28f024442e1aa9725b6858bafc37b (diff) | |
RISC-V: KVM: Introduce make_xfence_request_nodata for FENCE.I requests
FENCE.I does not need hfence data, but it currently goes through the
generic make_xfence_request() path with NULL data, incurring unnecessary
per-VCPU checks.
Split out a separate make_xfence_request_nodata() function to handle
FENCE.I directly, and move the data validity check to the top of the
generic function to avoid redundant checks.
Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260731093833.1551341-3-wang.yechao255@zte.com.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
