[SRU][M][PATCH 0/1] arm64 atomic issues cause disk corruption

Roxana Nicolescu roxana.nicolescu at canonical.com
Fri Nov 3 08:10:00 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2042573

SRU Justification:

[Impact]
The mantic kernel introduced a regression in atomic operations on arm64
which causes all kinds of problems including file system corruptions,
since commit "locking/atomic: scripts: restructure fallback
ifdeffery".

An example report of people encountering this in UTM with a arm64
generic kernel: https://github.com/utmapp/UTM/issues/4840

[Fix]
Cherry-pick commit "locking/atomic: scripts: fix fallback ifdeffery"
from linux-stable v6.5.6

[Test Plan]
Boot test on an arm64 vm.

[Where problems could occur]
Since this is touching atomic operations, this has a wide impact on the
kernel.

Mark Rutland (1):
  locking/atomic: scripts: fix fallback ifdeffery

 include/linux/atomic/atomic-arch-fallback.h | 10 +---------
 scripts/atomic/gen-atomic-fallback.sh       |  2 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list