mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
Merge branch 'pci/iommu'
- Add PCI_BRIDGE_NO_ALIAS quirk for ASPEED AST1150, where VGA and USB are behind a PCIe-to-PCI bridge and share the same StreamID (Nirmoy Das) * pci/iommu: PCI: Add PCI_BRIDGE_NO_ALIAS quirk for ASPEED AST1150 PCI: Add ASPEED vendor ID to pci_ids.h
This commit is contained in:
commit
a89fdcb98a
|
|
@ -4463,6 +4463,16 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_BROADCOM, 0x9000,
|
|||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_BROADCOM, 0x9084,
|
||||
quirk_bridge_cavm_thrx2_pcie_root);
|
||||
|
||||
/*
|
||||
* AST1150 doesn't use a real PCI bus and always forwards the requester ID
|
||||
* from downstream devices.
|
||||
*/
|
||||
static void quirk_aspeed_pci_bridge_no_alias(struct pci_dev *pdev)
|
||||
{
|
||||
pdev->dev_flags |= PCI_DEV_FLAGS_PCI_BRIDGE_NO_ALIAS;
|
||||
}
|
||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASPEED, 0x1150, quirk_aspeed_pci_bridge_no_alias);
|
||||
|
||||
/*
|
||||
* Intersil/Techwell TW686[4589]-based video capture cards have an empty (zero)
|
||||
* class code. Fix it.
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ int pci_for_each_dma_alias(struct pci_dev *pdev,
|
|||
case PCI_EXP_TYPE_DOWNSTREAM:
|
||||
continue;
|
||||
case PCI_EXP_TYPE_PCI_BRIDGE:
|
||||
if (tmp->dev_flags & PCI_DEV_FLAGS_PCI_BRIDGE_NO_ALIAS)
|
||||
continue;
|
||||
ret = fn(tmp,
|
||||
PCI_DEVID(tmp->subordinate->number,
|
||||
PCI_DEVFN(0, 0)), data);
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ static const char hcd_name[] = "ehci-pci";
|
|||
/* defined here to avoid adding to pci_ids.h for single instance use */
|
||||
#define PCI_DEVICE_ID_INTEL_CE4100_USB 0x2e70
|
||||
|
||||
#define PCI_VENDOR_ID_ASPEED 0x1a03
|
||||
#define PCI_DEVICE_ID_ASPEED_EHCI 0x2603
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
|
|
|||
|
|
@ -248,6 +248,11 @@ enum pci_dev_flags {
|
|||
PCI_DEV_FLAGS_HAS_MSI_MASKING = (__force pci_dev_flags_t) (1 << 12),
|
||||
/* Device requires write to PCI_MSIX_ENTRY_DATA before any MSIX reads */
|
||||
PCI_DEV_FLAGS_MSIX_TOUCH_ENTRY_DATA_FIRST = (__force pci_dev_flags_t) (1 << 13),
|
||||
/*
|
||||
* PCIe to PCI bridge does not create RID aliases because the bridge is
|
||||
* integrated with the downstream devices and doesn't use real PCI.
|
||||
*/
|
||||
PCI_DEV_FLAGS_PCI_BRIDGE_NO_ALIAS = (__force pci_dev_flags_t) (1 << 14),
|
||||
};
|
||||
|
||||
enum pci_irq_reroute_variant {
|
||||
|
|
|
|||
|
|
@ -2583,6 +2583,8 @@
|
|||
#define PCI_DEVICE_ID_NETRONOME_NFP3800_VF 0x3803
|
||||
#define PCI_DEVICE_ID_NETRONOME_NFP6000_VF 0x6003
|
||||
|
||||
#define PCI_VENDOR_ID_ASPEED 0x1a03
|
||||
|
||||
#define PCI_VENDOR_ID_QMI 0x1a32
|
||||
|
||||
#define PCI_VENDOR_ID_AZWAVE 0x1a3b
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user