Re: [PATCH v4 01/25] PCI: Add SNIA SDXI accelerator sub-class
From: Frank Li
Date: Thu Nov 05 2026 - 13:16:07 EST
On Tue, Nov 03, 2026 at 08:49:42PM -0600, Nathan Lynch via B4 Relay wrote:
> From: Nathan Lynch <nathan.lynch@xxxxxxx>
>
> Make the class code for SNIA Smart Data Accelerator Interface (SDXI)
> functions available to both C and Rust code.
>
> See PCI Code and ID Assignment spec r1.14, sec 1.19.
>
> Co-developed-by: Wei Huang <wei.huang2@xxxxxxx>
> Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>
> Signed-off-by: Nathan Lynch <nathan.lynch@xxxxxxx>
> ---
> include/linux/pci_ids.h | 1 +
> rust/kernel/pci/id.rs | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 030c86dd6d67..dcb26f52b5a1 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -154,6 +154,7 @@
>
> #define PCI_BASE_CLASS_ACCELERATOR 0x12
> #define PCI_CLASS_ACCELERATOR_PROCESSING 0x1200
> +#define PCI_CLASS_ACCELERATOR_SDXI 0x120100
Does it use for differecne drivers? I remember PCI maintainer require
Only add new item when more than one driver use it.
Frank