diff options
author | 2025-05-21 13:48:25 +0100 | |
---|---|---|
committer | 2025-05-21 14:33:51 +0100 | |
commit | 944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9 (patch) | |
tree | d7fb84926781cbda63524bd6e6f9e07814a406e0 /scripts/lib/kdoc/kdoc_files.py | |
parent | Merge branch kvm-arm64/pkvm-selftest-6.16 into kvm-arm64/pkvm-np-thp-6.16 (diff) | |
download | linux-rng-944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9.tar.xz linux-rng-944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9.zip |
KVM: arm64: Handle huge mappings for np-guest CMOs
clean_dcache_guest_page() and invalidate_icache_guest_page() accept a
size as an argument. But they also rely on fixmap, which can only map a
single PAGE_SIZE page.
With the upcoming stage-2 huge mappings for pKVM np-guests, those
callbacks will get size > PAGE_SIZE. Loop the CMOs on a PAGE_SIZE basis
until the whole range is done.
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://lore.kernel.org/r/20250521124834.1070650-2-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions