[PATCH v6] KVM: arm64: Add early_param to control WFx trapping

Colton Lewis coltonlewis at google.com
Mon Jun 17 11:22:44 PDT 2024


Oliver Upton <oliver.upton at linux.dev> writes:

> On Thu, 23 May 2024 17:40:55 +0000, Colton Lewis wrote:
>> 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.

>> [...]

> Applied to kvmarm/next, thanks!

> [1/1] KVM: arm64: Add early_param to control WFx trapping
>        https://git.kernel.org/kvmarm/kvmarm/c/0b5afe05377d

Thank you! And I will keep your comments in mind in the future.



More information about the linux-arm-kernel mailing list