linux/drivers/soc/ti
Peter Ujfalusi 8c42379e40 soc: ti: k3-ringacc: Use correct device for allocation in RING mode
In RING mode the ringacc does not access the ring memory. In this access
mode the ringacc coherency does not have meaning.

If the ring is configured in RING mode, then the ringacc itself will not
access to the ring memory. Only the requester (user) of the ring is going
to read/write to the memory.
Extend the ring configuration parameters with a device pointer to be used
for DMA API when the ring is configured in RING mode.

Extending the ring configuration struct will allow per ring selection of
device to be used for allocation, thus allowing per ring coherency.

To avoid regression, fall back to use the ringacc dev in case the alloc_dev
is not provided.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
2020-11-01 19:38:05 -08:00
..
k3-ringacc.c soc: ti: k3-ringacc: Use correct device for allocation in RING mode 2020-11-01 19:38:05 -08:00
k3-socinfo.c soc: ti: k3-socinfo: Add entry for J7200 2020-09-11 21:47:39 -07:00
Kconfig soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM65x SoCs 2020-09-11 21:43:36 -07:00
knav_dma.c soc: ti: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-20 19:30:30 -07:00
knav_qmss_acc.c soc: TI knav_qmss: make symbol 'knav_acc_range_ops' static 2020-07-24 14:47:10 -07:00
knav_qmss_queue.c soc: ti: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-20 19:30:30 -07:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
omap_prm.c soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain 2020-08-18 10:40:03 +03:00
pm33xx.c soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data 2020-08-24 08:38:32 +03:00
pruss.c soc: ti: pruss: support CORECLK_MUX and IEPCLK_MUX 2020-09-11 21:47:10 -07:00
smartreflex.c PM: AVS: smartreflex Move driver to soc specific drivers 2020-10-16 18:28:43 +02:00
ti_sci_inta_msi.c soc: ti: ti_sci_inta_msi: Add support for second range in resource ranges 2020-11-01 19:38:00 -08:00
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: switch to use multiple genpds instead of one 2020-09-11 21:47:08 -07:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Fix race condition with rproc_boot 2019-12-17 15:18:36 -08:00