Re: [PATCH 08/21] riscv: dma-mapping: only invalidate after DMA, not flush

2023-03-30 Thread Lad, Prabhakar
line in the buffer has > actually been written by the CPU, there is a drive bug that is likely > made worse by overwriting that buffer. > > Signed-off-by: Arnd Bergmann > --- > arch/riscv/mm/dma-noncoherent.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Revi

Re: [PATCH 09/21] riscv: dma-mapping: skip invalidation before bidirectional DMA

2023-03-30 Thread Lad, Prabhakar
device. > > riscv also invalidates the caches before the transfer, which does > not appear to serve any purpose. > > Signed-off-by: Arnd Bergmann > --- > arch/riscv/mm/dma-noncoherent.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Lad Prabhakar

Re: [PATCH 21/21] dma-mapping: replace custom code with generic implementation

2023-03-30 Thread Lad, Prabhakar
gt; arch/sparc/kernel/ioport.c| 38 --- > arch/xtensa/kernel/pci-dma.c | 40 ++- > include/linux/dma-sync.h | 107 ++++++++++ > 19 files changed, 527 insertions(+), 391 deletions(-) > create mode 100644 include/l

Re: [PATCH 00/21] dma-mapping: unify support for cache flushes

2023-05-25 Thread Lad, Prabhakar
, 699 deletions(-) > delete mode 100644 arch/arm/mach-oxnas/headsmp.S > delete mode 100644 arch/arm/mach-oxnas/platsmp.c > create mode 100644 include/linux/dma-sync.h > > -- > 2.39.2 > > Cc: Vineet Gupta > Cc: Russell King > Cc: Neil Armstrong > Cc: Linu

[PATCH 10/10] serial: pmac_zilog: Use platform_get_irq() to get the interrupt

2021-12-24 Thread Lad Prabhakar
ining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Signed-off-by: Lad Prabhakar --- drivers/tty/serial/pmac_zilog.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/