diff options
author | Vincent Donnefort <vdonnefort@google.com> | 2025-05-21 15:48:25 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-05-21 16:33:51 +0300 |
commit | 944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9 (patch) | |
tree | d7fb84926781cbda63524bd6e6f9e07814a406e0 /tools/perf/scripts/python/task-analyzer.py | |
parent | d5702dd22427789bc2178e942d92a2245e87b31a (diff) | |
download | linux-944a1ed8cc3ea6c5b16b6aca11475ced0daf68a9.tar.xz |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions