]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Work out supported block level at compile time
authorOliver Upton <oliver.upton@linux.dev>
Fri, 7 Oct 2022 23:41:50 +0000 (23:41 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 9 Oct 2022 01:33:49 +0000 (02:33 +0100)
commit5405fd9103d277c7f934af955e84ebf81931869e
tree24e67eb9a6e040a7bf11e1b01cffede20e330539
parent7a7728040219f6cfde611ce7f9aac1c5e353de4d
KVM: arm64: Work out supported block level at compile time

Work out the minimum page table level where KVM supports block mappings
at compile time. While at it, rewrite the comment around supported block
mappings to directly describe what KVM supports instead of phrasing in
terms of what it does not.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221007234151.461779-2-oliver.upton@linux.dev
arch/arm64/include/asm/kvm_pgtable.h