History

Merge tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core updates from Greg KH: "Here is the set of changes for the driver core for 5.17-rc1. Lots of little things here, including: - kobj_type cleanups - auxiliary_bus documentation updates - auxiliary_device conversions for some drivers (relevant subsystems all have provided acks for these) - kernfs lock contention reduction for some workloads - other tiny cleanups and changes. All of these have been in linux-next for a while with no reported issues" * tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (43 commits) kobject documentation: remove default_attrs information drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb debugfs: lockdown: Allow reading debugfs files that are not world readable driver core: Make bus notifiers in right order in really_probe() driver core: Move driver_sysfs_remove() after driver_sysfs_add() firmware: edd: remove empty default_attrs array firmware: dmi-sysfs: use default_groups in kobj_type qemu_fw_cfg: use default_groups in kobj_type firmware: memmap: use default_groups in kobj_type sh: sq: use default_groups in kobj_type headers/uninline: Uninline single-use function: kobject_has_children() devtmpfs: mount with noexec and nosuid driver core: Simplify async probe test code by using ktime_ms_delta() nilfs2: use default_groups in kobj_type kobject: remove kset from struct kset_uevent_ops callbacks driver core: make kobj_type constant. driver core: platform: document registration-failure requirement vdpa/mlx5: Use auxiliary_device driver data helpers net/mlx5e: Use auxiliary_device driver data helpers soundwire: intel: Use auxiliary_device driver data helpers ...

Linus Torvalds committed 4 years ago

Commit 6dc69d32 parents e3084ed c9512fd58 files · +1217 −755Browse files

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

Unified · Split

include/uapi/linux/pci_regs.h+4−0
@@ -1086,7 +1086,11 @@ · 1085 unmodified lines
10861086
10871087 /* Designated Vendor-Specific (DVSEC, PCI_EXT_CAP_ID_DVSEC) */
10881088 #define PCI_DVSEC_HEADER1 0x4 /* Designated Vendor-Specific Header1 */
1089+#define PCI_DVSEC_HEADER1_VID(x) ((x) & 0xffff)
1090+#define PCI_DVSEC_HEADER1_REV(x) (((x) >> 16) & 0xf)
1091+#define PCI_DVSEC_HEADER1_LEN(x) (((x) >> 20) & 0xfff)
10891092 #define PCI_DVSEC_HEADER2 0x8 /* Designated Vendor-Specific Header2 */
1093+#define PCI_DVSEC_HEADER2_ID(x) ((x) & 0xffff)
10901094
10911095 /* Data Link Feature */
10921096 #define PCI_DLF_CAP 0x04 /* Capabilities Register */