linux/drivers/platform/x86
Linus Torvalds c2a96b7f18 Driver core changes for 6.11-rc1
Here is the big set of driver core changes for 6.11-rc1.
 
 Lots of stuff in here, with not a huge diffstat, but apis are evolving
 which required lots of files to be touched.  Highlights of the changes
 in here are:
   - platform remove callback api final fixups (Uwe took many releases to
     get here, finally!)
   - Rust bindings for basic firmware apis and initial driver-core
     interactions.  It's not all that useful for a "write a whole driver
     in rust" type of thing, but the firmware bindings do help out the
     phy rust drivers, and the driver core bindings give a solid base on
     which others can start their work.  There is still a long way to go
     here before we have a multitude of rust drivers being added, but
     it's a great first step.
   - driver core const api changes.  This reached across all bus types,
     and there are some fix-ups for some not-common bus types that
     linux-next and 0-day testing shook out.  This work is being done to
     help make the rust bindings more safe, as well as the C code, moving
     toward the end-goal of allowing us to put driver structures into
     read-only memory.  We aren't there yet, but are getting closer.
   - minor devres cleanups and fixes found by code inspection
   - arch_topology minor changes
   - other minor driver core cleanups
 
 All of these have been in linux-next for a very long time with no
 reported problems.
 
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCZqH+aQ8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+ymoOQCfVBdLcBjEDAGh3L8qHRGMPy4rV2EAoL/r+zKm
 cJEYtJpGtWX6aAtugm9E
 =ZyJV
 -----END PGP SIGNATURE-----

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

Pull driver core updates from Greg KH:
 "Here is the big set of driver core changes for 6.11-rc1.

  Lots of stuff in here, with not a huge diffstat, but apis are evolving
  which required lots of files to be touched. Highlights of the changes
  in here are:

   - platform remove callback api final fixups (Uwe took many releases
     to get here, finally!)

   - Rust bindings for basic firmware apis and initial driver-core
     interactions.

     It's not all that useful for a "write a whole driver in rust" type
     of thing, but the firmware bindings do help out the phy rust
     drivers, and the driver core bindings give a solid base on which
     others can start their work.

     There is still a long way to go here before we have a multitude of
     rust drivers being added, but it's a great first step.

   - driver core const api changes.

     This reached across all bus types, and there are some fix-ups for
     some not-common bus types that linux-next and 0-day testing shook
     out.

     This work is being done to help make the rust bindings more safe,
     as well as the C code, moving toward the end-goal of allowing us to
     put driver structures into read-only memory. We aren't there yet,
     but are getting closer.

   - minor devres cleanups and fixes found by code inspection

   - arch_topology minor changes

   - other minor driver core cleanups

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

* tag 'driver-core-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (55 commits)
  ARM: sa1100: make match function take a const pointer
  sysfs/cpu: Make crash_hotplug attribute world-readable
  dio: Have dio_bus_match() callback take a const *
  zorro: make match function take a const pointer
  driver core: module: make module_[add|remove]_driver take a const *
  driver core: make driver_find_device() take a const *
  driver core: make driver_[create|remove]_file take a const *
  firmware_loader: fix soundness issue in `request_internal`
  firmware_loader: annotate doctests as `no_run`
  devres: Correct code style for functions that return a pointer type
  devres: Initialize an uninitialized struct member
  devres: Fix memory leakage caused by driver API devm_free_percpu()
  devres: Fix devm_krealloc() wasting memory
  driver core: platform: Switch to use kmemdup_array()
  driver core: have match() callback in struct bus_type take a const *
  MAINTAINERS: add Rust device abstractions to DRIVER CORE
  device: rust: improve safety comments
  MAINTAINERS: add Danilo as FIRMWARE LOADER maintainer
  MAINTAINERS: add Rust FW abstractions to FIRMWARE LOADER
  firmware: rust: improve safety comments
  ...
2024-07-25 10:42:22 -07:00
..
amd platform-drivers-x86 for v6.11-1 2024-07-17 17:05:21 -07:00
dell platform-drivers-x86 for v6.11-1 2024-07-17 17:05:21 -07:00
hp platform/x86: hp-wmi: Fix implementation of the platform_profile_omen_get function 2024-07-15 12:38:42 +03:00
intel platform-drivers-x86 for v6.11-1 2024-07-17 17:05:21 -07:00
siemens platform/x86/siemens: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:00 +02:00
x86-android-tablets platform/x86: x86-android-tablets: Add "select LEDS_CLASS" 2024-05-27 11:30:15 +02:00
acer-wireless.c
acer-wmi.c platform/x86: acer-wmi: Add support for Acer PH18-71 2024-04-08 13:57:00 +03:00
acerhdf.c thermal: core: Eliminate writable trip points masks 2024-02-27 12:04:38 +01:00
adv_swbutton.c
amilo-rfkill.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
apple-gmux.c apple-gmux: Hard Code max brightness for MMIO gmux 2023-10-18 15:33:24 +02:00
asus-laptop.c platform-drivers-x86 for v6.10-1 2024-05-16 09:14:50 -07:00
asus-nb-wmi.c platform/x86: asus-wmi: Filter Volume key presses if also reported via atkbd 2023-11-23 14:24:19 +02:00
asus-tf103c-dock.c platform/x86: asus-tf103c-dock: Use 2-argument strscpy() 2024-06-03 14:51:24 +03:00
asus-wireless.c platform/x86: asus-wireless: Replace open coded acpi_match_acpi_device() 2023-10-12 16:34:09 +03:00
asus-wmi.c platform/x86: asus-wmi: fix TUF laptop RGB variant 2024-07-16 12:49:09 +03:00
asus-wmi.h platform/x86: asus-wmi: Change q500a_i8042_filter() into a generic i8042-filter 2023-11-23 14:24:17 +02:00
barco-p50-gpio.c
classmate-laptop.c platform-drivers-x86 for v6.10-1 2024-05-16 09:14:50 -07:00
compal-laptop.c Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>" 2024-03-06 13:07:39 -08:00
dual_accel_detect.h
eeepc-laptop.c platform/x86/eeepc: drop owner assignment 2024-04-08 16:16:55 +02:00
eeepc-wmi.c
firmware_attributes_class.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
firmware_attributes_class.h platform/x86: make fw_attr_class constant 2024-03-12 12:48:13 +02:00
fujitsu-laptop.c platform/x86/fujitsu-laptop: Replace sprintf() with sysfs_emit() 2024-04-29 13:35:53 +02:00
fujitsu-tablet.c
gigabyte-wmi.c
gpd-pocket-fan.c
hdaps.c
huawei-wmi.c platform/x86: huawei-wmi: use sysfs_emit() instead of sprintf() 2024-03-25 15:44:04 +01:00
ibm_rtl.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
ideapad-laptop.c platform/x86: ideapad-laptop: use cleanup.h 2024-07-15 12:53:51 +03:00
ideapad-laptop.h
inspur_platform_profile.c platform/x86: wmi: Mark simple WMI drivers as legacy-free 2024-04-08 17:45:35 +02:00
intel_ips.c drm next for 6.11-rc1: 2024-07-18 09:34:02 -07:00
intel_ips.h
intel_scu_ipc.c
intel_scu_ipcutil.c platform/x86: intel_scu_ipcutil: Make scu static 2024-03-12 12:47:43 +02:00
intel_scu_pcidrv.c platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h 2024-03-12 12:48:10 +02:00
intel_scu_pltdrv.c
intel_scu_wdt.c platform/x86: intel_scu_wdt: Switch to new Intel CPU model defines 2024-06-03 09:49:13 +03:00
Kconfig platform/x86: yt2-1380: add CONFIG_EXTCON dependency 2024-06-03 11:43:15 +02:00
lenovo-wmi-camera.c platform/x86: add lenovo WMI camera button driver 2024-04-08 15:21:36 +02:00
lenovo-ymc.c
lenovo-yoga-tab2-pro-1380-fastcharger.c platform/x86: Add lenovo-yoga-tab2-pro-1380-fastcharger driver 2024-04-29 12:46:43 +02:00
lenovo-yogabook.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
lg-laptop.c platform/x86: lg-laptop: Use ACPI device handle when evaluating WMAB/WMBB 2024-06-24 13:28:09 +02:00
Makefile platform/x86: Add new MeeGoPad ANX7428 Type-C Cross Switch driver 2024-05-15 10:07:11 +02:00
meegopad_anx7428.c platform/x86: Add new MeeGoPad ANX7428 Type-C Cross Switch driver 2024-05-15 10:07:11 +02:00
meraki-mx100.c
mlx-platform.c Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>" 2024-03-06 13:07:39 -08:00
msi-ec.c platform-drivers-x86 for v6.7-1 2023-10-31 17:53:00 -10:00
msi-ec.h platform/x86: msi-ec: rename fn_super_swap 2023-10-09 14:30:11 +03:00
msi-laptop.c platform/x86: msi-laptop: Use sysfs_emit() to replace sprintf() 2024-04-29 10:52:03 +02:00
msi-wmi-platform.c platform/x86: wmi: Add MSI WMI Platform driver 2024-04-29 12:06:21 +02:00
msi-wmi.c
mxm-wmi.c
nvidia-wmi-ec-backlight.c
p2sb.c platform/x86: p2sb: Switch to new Intel CPU model defines 2024-06-03 09:49:02 +03:00
panasonic-laptop.c
pcengines-apuv2.c
pmc_atom.c platform/x86: pmc_atom: Check state of PMC clocks on s2idle 2024-03-12 12:48:20 +02:00
quickstart.c platform/x86: quickstart: Fix race condition when reporting input event 2024-04-08 15:22:23 +02:00
samsung-laptop.c platform/x86: samsung-laptop: Use sysfs_emit() to replace the old interface sprintf() 2024-04-29 10:52:03 +02:00
samsung-q10.c
sel3350-platform.c
serdev_helpers.h platform/x86: Add new get_serdev_controller() helper 2024-02-20 14:35:35 +01:00
serial-multi-instantiate.c platform/x86: serial-multi-instantiate: Use 2-argument strscpy() 2024-06-03 14:51:40 +03:00
silicom-platform.c platform/x86: silicom-platform: clean up a check 2024-01-24 12:34:45 +02:00
sony-laptop.c platform/x86/sony-laptop: drop owner assignment 2024-04-08 16:16:56 +02:00
system76_acpi.c
think-lmi.c platform/x86: think-lmi: Use 2-argument strscpy() 2024-06-03 14:51:42 +03:00
think-lmi.h
thinkpad_acpi.c platform/x86: thinkpad_acpi: Use 2-argument strscpy() 2024-06-03 14:51:44 +03:00
topstar-laptop.c
toshiba_acpi.c platform/x86: toshiba_acpi: Fix array out-of-bounds access 2024-07-10 16:12:12 +02:00
toshiba_bluetooth.c platform/x86/toshiba_bluetooth: drop owner assignment 2024-04-08 16:16:56 +02:00
toshiba_haps.c platform/x86/toshiba_haps: drop owner assignment 2024-04-08 16:16:56 +02:00
toshiba-wmi.c
touchscreen_dmi.c platform/x86: touchscreen_dmi: Use 2-argument strscpy() 2024-06-03 11:12:38 +02:00
uv_sysfs.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
winmate-fm07-keys.c
wireless-hotkey.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
wmi-bmof.c platform/x86: wmi: Do not instantiate older WMI drivers multiple times 2024-03-12 12:47:35 +02:00
wmi.c Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
xiaomi-wmi.c platform/x86: xiaomi-wmi: Drop unnecessary NULL checks 2024-04-08 17:45:35 +02:00
xo1-rfkill.c platform/x86: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:20 +02:00
xo15-ebook.c platform/x86: xo15-ebook: Replace open coded acpi_match_acpi_device() 2023-10-12 16:33:49 +03:00