diff options
| author | Alex Williamson <alex@shazbot.org> | 2026-08-13 10:41:05 -0600 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-08-13 10:41:05 -0600 |
| commit | 9a333aabff951431a23b903fee348d4e2f3db517 (patch) | |
| tree | c330c9c871d7cf128e1ed9608b3dda2a845aeb7e /include | |
| parent | 37ffa24c9d07edcd414d34283e02af3f3866cf12 (diff) | |
| parent | 231c7a57d19304beb0931e6cbe3a4929daf49747 (diff) | |
| download | linux-stable-9a333aabff951431a23b903fee348d4e2f3db517.tar.gz linux-stable-9a333aabff951431a23b903fee348d4e2f3db517.zip | |
Merge branch 'slot' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci into v7.3/vfio/s390x-pci-error-recovery
PCI dependencies from shared branch supporting vfio-pci error recovery
on s390x.
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/pci.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 64b308b6e61c..43f80d6189a7 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -79,14 +79,18 @@ * and, if ARI Forwarding is enabled, functions may appear to be on multiple * devices. */ -#define PCI_SLOT_ALL_DEVICES 0xfe +#define PCI_SLOT_ALL_DEVICES 0xfeff + +/* Used to identify a slot as a placeholder */ +#define PCI_SLOT_PLACEHOLDER 0xffff /* pci_slot represents a physical slot */ struct pci_slot { struct pci_bus *bus; /* Bus this slot is on */ struct list_head list; /* Node in list of slots */ struct hotplug_slot *hotplug; /* Hotplug info (move here) */ - unsigned char number; /* Device nr, or PCI_SLOT_ALL_DEVICES */ + u16 number; /* Device nr, or PCI_SLOT_ALL_DEVICES */ + unsigned int per_func_slot:1; /* Allow per function slot */ struct kobject kobj; }; |
