summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorColton Lewis <coltonlewis@google.com>2024-05-23 20:40:55 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-06-14 23:11:15 +0300
commit0b5afe05377d7993f19292bf49dd13e959000790 (patch)
tree6bffe6de6acca7d36ce8818bc2904503435343c1 /scripts/generate_rust_analyzer.py
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
downloadlinux-0b5afe05377d7993f19292bf49dd13e959000790.tar.xz
KVM: arm64: Add early_param to control WFx trapping
Add an early_params to control WFI and WFE trapping. This is to control the degree guests can wait for interrupts on their own without being trapped by KVM. Options for each param are trap and notrap. trap enables the trap. notrap disables the trap. Note that when enabled, traps are allowed but not guaranteed by the CPU architecture. Absent an explicitly set policy, default to current behavior: disabling the trap if only a single task is running and enabling otherwise. Signed-off-by: Colton Lewis <coltonlewis@google.com> Reviewed-by: Jing Zhang <jingzhangos@google.com> Link: https://lore.kernel.org/r/20240523174056.1565133-1-coltonlewis@google.com [ oliver: rework kvm_vcpu_should_clear_tw*() for readability ] Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions