Re: [PATCH v8 11/14] s390: Add wrappers around zpci_memcpy/zpci_memset

2024-10-08 Thread Niklas Schnelle
wrappers may not be necessary if you don't have the global prototypes though, right? In this case I think we might want to still align the parameter types as this seems generally cleaner and the internal callers already use size_t anyway. Either way I gave the whole series a quick test on s390x with PCI devices and all looks good. So feel free to add: Acked-by: Niklas Schnelle Tested-by: Niklas Schnelle

Re: [PATCH v7 00/10] Consolidate IO memcpy functions

2024-10-01 Thread Niklas Schnelle
On Mon, 2024-09-30 at 15:23 +0200, Julian Vetter wrote: > Thank you all for your remarks. I have addressed your feedback. I have > also added the full history of the patchset, because it now targets > additional architectures. > > Arnd: Unfortunately when adding the prototypes as 'extern ..' into

[PATCH 0/1] um: Handle HAS_IOPORT dependencies

2024-04-03 Thread Niklas Schnelle
o my first attempt[2]. Thanks, Niklas [0] https://lore.kernel.org/all/20230522105049.1467313-1-schne...@linux.ibm.com/ [1] https://git.kernel.org/pub/scm/linux/kernel/git/niks/linux.git/log/?h=has_ioport_v6 [2] https://lore.kernel.org/lkml/CAHk-=wg80je=k7madf4e7wrrnp37e3qh6y10svhdc7o8sz_...@mail.gmail.c

[PATCH 1/1] um: Select HAS_IOREMAP for UML_IOMEM_EMULATION

2024-04-03 Thread Niklas Schnelle
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. UML supports these via its UML_IOMEM_EMULATION so let that select HAS_IOPORT and also reflect this in NO_IOPORT_MAP. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle

Re: [PATCH v3 01/38] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-03-23 Thread Niklas Schnelle
On Tue, 2023-03-14 at 13:37 +0100, Johannes Berg wrote: > On Tue, 2023-03-14 at 13:11 +0100, Niklas Schnelle wrote: > > --- a/arch/um/Kconfig > > +++ b/arch/um/Kconfig > > @@ -56,6 +56,7 @@ config NO_IOPORT_MAP > > > > config ISA > > bool > > +

Re: [PATCH v3 01/38] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-03-14 Thread Niklas Schnelle
On Tue, 2023-03-14 at 13:11 +0100, Niklas Schnelle wrote: > We introduce a new HAS_IOPORT Kconfig option to indicate support for I/O > Port access. In a future patch HAS_IOPORT=n will disable compilation of > the I/O accessor functions inb()/outb() and friends on architectures > w

Re: [PATCH v3 01/38] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-03-14 Thread Niklas Schnelle
On Tue, 2023-03-14 at 14:29 +0100, Arnd Bergmann wrote: > On Tue, Mar 14, 2023, at 13:11, Niklas Schnelle wrote: > > We introduce a new HAS_IOPORT Kconfig option to indicate support for I/O > > Port access. In a future patch HAS_IOPORT=n will disable compilation of > > the I

[PATCH v3 01/38] Kconfig: introduce HAS_IOPORT option and select it as necessary

2023-03-14 Thread Niklas Schnelle
d-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- arch/alpha/Kconfig | 1 + arch/arm/Kconfig| 1 + arch/arm64/Kconfig | 1 + arch/ia64/Kconfig | 1 + arch/m68k/Kconfig | 1 + arch/microblaze/Kconfig | 1 + arch/mips/Kconfig | 2 ++ arch/parisc/Kconfig |