Re: [PATCH v4 20/24] PCI: Add macros for legacy I/O and memory address space sizes

Krzysztof WilczyƄski <[email protected]> Fri, 17 Apr 2026 19:46:58 +0900
Newsgroups org.kernel.vger.linux-alpha,org.kernel.vger.linux-pci,org.ozlabs.lists.linuxppc-dev
Message-ID <20260417104658.GA1625998@rocinante>
Hello,

> > +/* PCI legacy I/O port and memory address space sizes. */
> > +#define PCI_LEGACY_IO_SIZE	(SZ_64K - 1)
> > +#define PCI_LEGACY_MEM_SIZE	SZ_1M
> > +
> >  extern unsigned int pci_flags;
> >  
> >  static inline void pci_set_flags(int flags) { pci_flags = flags; }
> > 
> 
> Shouldn't this also convert the use in pci-sysfs.c (which you now mixed 
> into the static attrs conversion patch)?

I took care of this in v5.

Thank you!

	Krzysztof