On 2026-11-11 5:44 p.m., Pavel Popov wrote: > <asm/cpu_device_id.h> exists only on x86, so generic code that > matches on x86 CPU models has to wrap the include in #ifdef > CONFIG_X86. > > Add an empty generic version, so the header can be included > unconditionally. The CPU match tables themselves still need > CONFIG_X86 for the model defines. > > Suggested-by: Leon Romanovsky <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > Signed-off-by: Pavel Popov <[email protected]> That's simpler than I thought and seems good to me: Reviewed-by: Logan Gunthorpe <[email protected]>
- [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeon se... Pavel Popov
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on Inte... Christoph Hellwig
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on ... David Laight
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on ... Leon Romanovsky
- RE: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on ... Popov, Pavel E
- [PATCH v5 2/3] PCI/P2PDMA: Move CONFIG_X86 #ifdef out of... Pavel Popov
- Re: [PATCH v5 2/3] PCI/P2PDMA: Move CONFIG_X86 #ifd... Logan Gunthorpe
- Re: [PATCH v5 2/3] PCI/P2PDMA: Move CONFIG_X86 #ifd... Leon Romanovsky
- [PATCH v5 1/3] asm-generic: Add <asm-generic/cpu_devi... Pavel Popov
- Re: [PATCH v5 1/3] asm-generic: Add <asm-generic... Arnd Bergmann
- Re: [PATCH v5 1/3] asm-generic: Add <asm-generic... Logan Gunthorpe
- Re: [PATCH v5 1/3] asm-generic: Add <asm-generic... Sohil Mehta
- Re: [PATCH v5 1/3] asm-generic: Add <asm-generic... Leon Romanovsky
- Re: [PATCH v5 0/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeo... Popov, Pavel E
- Re: [PATCH v5 0/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeo... Bjorn Helgaas
