]> www.infradead.org Git - users/hch/misc.git/commitdiff
Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Apr 2023 18:53:57 +0000 (11:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Apr 2023 18:53:57 +0000 (11:53 -0700)
Pull driver core updates from Greg KH:
 "Here is the large set of driver core changes for 6.4-rc1.

  Once again, a busy development cycle, with lots of changes happening
  in the driver core in the quest to be able to move "struct bus" and
  "struct class" into read-only memory, a task now complete with these
  changes.

  This will make the future rust interactions with the driver core more
  "provably correct" as well as providing more obvious lifetime rules
  for all busses and classes in the kernel.

  The changes required for this did touch many individual classes and
  busses as many callbacks were changed to take const * parameters
  instead. All of these changes have been submitted to the various
  subsystem maintainers, giving them plenty of time to review, and most
  of them actually did so.

  Other than those changes, included in here are a small set of other
  things:

   - kobject logging improvements

   - cacheinfo improvements and updates

   - obligatory fw_devlink updates and fixes

   - documentation updates

   - device property cleanups and const * changes

   - firwmare loader dependency fixes.

  All of these have been in linux-next for a while with no reported
  problems"

* tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (120 commits)
  device property: make device_property functions take const device *
  driver core: update comments in device_rename()
  driver core: Don't require dynamic_debug for initcall_debug probe timing
  firmware_loader: rework crypto dependencies
  firmware_loader: Strip off \n from customized path
  zram: fix up permission for the hot_add sysfs file
  cacheinfo: Add use_arch[|_cache]_info field/function
  arch_topology: Remove early cacheinfo error message if -ENOENT
  cacheinfo: Check cache properties are present in DT
  cacheinfo: Check sib_leaf in cache_leaves_are_shared()
  cacheinfo: Allow early level detection when DT/ACPI info is missing/broken
  cacheinfo: Add arm64 early level initializer implementation
  cacheinfo: Add arch specific early level initializer
  tty: make tty_class a static const structure
  driver core: class: remove struct class_interface * from callbacks
  driver core: class: mark the struct class in struct class_interface constant
  driver core: class: make class_register() take a const *
  driver core: class: mark class_release() as taking a const *
  driver core: remove incorrect comment for device_create*
  MIPS: vpe-cmp: remove module owner pointer from struct class usage.
  ...

59 files changed:
1  2 
Documentation/admin-guide/kernel-parameters.txt
MAINTAINERS
arch/arm64/kernel/cpufeature.c
block/genhd.c
drivers/accel/habanalabs/common/habanalabs_drv.c
drivers/ata/pata_parport/pata_parport.c
drivers/base/cacheinfo.c
drivers/block/pktcdvd.c
drivers/block/ublk_drv.c
drivers/char/tpm/tpm-chip.c
drivers/char/tpm/tpm.h
drivers/cpufreq/amd-pstate.c
drivers/cpufreq/cpufreq.c
drivers/cpufreq/intel_pstate.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/intel/qat/qat_common/adf_ctl_drv.c
drivers/cxl/core/port.c
drivers/fpga/fpga-bridge.c
drivers/gpio/gpiolib-sysfs.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/i915/gt/uc/intel_huc.c
drivers/gpu/drm/i915/gt/uc/intel_huc.h
drivers/hv/vmbus_drv.c
drivers/hwmon/drivetemp.c
drivers/hwmon/hwmon.c
drivers/infiniband/hw/qib/qib_file_ops.c
drivers/mtd/mtdcore.c
drivers/mtd/ubi/build.c
drivers/net/wireless/virtual/mac80211_hwsim.c
drivers/net/wwan/wwan_core.c
drivers/net/wwan/wwan_hwsim.c
drivers/nvme/host/core.c
drivers/nvme/target/fcloop.c
drivers/pci/pci.c
drivers/platform/x86/intel/pmt/class.c
drivers/power/supply/power_supply_core.c
drivers/ptp/ptp_ocp.c
drivers/sbus/char/oradax.c
drivers/scsi/pmcraid.c
drivers/scsi/ses.c
drivers/soc/qcom/rmtfs_mem.c
drivers/spi/spi.c
drivers/spi/spidev.c
drivers/staging/fieldbus/anybuss/arcx-anybus.c
drivers/tty/tty_io.c
drivers/tty/vt/vt.c
drivers/usb/core/usb.h
drivers/usb/gadget/udc/core.c
drivers/vfio/vfio_main.c
drivers/video/fbdev/core/fbmem.c
fs/kernfs/dir.c
fs/ksmbd/server.c
include/linux/tty.h
init/Kconfig
mm/backing-dev.c
samples/vfio-mdev/mbochs.c
samples/vfio-mdev/mdpy.c
samples/vfio-mdev/mtty.c
tools/testing/nvdimm/test/nfit.c

diff --cc MAINTAINERS
Simple merge
Simple merge
diff --cc block/genhd.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index db555b3c1f56272c424728906f3c3aa3b4d1dfe1,05d4832f846103de892b3588d6374df9202a12d9..0789184d81a2a53d9b4cf567316bb00d3b260f35
@@@ -52,9 -51,15 +52,9 @@@ int intel_huc_check_status(struct intel
  void intel_huc_update_auth_status(struct intel_huc *huc);
  bool intel_huc_is_authenticated(struct intel_huc *huc);
  
- void intel_huc_register_gsc_notifier(struct intel_huc *huc, struct bus_type *bus);
- void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, struct bus_type *bus);
+ void intel_huc_register_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus);
+ void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus);
  
 -static inline int intel_huc_sanitize(struct intel_huc *huc)
 -{
 -      intel_uc_fw_sanitize(&huc->fw);
 -      return 0;
 -}
 -
  static inline bool intel_huc_is_supported(struct intel_huc *huc)
  {
        return intel_uc_fw_is_supported(&huc->fw);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/kernfs/dir.c
Simple merge
Simple merge
Simple merge
diff --cc init/Kconfig
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge