ACK: [SRU][N][PATCH 0/1] Fix for storage corruption on 64 bit DMA on AMD platforms
Ivan Hu
ivan.hu at canonical.com
Fri Oct 2 02:47:37 UTC 2026
Acked-by: Ivan Hu <ivan.hu at canonical.com>
On Tue, Sep 29, 2026 at 5:18 PM Yo-Jung Leo Lin (AMD) via kernel-team <
kernel-team at lists.ubuntu.com> wrote:
> BugLink: https://bugs.launchpad.net/bugs/2166838
>
> [ Impact ]
>
> We found a issue where if our BIOS enables certain enhanced features for
> PCIe atomics for PCI root port on a system where some devices don't
> support, it leads to malfunction on some of those devices.
>
> Currently this manifests as storage corruption on PCIe-connected SATA
> storage, but potentially can lead to more general PCIe device issues.
>
> [ Fix ]
>
> Cherry-pick a quirk for AMD platforms from this patcheset:
>
> - Fix for storage corruption w/ AMD IOMMU on 64-bit addressing[1]
>
> They can be found in following commits:
>
> 1. 4fde4482 (mainline) x86/PCI: Disable enhanced atomics on AMD NBIO 7.7
> and 7.11
> 2. 6b28e0e7 (linux-next) Revert "ata: ahci: force 32-bit DMA for JMicron
> JMB582/JMB585"
>
> And a dependent patch to make these 2 apply cleanly:
>
> 1. 21e7b971 (mainline) ata: Use named initializers for pci_device_id arrays
>
> This dependent patch simply cosmetic (e.g. replace struct initialization
> with designated initializer) and functionally should make no difference
> before and after.
>
> [ Test plan ]
>
> Install the kernel with the said fix, and run workload on the PCIe storage
> to deplete 32bit DMA address for the given storage. When the PCIe The
> storage start using 64 bit DMA address, content of that storage shouldn't
> be corrupted.
>
> [ Where problems could occur ]
>
> The quirk is AMD-specific. This disables certain enhancement feature on
> PHX/HPT/STX/KRK/STXH platforms. Normal PCIe AtomicOp should not get
> impacted.
>
> Although this is more of a BIOS issue, it's unlikely to get BIOS update
> for all those platforms in the field. So adding a quirk in kernel would
> help mitigate that.
>
> [ Additional Information ]
>
> [1]
> https://lore.kernel.org/linux-ide/20260908190600.226485-1-mario.limonciello@amd.com/
>
> ---
> Note that for Noble it only needs 4fde4482 (mainline) x86/PCI: Disable
> enhanced atomics on AMD NBIO 7.7 and 7.11.
>
> It doesn't need the following:
>
> 1. 6b28e0e7 (linux-next) Revert "ata: ahci: force 32-bit DMA for JMicron
> JMB582/JMB585"
> 2. 21e7b971 (mainline) ata: Use named initializers for pci_device_id arrays
>
> What 1. is reverting is not in 6.8-generic at all, and 2. is the
> dependency for 1., so we don't need these 2 in 6.8.
> ---
>
> Mario Limonciello (1):
> x86/PCI: Disable enhanced atomics on AMD NBIO 7.7 and 7.11
>
> arch/x86/pci/fixup.c | 99 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 99 insertions(+)
>
> --
> 2.43.0
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20261002/ad2ff770/attachment.html>
More information about the kernel-team
mailing list