arm64: tlb: Fix TLBI RANGE operand
JIRA: https://issues.redhat.com/browse/RHEL-26259
Upstream Status: v6.9.rc4
Tested: No guest-crashes after migration when guest using small CPUs + large memory
The TLBI RANGE operand isn't correct. Thus it leads to crash on destination VM after live migration because TLBs aren't flushed completely and some of the dirty pages are missed. Fix it by picking up the upstream commits:
e2768b798a19 arm64/mm: Modify range-based tlbi to decrement scale
e3ba51ab24fd arm64: tlb: Fix TLBI RANGE operand
e3ba51ab24fd is the fixes, but it depends on e2768b798a19. So take both.
Signed-off-by: Shaoqin Huang shahuang@redhat.com
Edited by Shaoqin Huang