Skip to contentSkip to conversation

PCI: Add SolidRun vendor ID

PATCH Superseded Alvaro Karsz 2 participants 5 messages Jan 9, 2023 – Jan 10, 2023

Subsystems (2)

v8 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

PATCH v8 1/3 PCI: Add SolidRun vendor ID

Add SolidRun vendor ID to pci_ids.h

The vendor ID is used in 2 different source files, the SNET vDPA driver and PCI quirks.

---
 include/linux/pci_ids.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/pci_ids.h +2 -0
index b362d90eb9b..9a3102e61db 100644
@@ -3092,6 +3092,8 @@
 
 #define PCI_VENDOR_ID_3COM_2		0xa727
 
+#define PCI_VENDOR_ID_SOLIDRUN          0xd063
+
 #define PCI_VENDOR_ID_DIGIUM		0xd161
 #define PCI_DEVICE_ID_DIGIUM_HFC4S	0xb410
 

--
2.32.0

#1 lore raw
Quoted 4 lines · Alvaro Karsz

Add SolidRun vendor ID to pci_ids.h

The vendor ID is used in 2 different source files, the SNET vDPA driver and PCI quirks.

Nits: wrap to fill 75 columns.

Quoted 11 lines
---
 include/linux/pci_ids.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/pci_ids.h +0 -0
index b362d90eb9b..9a3102e61db 100644

include/linux/pci_ids.h line 3095

Quoted 4 lines
include/linux/pci_ids.h +1 -0
@@ -3092,6 +3092,8 @@
 
 #define PCI_VENDOR_ID_3COM_2		0xa727
 
+#define PCI_VENDOR_ID_SOLIDRUN          0xd063

This should be indented with tabs instead of spaces so it matches the rest of the file.

It's helpful if you can send the patches in a series so the individual patches are replies to the cover letter. That makes tools and archives work better:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v6.1#n342
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

#2 lore raw

Thanks Bjorn.

Quoted 2 lines

This should be indented with tabs instead of spaces so it matches the rest of the file.

Michael, sorry about all the versions..
Do you want me to fix it in a new version?
I could fix it with a patch directly to the pci maintainers after your linux-next is merged, if this is ok with everyone.

Quoted 5 lines

It's helpful if you can send the patches in a series so the individual patches are replies to the cover letter. That makes tools and archives work better:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v6.1#n342

Yes, I fixed it in the next version:
https://lists.linuxfoundation.org/pipermail/virtualization/2023-January/064190.html

Alvaro

#3 lore raw
Quoted 7 lines · Alvaro Karsz
Quoted 2 lines

This should be indented with tabs instead of spaces so it matches the rest of the file.

Michael, sorry about all the versions..
Do you want me to fix it in a new version?
I could fix it with a patch directly to the pci maintainers after your linux-next is merged, if this is ok with everyone.

It's not worth merging this patch and then adding another patch on top just to convert spaces to tabs.

Quoted 8 lines
Quoted 5 lines

It's helpful if you can send the patches in a series so the individual patches are replies to the cover letter. That makes tools and archives work better:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v6.1#n342

Yes, I fixed it in the next version:
https://lists.linuxfoundation.org/pipermail/virtualization/2023-January/064190.html

It doesn't look fixed to me. The "lore" archive is better than pipermail, and the cover letter doesn't show any replies:
https://lore.kernel.org/linux-pci/[email protected]/

If you look at https://lore.kernel.org/linux-pci/, you'll see the typical thread structure with patches nested under the cover letter. The patches have "In-Reply-To" headers that reference the cover letter.

Bjorn
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization