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

2023-05-06 Thread Guo Ren
On Fri, May 5, 2023 at 9:19 PM Arnd Bergmann wrote: > > On Fri, May 5, 2023, at 07:47, Guo Ren wrote: > > On Mon, Mar 27, 2023 at 8:15 PM Arnd Bergmann wrote: > > >> > >> riscv also invalidates the caches before the transfer, which does > >> not appear to serve any purpose. > > Yes, we can't guar

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

2023-05-06 Thread Arnd Bergmann
On Sat, May 6, 2023, at 09:25, Guo Ren wrote: > On Fri, May 5, 2023 at 9:19 PM Arnd Bergmann wrote: >> >> This is something we can consider. Unfortunately, this is something >> that no architecture (except pa-risc, which has other problems) >> does at the moment, so we'd probably need to have a pr

Re: [PATCH v2 1/1] PCI: layerscape: Add the endpoint linkup notifier support

2023-05-06 Thread Manivannan Sadhasivam
On Mon, May 01, 2023 at 10:48:06AM -0400, Frank Li wrote: > Layerscape has PME interrupt, which can be used as linkup notifier. > Set CFG_READY bit when linkup detected. Where are you setting this bit? > > Signed-off-by: Xiaowei Bao > Signed-off-by: Frank Li > --- > Change from v1 to v2 > - pm

Re: [PATCH v2 30/34] sh: Convert pte_free_tlb() to use ptdescs

2023-05-06 Thread John Paul Adrian Glaubitz
Hi Vishal! On Mon, 2023-05-01 at 12:28 -0700, Vishal Moola (Oracle) wrote: > Part of the conversions to replace pgtable constructor/destructors with > ptdesc equivalents. Also cleans up some spacing issues. > > Signed-off-by: Vishal Moola (Oracle) > --- > arch/sh/include/asm/pgalloc.h | 9 +