diff options
| author | Vincent Donnefort <[email protected]> | 2025-05-21 12:48:25 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-05-21 13:33:51 +0000 |
| commit | 944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9 (patch) | |
| tree | d7fb84926781cbda63524bd6e6f9e07814a406e0 /rust/helpers/task.c | |
| parent | Merge branch kvm-arm64/pkvm-selftest-6.16 into kvm-arm64/pkvm-np-thp-6.16 (diff) | |
| download | kernel-944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
