diff options
| author | Andy Chiu <tchiu@tenstorrent.com> | 2026-08-03 16:52:41 -0500 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-08-13 13:20:02 +0530 |
| commit | 848a973c5f368c6c4f8e76bb6ccb5371c6566b51 (patch) | |
| tree | afa71ba32c5448622e5496e4b4a74526ef7f2ead /include/linux/workqueue_api.h | |
| parent | 8f798d6d7f112565e9625dac5fbc9c3c225fc92c (diff) | |
riscv: vector: allow non-preemptible kernel-mode vector with IRQs off
Similar to commit 7137a203b251 ("arm64/fpsimd: Permit kernel mode NEON
with IRQs off"), we are upgrading get/put_cpu_vector_context such that
kvm_arch_vcpu_load/put can be safely called under both irq off and
regular process context.
Also, export both symbols so the kvm module can call into it.
Signed-off-by: Andy Chiu <tchiu@tenstorrent.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260803215250.824417-3-tchiu@tenstorrent.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
