Skip to contentSkip to conversation

scsi: ufs: ufs-pci: Add AMD device ID support

PATCH Superseded Rajeshkumar Sambandham 2 participants 3 messages Jun 1 – Jun 2 SCSI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: ufs: ufs-pci: Add AMD device ID support

Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.

---
 drivers/ufs/host/ufshcd-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
index 5f65dfad1a71..9ad42e07a94a 100644
@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VENDOR_ID_REDHAT, 0x0013, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 		(kernel_ulong_t)&ufs_qemu_hba_vops },
 	{ PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
Signature · 1 line
2.34.1
#1 lore raw
Quoted 3 lines · Rajeshkumar Sambandham

Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.

Does not apply anymore since "scsi: ufs: ufshcd-pci: Use PCI_VDEVICE and named initializers for pci array"

Quoted 16 lines
---
 drivers/ufs/host/ufshcd-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
index 5f65dfad1a71..9ad42e07a94a 100644
@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VENDOR_ID_REDHAT, 0x0013, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 		(kernel_ulong_t)&ufs_qemu_hba_vops },
 	{ PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
#2 lore raw
Quoted 6 lines · Adrian Hunter
Quoted 3 lines · Rajeshkumar Sambandham

Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.

Does not apply anymore since "scsi: ufs: ufshcd-pci: Use PCI_VDEVICE and named initializers for pci array"

Ack, I will update the patch accordingly and send v2.

Quoted 17 lines
Quoted 17 lines
---
  drivers/ufs/host/ufshcd-pci.c | 1 +
  1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
index 5f65dfad1a71..9ad42e07a94a 100644
@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
  	{ PCI_VENDOR_ID_REDHAT, 0x0013, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  		(kernel_ulong_t)&ufs_qemu_hba_vops },
  	{ PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops },
  	{ PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
  	{ PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },