Re: [Spice-devel] [PATCH v4 07/41] drm: handle HAS_IOPORT dependencies

2023-05-17 Thread Arnd Bergmann
resume. Let's just skip this as >> for example s390 which doesn't have I/O port support also doesen't >> support suspend/resume. >> >> Co-developed-by: Arnd Bergmann >> Signed-off-by: Arnd Bergmann >> Signed-off-by: Niklas Schnelle >>

Re: [Spice-devel] [PATCH v5 09/44] drm: handle HAS_IOPORT dependencies

2023-05-24 Thread Arnd Bergmann
On Mon, May 22, 2023, at 14:38, Thomas Zimmermann wrote: > Am 22.05.23 um 12:50 schrieb Niklas Schnelle: >> There is also a direct and hard coded use in cirrus.c which according to >> the comment is only necessary during resume. Let's just skip this as >> for example s390 which doesn't have I/O p

Re: [PATCH v6 0/5] treewide: Remove I/O port accessors for HAS_IOPORT=n

2024-10-07 Thread Arnd Bergmann
On Mon, Oct 7, 2024, at 11:40, Niklas Schnelle wrote: > Hi All, > > This is a follow up in my long running effort of making inb()/outb() and > similar I/O port accessors compile-time optional. After initially > sending this as a treewide series with the latest revision at[0] > we switched to per su

Re: [PATCH v6 3/5] drm: handle HAS_IOPORT dependencies

2024-10-07 Thread Arnd Bergmann
On Mon, Oct 7, 2024, at 14:39, Lucas De Marchi wrote: > as an example: > $ git grep -lw outb -- drivers/gpu/drm/ > drivers/gpu/drm/gma500/cdv_device.c > drivers/gpu/drm/i915/display/intel_vga.c > drivers/gpu/drm/qxl/qxl_cmd.c > drivers/gpu/drm/qxl/qxl_irq.c > drivers/gpu/drm/tiny/bochs.c > drivers/

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-27 Thread Arnd Bergmann
On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: > Am 08.10.24 um 14:39 schrieb Niklas Schnelle: d 100644 >> --- a/drivers/gpu/drm/qxl/Kconfig >> +++ b/drivers/gpu/drm/qxl/Kconfig >> @@ -2,6 +2,7 @@ >> config DRM_QXL >> tristate "QXL virtual GPU" >> depends on DRM && PCI && MMU

Re: [PATCH v8 3/5] drm: handle HAS_IOPORT dependencies

2024-10-27 Thread Arnd Bergmann
On Mon, Oct 21, 2024, at 10:58, Thomas Zimmermann wrote: > Am 21.10.24 um 12:08 schrieb Arnd Bergmann: >> On Mon, Oct 21, 2024, at 07:52, Thomas Zimmermann wrote: >> --- a/drivers/gpu/drm/tiny/bochs.c >> +++ b/drivers/gpu/drm/tiny/bochs.c >> @@ -112,14 +112,12 @@ s

Re: [PATCH v9 0/5] treewide: Remove I/O port accessors for HAS_IOPORT=n

2024-10-27 Thread Arnd Bergmann
On Thu, Oct 24, 2024, at 17:54, Niklas Schnelle wrote: > Hi All, > > This is a follow up in my long running effort of making inb()/outb() and > similar I/O port accessors compile-time optional. After initially > sending this as a treewide series with the latest revision at[0] > we switched to per s

[RFC] PCI: add CONFIG_MMU dependency

2025-04-07 Thread Arnd Bergmann
From: Arnd Bergmann It turns out that there are no platforms that have PCI but don't have an MMU, so adding a Kconfig dependency on CONFIG_PCI simplifies build testing kernels for those platforms a lot, and avoids a lot of inadvertent build regressions. Add a dependency for CONFIG_PC

Re: [RFC] PCI: add CONFIG_MMU dependency

2025-04-08 Thread Arnd Bergmann
On Tue, Apr 8, 2025, at 12:22, Geert Uytterhoeven wrote: > On Mon, 7 Apr 2025 at 12:40, Arnd Bergmann wrote: > >> --- a/drivers/pci/Kconfig >> +++ b/drivers/pci/Kconfig >> @@ -21,6 +21,7 @@ config GENERIC_PCI_IOMAP >> menuconfig PCI >> bool "PC