mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] K3: Add Asel support to the DMA driver
@ 2025-04-29 14:14 Sascha Hauer
  2025-04-29 14:14 ` [PATCH 1/4] ti/k3-navss-ringacc: switch to Linux code base Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2025-04-29 14:14 UTC (permalink / raw)
  To: open list:BAREBOX

This adds Asel aka "Address select" handling to the K3 DMA driver.

Asel is a four bit field that has to be put in bits 48-51 of the DMA
addresses. This is needed once the DDR firewalls are enabled.

The DDR firewalls are needed to protect the OP-TEE memory from accesses
from the normal world. One would assume that upstream OP-TEE does this
by default, but apparently it doesn't and once they are enabled ethernet
in barebox stops working. This series fixes networking in barebox with
DDR firewalls enabled.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (4):
      ti/k3-navss-ringacc: switch to Linux code base
      firmware: ti_sci: pass struct to ti_sci_rm_ringacc_ops::config
      firmware: ti_sci: handle Asel
      dma: k3-udma: Handle Asel

 drivers/dma/ti/k3-udma.c          |  125 ++--
 drivers/firmware/ti_sci.c         |   29 +-
 drivers/firmware/ti_sci.h         |    5 +
 drivers/soc/ti/k3-navss-ringacc.c | 1326 ++++++++++++++++++++++++-------------
 include/soc/ti/k3-navss-ringacc.h |  211 +++---
 include/soc/ti/ti_sci_protocol.h  |   34 +-
 6 files changed, 1088 insertions(+), 642 deletions(-)
---
base-commit: fe58b1f7d24ea2171d0761a26f2b5a74e61322e4
change-id: 20250429-k3-asel-c5bf1e14c267

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-29 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-29 14:14 [PATCH 0/4] K3: Add Asel support to the DMA driver Sascha Hauer
2025-04-29 14:14 ` [PATCH 1/4] ti/k3-navss-ringacc: switch to Linux code base Sascha Hauer
2025-04-29 14:14 ` [PATCH 2/4] firmware: ti_sci: pass struct to ti_sci_rm_ringacc_ops::config Sascha Hauer
2025-04-29 14:14 ` [PATCH 3/4] firmware: ti_sci: handle Asel Sascha Hauer
2025-04-29 14:14 ` [PATCH 4/4] dma: k3-udma: Handle Asel Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox