diff mbox series

[1/1] UBUNTU: SAUCE: PCI: Enable ACS quirk on another CML root port

Message ID 20201021134522.1726-2-kai.heng.feng@canonical.com
State New
Headers show
Series [1/1] UBUNTU: SAUCE: PCI: Enable ACS quirk on another CML root port | expand

Commit Message

Kai-Heng Feng Oct. 21, 2020, 1:45 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1900847

In addition to KIOXIA NVMe, Intel NVMe under another root port also has
the same ACS violation issue.

So add the same quirk to another root port.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/pci/quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kai-Heng Feng Oct. 22, 2020, 5:30 a.m. UTC | #1
> On Oct 21, 2020, at 21:45, Kai-Heng Feng <kai.heng.feng@canonical.com> wrote:
> 
> BugLink: https://bugs.launchpad.net/bugs/1900847
> 
> In addition to KIOXIA NVMe, Intel NVMe under another root port also has
> the same ACS violation issue.
> 
> So add the same quirk to another root port.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Found a complete root port list from Intel datasheet. Will send a new patch to include all of them.

Kai-Heng

> ---
> drivers/pci/quirks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index ed7b75e6cdd7..cceb7e22d768 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -4664,7 +4664,7 @@ static bool pci_quirk_intel_spt_pch_acs_match(struct pci_dev *dev)
> 		return false;
> 
> 	switch (dev->device) {
> -	case 0x06ac: /* Comet Lake */
> +	case 0x06ac: case 0x06ae: /* Comet Lake */
> 	case 0xa110 ... 0xa11f: case 0xa167 ... 0xa16a: /* Sunrise Point */
> 	case 0xa290 ... 0xa29f: case 0xa2e7 ... 0xa2ee: /* Union Point */
> 	case 0x9d10 ... 0x9d1b: /* 7th & 8th Gen Mobile */
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index ed7b75e6cdd7..cceb7e22d768 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -4664,7 +4664,7 @@  static bool pci_quirk_intel_spt_pch_acs_match(struct pci_dev *dev)
 		return false;
 
 	switch (dev->device) {
-	case 0x06ac: /* Comet Lake */
+	case 0x06ac: case 0x06ae: /* Comet Lake */
 	case 0xa110 ... 0xa11f: case 0xa167 ... 0xa16a: /* Sunrise Point */
 	case 0xa290 ... 0xa29f: case 0xa2e7 ... 0xa2ee: /* Union Point */
 	case 0x9d10 ... 0x9d1b: /* 7th & 8th Gen Mobile */