mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
PCI/ATS: Cache PRI PRG Response PASID Required bit
The PRG Response PASID Required bit in the PRI Capability is read-only. Read it once when we enumerate the device and cache the value so we don't need to read it again. Based-on-patch-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
@@ -456,6 +456,7 @@ struct pci_dev {
|
||||
#ifdef CONFIG_PCI_PRI
|
||||
u16 pri_cap; /* PRI Capability offset */
|
||||
u32 pri_reqs_alloc; /* Number of PRI requests allocated */
|
||||
unsigned int pasid_required:1; /* PRG Response PASID Required */
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_PASID
|
||||
u16 pasid_cap; /* PASID Capability offset */
|
||||
|
Reference in New Issue
Block a user