aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/ts73xx-fpga.c
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2023-01-13 20:13:55 +0300
committerLorenzo Pieralisi <[email protected]>2023-01-27 17:15:33 +0100
commit782536aac16166e85232e20e63596e9d6946dd15 (patch)
tree0ec39e5ce5b52521e859ffa22413b27d62e2c6ee /drivers/fpga/ts73xx-fpga.c
parent345e3a95b2fb469eb62c54f650ffa560ba5ee79a (diff)
dmaengine: dw-edma: Convert debugfs descs to being heap-allocated
Currently DW eDMA debugfs node descriptors are allocated on the stack, which won't work for multi-eDMA platforms. As a preparation to supporting multi-eDMA systems, allocate each debugfs node separately. Afterwards we'll add info like Read/Write channel flag, channel ID, DW eDMA private data reference. Note: this conversion is mainly required due to having the legacy DW eDMA controllers with indirect Read/Write channels context CSRs access. If we didn't need to synchronize access to these registers, the debugfs code of the driver would have been much simpler. Link: https://lore.kernel.org/r/[email protected] Tested-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Acked-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions