Home
last modified time | relevance | path

Searched hist:ffd9a1ba9fdb7f2bd1d1ad9b9243d34e96756ba2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mach-rpc/
H A Ddma.cdiff ffd9a1ba9fdb7f2bd1d1ad9b9243d34e96756ba2 Thu May 02 11:19:18 CDT 2019 Russell King <rmk+kernel@armlinux.org.uk> ARM: riscpc: fix DMA

DMA got broken a while back in two different ways:
1) a change in the behaviour of disable_irq() to wait for the interrupt
to finish executing causes us to deadlock at the end of DMA.
2) a change to avoid modifying the scatterlist left the first transfer
uninitialised.

DMA is only used with expansion cards, so has gone unnoticed.

Fixes: fa4e99899932 ("[ARM] dma: RiscPC: don't modify DMA SG entries")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>