Skip to content

Commit 1f37ab3

Browse files
pelwellpopcornmix
authored andcommitted
Partially revert "ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585"
This partially reverts commit 105c425. Between [1] and this partial reversion, all users of the JMB582/JMB585 on Raspberry Pi 5 have been forced to use the pcie-32bit-dma overlay. The reasoning behind the patch is either inherently flawed or does not apply on a Pi 5, since all inbound memory accesses are by default above 4GB and yet seem to work. See: #7355 https://forums.raspberrypi.com/viewtopic.php?p=2374573&sid=a9d90a55d42694d4f24bf03946e44a4f#p2374573 Signed-off-by: Phil Elwell <phil@raspberrypi.com> [1] commit 105c425 ("ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585")
1 parent fbcd5a1 commit 1f37ab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/ata/ahci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static const struct ata_port_info ahci_port_info[] = {
216216
/* JMicron JMB582/585: 64-bit DMA is broken, force 32-bit */
217217
[board_ahci_jmb585] = {
218218
AHCI_HFLAGS (AHCI_HFLAG_IGN_IRQ_IF_ERR |
219-
AHCI_HFLAG_32BIT_ONLY),
219+
0*AHCI_HFLAG_32BIT_ONLY),
220220
.flags = AHCI_FLAG_COMMON,
221221
.pio_mask = ATA_PIO4,
222222
.udma_mask = ATA_UDMA6,

0 commit comments

Comments
 (0)