PCI: Apply Cavium ACS quirk only to CN81xx/CN83xx/CN88xx devices
authorManish Jaggi <mjaggi@caviumnetworks.com>
Thu, 30 Mar 2017 23:47:14 +0000 (18:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:45 +0000 (09:17 +0100)
commitaad6ccac0e4fddcfd1b04a2cbd95b550c59da23e
treef5808411eba502971a55672c23990b72467edd14
parent8c989a6803e4e235cd50d789a7ebe6fad10f747d
PCI: Apply Cavium ACS quirk only to CN81xx/CN83xx/CN88xx devices

[ Upstream commit b77d537d00d08fcf0bf641cd3491dd7df0ad1475 ]

Only apply the Cavium ACS quirk to devices with ID in the range
0xa000-0xa0ff.  These are the on-chip PCI devices for CN81xx/CN83xx/CN88xx.

Fixes: b404bcfbf035 ("PCI: Add ACS quirk for all Cavium devices")
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Manish Jaggi <mjaggi@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c