]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Move early handlers to per-EC handlers
authorMarc Zyngier <maz@kernel.org>
Sun, 10 Oct 2021 14:56:28 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 13:57:28 +0000 (14:57 +0100)
commit2d6a2624325844774d025975369e2fde3640c38b
tree140bf46595c4b47e5a5bc295e68fb587c1e2f71a
parentddb0e78c425b58470740103e0318cb6f0936bd42
KVM: arm64: Move early handlers to per-EC handlers

Simplify the early exception handling by slicing the gigantic decoding
tree into a more manageable set of functions, similar to what we have
in handle_exit.c.

This will also make the structure reusable for pKVM's own early exit
handling.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211010145636.1950948-4-tabba@google.com
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c