History

Merge branch 'pci/trace'

- Add generic RAS tracepoint for hotplug events (Shuai Xue) - Add RAS tracepoint for link speed changes (Shuai Xue) * pci/trace: Documentation: tracing: Add PCI tracepoint documentation PCI: trace: Add RAS tracepoint to monitor link speed changes PCI: trace: Add generic RAS tracepoint for hotplug event

Bjorn Helgaas committed 9 months ago

Commit 401b3562 parents 73b4779 8236fc612 files · +280 −15Browse files

Showing the changes to include/uapi (1 of 12 files). Show all

Unified · Split

include/uapi/linux/pci.h+7−0
@@ -39,4 +39,11 @@ · 38 unmodified lines
3939 #define PCIIOC_MMAP_IS_MEM (PCIIOC_BASE | 0x02) /* Set mmap state to MEM space. */
4040 #define PCIIOC_WRITE_COMBINE (PCIIOC_BASE | 0x03) /* Enable/disable write-combining. */
4141
42+enum pci_hotplug_event {
43+ PCI_HOTPLUG_LINK_UP,
44+ PCI_HOTPLUG_LINK_DOWN,
45+ PCI_HOTPLUG_CARD_PRESENT,
46+ PCI_HOTPLUG_CARD_NOT_PRESENT,
47+};
48+
4249 #endif /* _UAPILINUX_PCI_H */