Searched hist:"0 ebcf1a274c5467c8ed55d0e01db4b414fe4518d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/dma/ti/ |
H A D | k3-udma-glue.c | diff 0ebcf1a274c5467c8ed55d0e01db4b414fe4518d Tue Feb 18 08:31:26 CST 2020 Peter Ujfalusi <peter.ujfalusi@ti.com> dmaengine: ti: k3-udma: Implement support for atype (for virtualization)
The DT for virtualized hosts have dma-cells == 2 where the second parameter is the ATYPE for the channel.
In case of dma-cells == 1 we can configure the ATYPE as 0 (reset value).
The ATYPE defined for j721e are: 0: pointers are physical addresses (no translation) 1: pointers are intermediate addresses (PVU) 2: pointers are virtual addresses (SMMU)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20200218143126.11361-3-peter.ujfalusi@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
|
H A D | k3-udma.c | diff 0ebcf1a274c5467c8ed55d0e01db4b414fe4518d Tue Feb 18 08:31:26 CST 2020 Peter Ujfalusi <peter.ujfalusi@ti.com> dmaengine: ti: k3-udma: Implement support for atype (for virtualization)
The DT for virtualized hosts have dma-cells == 2 where the second parameter is the ATYPE for the channel.
In case of dma-cells == 1 we can configure the ATYPE as 0 (reset value).
The ATYPE defined for j721e are: 0: pointers are physical addresses (no translation) 1: pointers are intermediate addresses (PVU) 2: pointers are virtual addresses (SMMU)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20200218143126.11361-3-peter.ujfalusi@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
|