commit | 1b422dd7fc3c85556df656e3d8f1475ce99f93a0 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Wed Jun 26 19:57:41 2019 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Tue Jul 07 09:28:37 2020 +0100 |
tree | b72072831c68f24f3f885028e7cda8db3808b191 | |
parent | efaa5b93afde088411b67a0dde34e67aedc6e72f [diff] |
KVM: arm64: Introduce accessor for ctxt->sys_reg In order to allow the disintegration of the per-vcpu sysreg array, let's introduce a new helper (ctxt_sys_reg()) that returns the in-memory copy of a system register, picked from a given context. __vcpu_sys_reg() is rewritten to use this helper. Signed-off-by: Marc Zyngier <maz@kernel.org>