[PATCH] mmc: sdhci: Fix possible Synchronous Abort using PIO mode
Peng Fan (OSS)
peng.fan at oss.nxp.com
Fri Apr 11 05:54:16 CEST 2025
From: Peng Fan <peng.fan at nxp.com>
On Thu, 23 Jan 2025 21:48:48 +0000, Jonas Karlman wrote:
> When MMC_SDHCI_SDMA=y or MMC_SDHCI_ADMA=y and PIO mode is used
> dma_unmap_single() is called on an unmapped address, 0x0. This may
> result in a Synchronous Abort:
>
> ## Checking hash(es) for Image atf-1 ... sha256+ OK
> CMD_SEND:16
> ARG 0x00000200
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:18
> ARG 0x00004005
> "Synchronous Abort" handler, esr 0x96000147
> elr: 00000000400015bc lr : 0000000040012b4c
> x 0: 0000000000008000 x 1: 0000000000092600
> x 2: 0000000000000040 x 3: 000000000000003f
> x 4: 0000000000000030 x 5: 0000000000000001
> x 6: 0000000000000001 x 7: 0000000000000000
> x 8: 000000000000000a x 9: 0000000000000090
> x10: 0000000043dffc68 x11: 0000000043c00440
> x12: 0000000043c00440 x13: ffffffffbfe00000
> x14: 000000000000031c x15: 0000000240000000
> x16: 000000004001145c x17: 0000000000000032
> x18: 0000000043dffef0 x19: 0000000043c00000
> x20: 0000000043dffbc8 x21: 0000000000000000
> x22: 00000000000f3d95 x23: 0000000000000002
> x24: 0000000000000493 x25: 0000000000092600
> x26: 0000000000000001 x27: 0000000000000001
> x28: 0000000000000008 x29: 0000000043dffab0
>
> [...]
Applied, thanks!
[1/1] mmc: sdhci: Fix possible Synchronous Abort using PIO mode
commit: 2057bb4b5160a3668d4785adb6ce0f0d08325c48
Best regards,
--
Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list