History

Merge branch 'pci/misc'

- Mark expected switch fall-throughs (Gustavo A. R. Silva) - Remove unused pci_request_region_exclusive() (Johannes Thumshirn) - Fix x86 PCI IRQ routing table memory leak (Wenwen Wang) - Reset Lenovo ThinkPad P50 if firmware didn't do it on reboot (Lyude Paul) - Add and use pci_dev_id() helper to simplify PCI_DEVID() usage (touches several places outside drivers/pci/) (Heiner Kallweit) - Transition Mobiveil PCI maintenance to Karthikeyan M and Hou Zhiqiang (Subrahmanya Lingappa) * pci/misc: MAINTAINERS: Add Karthikeyan Mitran and Hou Zhiqiang for Mobiveil PCI platform/chrome: chromeos_laptop: use pci_dev_id() helper stmmac: pci: Use pci_dev_id() helper iommu/vt-d: Use pci_dev_id() helper iommu/amd: Use pci_dev_id() helper drm/amdkfd: Use pci_dev_id() helper powerpc/powernv/npu: Use pci_dev_id() helper r8169: use pci_dev_id() helper PCI: Add pci_dev_id() helper PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary x86/PCI: Fix PCI IRQ routing table memory leak PCI: Remove unused pci_request_region_exclusive() PCI: Mark expected switch fall-throughs

Bjorn Helgaas committed 7 years ago

Commit 09fdd752 parents 33987fd 86511db17 files · +94 −57Browse files

Showing the changes to include/linux (1 of 17 files). Show all

Unified · Split

include/linux/pci.h+5−1
@@ -598,6 +598,11 @@ struct pci_bus { · 597 unmodified lines
598598
599599 #define to_pci_bus(n) container_of(n, struct pci_bus, dev)
600600
601+static inline u16 pci_dev_id(struct pci_dev *dev)
602+{
603+ return PCI_DEVID(dev->bus->number, dev->devfn);
604+}
605+
601606 /*
602607 * Returns true if the PCI bus is root (behind host-PCI bridge),
603608 * false otherwise
@@ -1235,7 +1240,6 @@ int __must_check pci_request_regions(struct pci_dev *, const char *); · 631 unmodified lines
12351240 int __must_check pci_request_regions_exclusive(struct pci_dev *, const char *);
12361241 void pci_release_regions(struct pci_dev *);
12371242 int __must_check pci_request_region(struct pci_dev *, int, const char *);
1238−int __must_check pci_request_region_exclusive(struct pci_dev *, int, const char *);
12391243 void pci_release_region(struct pci_dev *, int);
12401244 int pci_request_selected_regions(struct pci_dev *, int, const char *);
12411245 int pci_request_selected_regions_exclusive(struct pci_dev *, int, const char *);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t