Re: [PATCH 14/26] asm-generic: don't provide __ioremap

2019-08-17 Thread Paul Walmsley
On Sat, 17 Aug 2019, Christoph Hellwig wrote: > __ioremap is not a kernel API, but used for helpers with differing > semantics in arch code. We should not provide it in as-generic. > > Signed-off-by: Christoph Hellwig Reviewed-by: Paul Walmsley Tested-by: Paul Walmsley # rv3

Re: [PATCH 15/26] asm-generic: ioremap_uc should behave the same with and without MMU

2019-08-17 Thread Paul Walmsley
implement it unless they have a very good > + * reason. > + */ Looks like this mess is only needed on x86 with certain graphics drivers and conflicts between MTRR and page table-based MMU attributes. Reviewed-by: Paul Walmsley Tested-by: Paul Walmsley # rv32, rv64 boot - Paul

Re: [PATCH 17/26] arch: rely on asm-generic/io.h for default ioremap_* definitions

2019-08-17 Thread Paul Walmsley
asm-generic/io.h instead. For this to work > the backup ioremap_* defintions needs to be changed to purely cpp > macros instea of inlines to cover for architectures like openrisc > that only define ioremap after including . > > Signed-off-by: Christoph Hellwig Reviewed-by: Pau

Re: [PATCH 16/26] asm-generic: don't provide ioremap for CONFIG_MMU

2019-08-17 Thread Paul Walmsley
On Sat, 17 Aug 2019, Christoph Hellwig wrote: > All MMU-enabled ports have a non-trivial ioremap and should thus provide > the prototype for their implementation instead of providing a generic > one unless a different symbol is not defined. Note that this only > affects sparc32 nds32 as all other

Re: [PATCH 24/26] riscv: use the generic ioremap code

2019-08-17 Thread Paul Walmsley
ete mode 100644 arch/riscv/mm/ioremap.c Reviewed-by: Paul Walmsley Tested-by: Paul Walmsley # rv32, rv64 boot Acked-by: Paul Walmsley # arch/riscv - Paul

Re: [PATCH 14/26] asm-generic: don't provide __ioremap

2019-08-17 Thread Paul Walmsley
On Sat, 17 Aug 2019, Paul Walmsley wrote: > Acked-by: Paul Walmsley # arch/riscv This ack is superfluous since the patch doesn't touch arch/riscv; feel free to drop it - Paul

Re: [PATCH 18/21] riscv: use the generic ioremap code

2019-10-17 Thread Paul Walmsley
On Thu, 17 Oct 2019, Christoph Hellwig wrote: > Use the generic ioremap code instead of providing a local version. > Note that this relies on the asm-generic no-op definition of > pgprot_noncached. > > Signed-off-by: Christoph Hellwig According to the series introduction E-mail: https://lore.k

Re: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Paul Walmsley
.h > generic-y += preempt.h > generic-y += sections.h Acked-by: Paul Walmsley # arch/riscv Tested-by: Paul Walmsley # build only, rv32/rv64 Thanks MichaƂ, - Paul___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc