OSDN Git Service

KVM: arm64: Refactor __populate_fault_info()
authorQuentin Perret <qperret@google.com>
Fri, 19 Mar 2021 10:01:32 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Mar 2021 12:01:21 +0000 (12:01 +0000)
commit159b859beed76836a2c7cfa6303c312a40bb9dc7
tree0587065702ffc688043f015965d3b7225db3b962
parent6ec7e56d3265f6e7673d0788bfa3a76820c9bdfe
KVM: arm64: Refactor __populate_fault_info()

Refactor __populate_fault_info() to introduce __get_fault_info() which
will be used once the host is wrapped in a stage 2.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-25-qperret@google.com
arch/arm64/kvm/hyp/include/hyp/switch.h