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
598 598
599#define to_pci_bus(n) container_of(n, struct pci_bus, dev)599#define to_pci_bus(n) container_of(n, struct pci_bus, dev)
600 600
601static inline u16 pci_dev_id(struct pci_dev *dev)
602{
603 return PCI_DEVID(dev->bus->number, dev->devfn);
604}
605
601/*606/*
602 * Returns true if the PCI bus is root (behind host-PCI bridge),607 * Returns true if the PCI bus is root (behind host-PCI bridge),
603 * false otherwise608 * false otherwise
@@ -1235,7 +1240,6 @@ int __must_check pci_request_regions(struct pci_dev *, const char *); · 631 unmodified lines
1235int __must_check pci_request_regions_exclusive(struct pci_dev *, const char *);1240int __must_check pci_request_regions_exclusive(struct pci_dev *, const char *);
1236void pci_release_regions(struct pci_dev *);1241void pci_release_regions(struct pci_dev *);
1237int __must_check pci_request_region(struct pci_dev *, int, const char *);1242int __must_check pci_request_region(struct pci_dev *, int, const char *);
1238int __must_check pci_request_region_exclusive(struct pci_dev *, int, const char *);
1239void pci_release_region(struct pci_dev *, int);1243void pci_release_region(struct pci_dev *, int);
1240int pci_request_selected_regions(struct pci_dev *, int, const char *);1244int pci_request_selected_regions(struct pci_dev *, int, const char *);
1241int pci_request_selected_regions_exclusive(struct pci_dev *, int, const char *);1245int 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