Skip to contentSkip to conversation

Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64

DISCUSSION Tom Rini 2 participants 3 messages Dec 30, 2024 – Dec 31, 2024

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey all,

As part of testing the SPI fixes, I tracked down a problem on my AM64X SR1.0 GP to the above series. With the series applied, I get:
=> sf probe
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288, sci-dev-id:30
ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled ............................... (never ends).

With the series reverted:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

Signature · 1 line
Tom
#1 lore raw

Hi, Tom,

Quoted 14 lines · Tom Rini

Hey all,

As part of testing the SPI fixes, I tracked down a problem on my AM64X SR1.0 GP to the above series. With the series applied, I get:
=> sf probe
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288, sci-dev-id:30
ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled ............................... (never ends).

Quoted 7 lines

With the series reverted:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

A fix for this issue has already been provided (not merged yet).

Patch: https://lore.kernel.org/u-boot/[email protected]/

With this fix:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

Regards,
Santhosh.

Quoted 1 line
author
#2 lore raw
Quoted 30 lines · Santhosh Kumar K

Hi, Tom,

Quoted 14 lines · Tom Rini

Hey all,

As part of testing the SPI fixes, I tracked down a problem on my AM64X SR1.0 GP to the above series. With the series applied, I get:
=> sf probe
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288, sci-dev-id:30
ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled ............................... (never ends).

Quoted 7 lines

With the series reverted:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB => sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

A fix for this issue has already been provided (not merged yet).

Patch:
https://lore.kernel.org/u-boot/[email protected]/

Quoted 9 lines

With this fix:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

Thanks. And that is the kind of change you can remind me I've missed :)

Signature · 1 line
Tom