]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add support for relaxing stage-2 perms in generic page-table code
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:24 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:15 +0000 (15:51 +0100)
commit1b5998adeb9e93b91552f692d1b5846fa36976dc
treed686875c1a9320c694c212a24073adf15177da9c
parentf165a6695063c5db9d00663e95a73330c740e90b
KVM: arm64: Add support for relaxing stage-2 perms in generic page-table code

Add support for relaxing the permissions of a stage-2 mapping (i.e.
adding additional permissions) to the generic page-table code.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20200911132529.19844-17-will@kernel.org
arch/arm64/include/asm/kvm_pgtable.h
arch/arm64/kvm/hyp/pgtable.c