public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
@ 2023-06-13 17:03 Adrian Hunter
  2023-06-13 18:22 ` Bart Van Assche
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Adrian Hunter @ 2023-06-13 17:03 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: James E . J . Bottomley, Bart Van Assche, Avri Altman, Bean Huo,
	linux-scsi

Add PCI ID to support Intel Arrow Lake, same as MTL.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/ufs/host/ufshcd-pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ufs/host/ufshcd-pci.c b/drivers/ufs/host/ufshcd-pci.c
index 38276dac8e52..cf3987773051 100644
--- a/drivers/ufs/host/ufshcd-pci.c
+++ b/drivers/ufs/host/ufshcd-pci.c
@@ -599,6 +599,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x54FF), (kernel_ulong_t)&ufs_intel_adl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x7E47), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0xA847), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
+	{ PCI_VDEVICE(INTEL, 0x7747), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ }	/* terminate list */
 };
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
  2023-06-13 17:03 [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake Adrian Hunter
@ 2023-06-13 18:22 ` Bart Van Assche
  2023-06-14  4:54   ` Adrian Hunter
  2023-06-15  1:55 ` Martin K. Petersen
  2023-06-22  1:26 ` Martin K. Petersen
  2 siblings, 1 reply; 6+ messages in thread
From: Bart Van Assche @ 2023-06-13 18:22 UTC (permalink / raw)
  To: Adrian Hunter, Martin K . Petersen
  Cc: James E . J . Bottomley, Avri Altman, Bean Huo, linux-scsi

On 6/13/23 10:03, Adrian Hunter wrote:
> Add PCI ID to support Intel Arrow Lake, same as MTL.

The patch looks good to me but the "same as MTL" text in the patch 
description looks confusing to me?

Thanks,

Bart.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
  2023-06-13 18:22 ` Bart Van Assche
@ 2023-06-14  4:54   ` Adrian Hunter
  2023-06-14 18:40     ` Bart Van Assche
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Hunter @ 2023-06-14  4:54 UTC (permalink / raw)
  To: Bart Van Assche, Martin K . Petersen
  Cc: James E . J . Bottomley, Avri Altman, Bean Huo, linux-scsi

On 13/06/23 21:22, Bart Van Assche wrote:
> On 6/13/23 10:03, Adrian Hunter wrote:
>> Add PCI ID to support Intel Arrow Lake, same as MTL.
> 
> The patch looks good to me but the "same as MTL" text in the patch description looks confusing to me?

The code change is using the same driver data as MTL:

diff --git a/drivers/ufs/host/ufshcd-pci.c b/drivers/ufs/host/ufshcd-pci.c
index 38276dac8e52..cf3987773051 100644
--- a/drivers/ufs/host/ufshcd-pci.c
+++ b/drivers/ufs/host/ufshcd-pci.c
@@ -599,6 +599,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x54FF), (kernel_ulong_t)&ufs_intel_adl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x7E47), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0xA847), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
+	{ PCI_VDEVICE(INTEL, 0x7747), (kernel_ulong_t)&ufs_intel_mtl_hba_vops },	<--- here
 	{ }	/* terminate list */
 };
 
MTL is Meteor Lake.  The abbreviation is not unheard of in
commit messages. A web search for Intel MTL brings up the answer.

And there is this earlier patch to the same code:

commit 4049f7acef3eb37c1ea0df45f3ffc29404f4e708
Author: Adrian Hunter <adrian.hunter@intel.com>
Date:   Mon Apr 4 08:50:38 2022 +0300

    scsi: ufs: ufs-pci: Add support for Intel MTL
    
    Add PCI ID and callbacks to support Intel Meteor Lake (MTL).
    
    Link: https://lore.kernel.org/r/20220404055038.2208051-1-adrian.hunter@intel.com
    Cc: stable@vger.kernel.org # v5.15+
    Reviewed-by: Avri Altman <avri.altman@wdc.com>
    Reviewed-by: Bart Van Assche <bvanassche@acm.org>
    Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
  2023-06-14  4:54   ` Adrian Hunter
@ 2023-06-14 18:40     ` Bart Van Assche
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Van Assche @ 2023-06-14 18:40 UTC (permalink / raw)
  To: Adrian Hunter, Martin K . Petersen
  Cc: James E . J . Bottomley, Avri Altman, Bean Huo, linux-scsi

On 6/13/23 21:54, Adrian Hunter wrote:
> On 13/06/23 21:22, Bart Van Assche wrote:
>> On 6/13/23 10:03, Adrian Hunter wrote:
>>> Add PCI ID to support Intel Arrow Lake, same as MTL.
>>
>> The patch looks good to me but the "same as MTL" text in the patch description looks confusing to me?
> 
> The code change is using the same driver data as MTL: [ ... ]

Information about whether only the MTL code is reused or whether the UFS 
controller is identical to the MTL UFS controller would be welcome. 
Anyway, feel free to add:

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
  2023-06-13 17:03 [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake Adrian Hunter
  2023-06-13 18:22 ` Bart Van Assche
@ 2023-06-15  1:55 ` Martin K. Petersen
  2023-06-22  1:26 ` Martin K. Petersen
  2 siblings, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2023-06-15  1:55 UTC (permalink / raw)
  To: Adrian Hunter
  Cc: Martin K . Petersen, James E . J . Bottomley, Bart Van Assche,
	Avri Altman, Bean Huo, linux-scsi


Adrian,

> Add PCI ID to support Intel Arrow Lake, same as MTL.

Applied to 6.5/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
  2023-06-13 17:03 [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake Adrian Hunter
  2023-06-13 18:22 ` Bart Van Assche
  2023-06-15  1:55 ` Martin K. Petersen
@ 2023-06-22  1:26 ` Martin K. Petersen
  2 siblings, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2023-06-22  1:26 UTC (permalink / raw)
  To: Adrian Hunter
  Cc: Martin K . Petersen, James E . J . Bottomley, Bart Van Assche,
	Avri Altman, Bean Huo, linux-scsi

On Tue, 13 Jun 2023 20:03:27 +0300, Adrian Hunter wrote:

> Add PCI ID to support Intel Arrow Lake, same as MTL.
> 
> 

Applied to 6.5/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
      https://git.kernel.org/mkp/scsi/c/51031cc3f903

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-22  1:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-13 17:03 [PATCH] scsi: ufs: ufs-pci: Add support for Intel Arrow Lake Adrian Hunter
2023-06-13 18:22 ` Bart Van Assche
2023-06-14  4:54   ` Adrian Hunter
2023-06-14 18:40     ` Bart Van Assche
2023-06-15  1:55 ` Martin K. Petersen
2023-06-22  1:26 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox