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 0/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeon se... Pavel Popov
- [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on Intel Xe... Pavel Popov
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on ... Christoph Hellwig
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA... David Laight
- Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA... Leon Romanovsky
- [PATCH v5 2/3] PCI/P2PDMA: Move CONFIG_X86 #ifdef o... Pavel Popov
- Re: [PATCH v5 2/3] PCI/P2PDMA: Move CONFIG_X86 ... Logan Gunthorpe
- [PATCH v5 1/3] asm-generic: Add <asm-generic/cpu... Pavel Popov
- Re: [PATCH v5 1/3] asm-generic: Add <asm-gen... Arnd Bergmann
- Re: [PATCH v5 1/3] asm-generic: Add <asm-gen... Logan Gunthorpe
- Re: [PATCH v5 1/3] asm-generic: Add <asm-gen... Sohil Mehta
- Re: [PATCH v5 1/3] asm-generic: Add <asm-gen... Leon Romanovsky
