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

Roxana Nicolescu roxana.nicolescu at canonical.com
Fri Nov 3 09:11:14 UTC 2023


On 03/11/2023 09:10, Roxana Nicolescu wrote:
> 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(-)
>
Applied to mantic:master-next with the modification: linux-stable -> 
linux-6.5.6. Thanks!

Roxana



More information about the kernel-team mailing list