Skip to content

arm64: tlb: Fix TLBI RANGE operand

Shaoqin Huang requested to merge shahuang/centos-stream-9:issue/26259/v1 into main

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

Merge request reports