[PATCH 0/4] K3: Add Asel support to the DMA driver
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 29 07:14:19 PDT 2025
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 at 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 at pengutronix.de>
More information about the barebox
mailing list