]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: pkvm: Give priority to standard traps over pvm handling
authorMarc Zyngier <maz@kernel.org>
Wed, 13 Oct 2021 12:03:46 +0000 (13:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Oct 2021 15:57:09 +0000 (16:57 +0100)
commit0b9fe2e86d003a4d100fb1d272f3b77b5b080bcc
tree95bd0a4987ec46ed4d88c6862741fd6082c9a609
parent904953b41a0be9490a152e50abf40dec98525c78
KVM: arm64: pkvm: Give priority to standard traps over pvm handling

Checking for pvm handling first means that we cannot handle ptrauth
traps or apply any of the workarounds (GICv3 or TX2 #219).

Flip the order around.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211013120346.2926621-12-maz@kernel.org
arch/arm64/kvm/hyp/nvhe/switch.c