[GIT PULL] Driver core changes for 5.17-rc1
From: Greg KH
Date: Wed Jan 12 2022 - 08:55:51 EST
The following changes since commit 136057256686de39cc3a07c2e39ef6bc43003ff6:
Linux 5.16-rc2 (2021-11-21 13:47:39 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.17-rc1
for you to fetch changes up to c9512fd032acfe6f5198c30b6e7e52e0a7df5d31:
kobject documentation: remove default_attrs information (2022-01-07 11:23:37 +0100)
----------------------------------------------------------------
driver core changes for 5.17-rc1
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.
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------
Andy Shevchenko (2):
kobject: Replace kernel.h with the necessary inclusions
kernfs: Replace kernel.h with the necessary inclusions
Cai Huoqing (1):
driver core: platform: Make use of the helper function dev_err_probe()
Daniel Scally (1):
device property: Check fwnode->secondary when finding properties
David E. Box (7):
PCI: Add #defines for accessing PCIe DVSEC fields
driver core: auxiliary bus: Add driver data helpers
platform/x86/intel: Move intel_pmt from MFD to Auxiliary Bus
RDMA/irdma: Use auxiliary_device driver data helpers
soundwire: intel: Use auxiliary_device driver data helpers
net/mlx5e: Use auxiliary_device driver data helpers
vdpa/mlx5: Use auxiliary_device driver data helpers
Greg Kroah-Hartman (8):
kobject: remove kset from struct kset_uevent_ops callbacks
nilfs2: use default_groups in kobj_type
sh: sq: use default_groups in kobj_type
firmware: memmap: use default_groups in kobj_type
qemu_fw_cfg: use default_groups in kobj_type
firmware: dmi-sysfs: use default_groups in kobj_type
firmware: edd: remove empty default_attrs array
kobject documentation: remove default_attrs information
Heiko Carstens (4):
topology/sysfs: export die attributes only if an architectures has support
topology/sysfs: export cluster attributes only if an architectures has support
topology/sysfs: rework book and drawer topology ifdefery
topology/sysfs: get rid of htmldoc warning
Ingo Molnar (1):
headers/uninline: Uninline single-use function: kobject_has_children()
Ira Weiny (7):
Documentation/auxiliary_bus: Clarify auxiliary_device creation
Documentation/auxiliary_bus: Clarify match_name
Documentation/auxiliary_bus: Update Auxiliary device lifespan
Documentation/auxiliary_bus: Clarify __auxiliary_driver_register
Documentation/auxiliary_bus: Add example code for module_auxiliary_driver()
Documentation/auxiliary_bus: Clarify the release of devices from find device
Documentation/auxiliary_bus: Move the text into the code
Johan Hovold (1):
driver core: platform: document registration-failure requirement
Kees Cook (1):
devtmpfs: mount with noexec and nosuid
Kohei Tarumizu (2):
docs: document the sysfs ABI for "nohz_full"
docs: document the sysfs ABI for "isolated"
Lu Baolu (2):
driver core: Move driver_sysfs_remove() after driver_sysfs_add()
driver core: Make bus notifiers in right order in really_probe()
Mark-PK Tsai (1):
driver core: Simplify async probe test code by using ktime_ms_delta()
Miaoqian Lin (1):
drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb
Michal Suchanek (1):
debugfs: lockdown: Allow reading debugfs files that are not world readable
Minchan Kim (2):
kernfs: switch global kernfs_rwsem lock to per-fs lock
kernfs: prevent early freeing of root node
Wedson Almeida Filho (1):
driver core: make kobj_type constant.
Documentation/ABI/testing/sysfs-devices-system-cpu | 15 +
Documentation/admin-guide/cputopology.rst | 25 +-
Documentation/core-api/kobject.rst | 16 +-
Documentation/driver-api/auxiliary_bus.rst | 236 ++----------
.../translations/zh_CN/core-api/kobject.rst | 12 +-
MAINTAINERS | 12 +-
arch/sh/kernel/cpu/sh4/sq.c | 3 +-
drivers/base/Kconfig | 11 +
drivers/base/auxiliary.c | 152 +++++++-
drivers/base/bus.c | 4 +-
drivers/base/core.c | 30 +-
drivers/base/dd.c | 7 +-
drivers/base/devtmpfs.c | 10 +-
drivers/base/platform.c | 9 +-
drivers/base/property.c | 13 +-
drivers/base/test/test_async_driver_probe.c | 14 +-
drivers/base/topology.c | 28 +-
drivers/dma-buf/dma-buf-sysfs-stats.c | 2 +-
drivers/firmware/dmi-sysfs.c | 7 +-
drivers/firmware/edd.c | 9 -
drivers/firmware/memmap.c | 3 +-
drivers/firmware/qemu_fw_cfg.c | 5 +-
drivers/firmware/sysfb_simplefb.c | 8 +-
drivers/infiniband/hw/irdma/main.c | 4 +-
drivers/infiniband/hw/mlx5/main.c | 8 +-
drivers/mfd/Kconfig | 10 -
drivers/mfd/Makefile | 1 -
drivers/mfd/intel_pmt.c | 261 -------------
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 8 +-
drivers/platform/x86/intel/Kconfig | 11 +
drivers/platform/x86/intel/Makefile | 2 +
drivers/platform/x86/intel/pmt/Kconfig | 4 +-
drivers/platform/x86/intel/pmt/class.c | 21 +-
drivers/platform/x86/intel/pmt/class.h | 5 +-
drivers/platform/x86/intel/pmt/crashlog.c | 47 +--
drivers/platform/x86/intel/pmt/telemetry.c | 46 +--
drivers/platform/x86/intel/vsec.c | 408 +++++++++++++++++++++
drivers/platform/x86/intel/vsec.h | 43 +++
drivers/soundwire/intel.c | 8 +-
drivers/soundwire/intel_init.c | 2 +-
drivers/vdpa/mlx5/net/mlx5_vnet.c | 4 +-
fs/debugfs/file.c | 2 +-
fs/dlm/lockspace.c | 3 +-
fs/gfs2/sys.c | 3 +-
fs/kernfs/dir.c | 118 +++---
fs/kernfs/file.c | 6 +-
fs/kernfs/inode.c | 22 +-
fs/kernfs/mount.c | 15 +-
fs/kernfs/symlink.c | 5 +-
fs/nilfs2/sysfs.c | 13 +-
include/linux/auxiliary_bus.h | 174 +++++++++
include/linux/kernfs.h | 6 +-
include/linux/kobject.h | 34 +-
include/linux/topology.h | 25 ++
include/uapi/linux/pci_regs.h | 4 +
kernel/params.c | 4 +-
lib/kobject.c | 8 +-
lib/kobject_uevent.c | 6 +-
58 files changed, 1217 insertions(+), 755 deletions(-)
delete mode 100644 drivers/mfd/intel_pmt.c
create mode 100644 drivers/platform/x86/intel/vsec.c
create mode 100644 drivers/platform/x86/intel/vsec.h