diff options
author | 2021-12-15 16:12:26 +0000 | |
---|---|---|
committer | 2021-12-16 12:58:57 +0000 | |
commit | 61d99e33e757a21b47b8b130e49dcbdfaa5d2b1c (patch) | |
tree | 358281777624df34ab82e1bb9da871dda0c158f9 /lib/test_overflow.c | |
parent | KVM: arm64: Extend pkvm_page_state enumeration to handle absent pages (diff) | |
download | linux-dev-61d99e33e757a21b47b8b130e49dcbdfaa5d2b1c.tar.xz linux-dev-61d99e33e757a21b47b8b130e49dcbdfaa5d2b1c.zip |
KVM: arm64: Introduce wrappers for host and hyp spin lock accessors
In preparation for adding additional locked sections for manipulating
page-tables at EL2, introduce some simple wrappers around the host and
hypervisor locks so that it's a bit easier to read and bit more difficult
to take the wrong lock (or even take them in the wrong order).
Signed-off-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/20211215161232.1480836-10-qperret@google.com
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions