linux/drivers/acpi
Linus Torvalds 22c5696e3f Driver core changes for 6.17-rc1
- DEBUGFS
 
   - Remove unneeded debugfs_file_{get,put}() instances
 
   - Remove last remnants of debugfs_real_fops()
 
   - Allow storing non-const void * in struct debugfs_inode_info::aux
 
 - SYSFS
 
   - Switch back to attribute_group::bin_attrs (treewide)
 
   - Switch back to bin_attribute::read()/write() (treewide)
 
   - Constify internal references to 'struct bin_attribute'
 
 - Support cache-ids for device-tree systems
 
   - Add arch hook arch_compact_of_hwid()
 
   - Use arch_compact_of_hwid() to compact MPIDR values on arm64
 
 - Rust
 
   - Device
 
     - Introduce CoreInternal device context (for bus internal methods)
 
     - Provide generic drvdata accessors for bus devices
 
     - Provide Driver::unbind() callbacks
 
     - Use the infrastructure above for auxiliary, PCI and platform
 
     - Implement Device::as_bound()
 
     - Rename Device::as_ref() to Device::from_raw() (treewide)
 
     - Implement fwnode and device property abstractions
 
       - Implement example usage in the Rust platform sample driver
 
   - Devres
 
     - Remove the inner reference count (Arc) and use pin-init instead
 
     - Replace Devres::new_foreign_owned() with devres::register()
 
     - Require T to be Send in Devres<T>
 
     - Initialize the data kept inside a Devres last
 
     - Provide an accessor for the Devres associated Device
 
   - Device ID
 
     - Add support for ACPI device IDs and driver match tables
 
     - Split up generic device ID infrastructure
 
     - Use generic device ID infrastructure in net::phy
 
   - DMA
 
     - Implement the dma::Device trait
 
     - Add DMA mask accessors to dma::Device
 
     - Implement dma::Device for PCI and platform devices
 
     - Use DMA masks from the DMA sample module
 
   - I/O
 
     - Implement abstraction for resource regions (struct resource)
 
     - Implement resource-based ioremap() abstractions
 
     - Provide platform device accessors for I/O (remap) requests
 
   - Misc
 
     - Support fallible PinInit types in Revocable
 
     - Implement Wrapper<T> for Opaque<T>
 
     - Merge pin-init blanket dependencies (for Devres)
 
 - Misc
 
   - Fix OF node leak in auxiliary_device_create()
 
   - Use util macros in device property iterators
 
   - Improve kobject sample code
 
   - Add device_link_test() for testing device link flags
 
   - Fix typo in Documentation/ABI/testing/sysfs-kernel-address_bits
 
   - Hint to prefer container_of_const() over container_of()
 -----BEGIN PGP SIGNATURE-----
 
 iHQEABYKAB0WIQS2q/xV6QjXAdC7k+1FlHeO1qrKLgUCaIjkhwAKCRBFlHeO1qrK
 LpXuAP9RWwfD9ZGgQZ9OsMk/0pZ2mDclaK97jcmI9TAeSxeZMgD1FHnOMTY7oSIi
 iG7Muq0yLD+A5gk9HUnMUnFNrngWCg==
 =jgRj
 -----END PGP SIGNATURE-----

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

Pull driver core updates from Danilo Krummrich:
 "debugfs:
   - Remove unneeded debugfs_file_{get,put}() instances
   - Remove last remnants of debugfs_real_fops()
   - Allow storing non-const void * in struct debugfs_inode_info::aux

  sysfs:
   - Switch back to attribute_group::bin_attrs (treewide)
   - Switch back to bin_attribute::read()/write() (treewide)
   - Constify internal references to 'struct bin_attribute'

  Support cache-ids for device-tree systems:
   - Add arch hook arch_compact_of_hwid()
   - Use arch_compact_of_hwid() to compact MPIDR values on arm64

  Rust:
   - Device:
       - Introduce CoreInternal device context (for bus internal methods)
       - Provide generic drvdata accessors for bus devices
       - Provide Driver::unbind() callbacks
       - Use the infrastructure above for auxiliary, PCI and platform
       - Implement Device::as_bound()
       - Rename Device::as_ref() to Device::from_raw() (treewide)
       - Implement fwnode and device property abstractions
       - Implement example usage in the Rust platform sample driver
   - Devres:
       - Remove the inner reference count (Arc) and use pin-init instead
       - Replace Devres::new_foreign_owned() with devres::register()
       - Require T to be Send in Devres<T>
       - Initialize the data kept inside a Devres last
       - Provide an accessor for the Devres associated Device
   - Device ID:
       - Add support for ACPI device IDs and driver match tables
       - Split up generic device ID infrastructure
       - Use generic device ID infrastructure in net::phy
   - DMA:
       - Implement the dma::Device trait
       - Add DMA mask accessors to dma::Device
       - Implement dma::Device for PCI and platform devices
       - Use DMA masks from the DMA sample module
   - I/O:
       - Implement abstraction for resource regions (struct resource)
       - Implement resource-based ioremap() abstractions
       - Provide platform device accessors for I/O (remap) requests
   - Misc:
       - Support fallible PinInit types in Revocable
       - Implement Wrapper<T> for Opaque<T>
       - Merge pin-init blanket dependencies (for Devres)

  Misc:
   - Fix OF node leak in auxiliary_device_create()
   - Use util macros in device property iterators
   - Improve kobject sample code
   - Add device_link_test() for testing device link flags
   - Fix typo in Documentation/ABI/testing/sysfs-kernel-address_bits
   - Hint to prefer container_of_const() over container_of()"

* tag 'driver-core-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core: (84 commits)
  rust: io: fix broken intra-doc links to `platform::Device`
  rust: io: fix broken intra-doc link to missing `flags` module
  rust: io: mem: enable IoRequest doc-tests
  rust: platform: add resource accessors
  rust: io: mem: add a generic iomem abstraction
  rust: io: add resource abstraction
  rust: samples: dma: set DMA mask
  rust: platform: implement the `dma::Device` trait
  rust: pci: implement the `dma::Device` trait
  rust: dma: add DMA addressing capabilities
  rust: dma: implement `dma::Device` trait
  rust: net::phy Change module_phy_driver macro to use module_device_table macro
  rust: net::phy represent DeviceId as transparent wrapper over mdio_device_id
  rust: device_id: split out index support into a separate trait
  device: rust: rename Device::as_ref() to Device::from_raw()
  arm64: cacheinfo: Provide helper to compress MPIDR value into u32
  cacheinfo: Add arch hook to compress CPU h/w id into 32 bits for cache-id
  cacheinfo: Set cache 'id' based on DT data
  container_of: Document container_of() is not to be used in new code
  driver core: auxiliary bus: fix OF node leak
  ...
2025-07-29 12:15:39 -07:00
..
acpica ACPICA: Decrease AcpiExTracePoint verbosity 2025-06-26 20:56:57 +02:00
apei ACPI: APEI: handle synchronous exceptions in task work 2025-07-16 21:08:04 +02:00
arm64
dptf ACPI: DPTF: Support for Wildcat Lake 2025-06-18 20:53:52 +02:00
nfit acpi: nfit: intel: avoid multiple -Wflex-array-member-not-at-end warnings 2025-06-27 13:27:23 -07:00
numa mm: numa_memblks: introduce numa_add_reserved_memblk 2025-05-22 14:55:36 -07:00
pmic
riscv ACPI: RISC-V: Remove unnecessary CPPC debug message 2025-07-16 08:21:06 -07:00
x86 ACPI: LPSS: Remove AudioDSP related ID 2025-07-02 20:09:11 +02:00
ac.c
acpi_adxl.c
acpi_apd.c
acpi_configfs.c
acpi_dbg.c
acpi_extlog.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
acpi_ffh.c
acpi_fpdt.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c x86/msr: Rename 'rdmsrl_safe()' to 'rdmsrq_safe()' 2025-04-10 11:58:38 +02:00
acpi_memhotplug.c
acpi_mrrm.c ACPI: MRRM: Silence error code static checker warning 2025-05-27 15:22:56 +02:00
acpi_pad.c ACPI: PAD: Update arguments of mwait_idle_with_hints() 2025-06-10 20:47:56 +02:00
acpi_pcc.c ACPI: PCC: Simplify PCC shared memory region handling 2025-04-30 21:51:23 +02:00
acpi_platform.c
acpi_pnp.c
acpi_processor.c ACPI: processor: fix acpi_object initialization 2025-07-03 15:27:23 +02:00
acpi_tad.c ACPI: TAD: Replace sprintf() with sysfs_emit() 2025-07-16 21:14:00 +02:00
acpi_video.c
acpi_watchdog.c
battery.c Revert "ACPI: battery: negate current when discharging" 2025-07-03 13:00:11 +02:00
bgrt.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
bus.c ACPI: Fix typos 2025-07-22 17:12:41 +02:00
button.c
container.c
cppc_acpi.c ACPI: CPPC: Fix NULL pointer dereference when nosmp is used 2025-06-10 20:52:50 +02:00
debugfs.c
device_pm.c ACPI updates for 6.17-rc1 2025-07-28 20:44:42 -07:00
device_sysfs.c
dock.c
ec.c ACPI: EC: Ignore ECDT tables with an invalid ID string 2025-06-10 20:55:31 +02:00
ec_sys.c
event.c
evged.c
fan.h ACPI: DPTF: Support for Wildcat Lake 2025-06-18 20:53:52 +02:00
fan_attr.c ACPI: fan: Replace sprintf() with sysfs_emit() 2025-07-07 18:28:07 +02:00
fan_core.c ACPI: fan: Update debug message in fan_get_state_acpi4() 2025-07-07 18:42:15 +02:00
fan_hwmon.c
glue.c
hed.c
internal.h ACPI: processor: Rescan "dead" SMT siblings during initialization 2025-06-07 14:23:22 +02:00
ioapic.c
irq.c ACPI: irq: Introduce acpi_get_gsi_dispatcher() 2025-05-23 16:30:55 +00:00
Kconfig ACPI: Enable CONFIG_ACPI_DEBUG by default 2025-06-18 21:09:12 +02:00
Makefile ACPI: MRRM: Minimal parse of ACPI MRRM table 2025-05-12 15:43:16 +02:00
mipi-disco-img.c
nhlt.c
nvs.c
osi.c ACPI: OSI: Stop advertising support for "3.0 _SCP Extensions" 2025-05-16 15:53:26 +02:00
osl.c
pci_irq.c
pci_link.c ACPI/PCI: Remove space before newline 2025-07-22 11:52:47 +02:00
pci_mcfg.c
pci_root.c ACPI: PCI: Constify fwnode_handle in acpi_pci_root_remap_iospace() 2025-05-09 20:47:26 +02:00
pci_slot.c
pfr_telemetry.c
pfr_update.c ACPI: pfr_update: Add more debug information when firmware update failed 2025-06-30 22:09:10 +02:00
platform_profile.c ACPI: platform_profile: Avoid initializing on non-ACPI platforms 2025-05-23 16:44:52 +02:00
power.c
pptt.c ACPI: PPTT: Fix processor subtable walk 2025-05-08 20:23:16 +02:00
prmt.c ACPI: PRM: Reduce unnecessary printing to avoid user confusion 2025-07-07 18:37:15 +02:00
proc.c ACPI: proc: Prefer to use octal permission 2025-06-26 21:08:13 +02:00
processor_core.c
processor_driver.c ACPI: processor: Rescan "dead" SMT siblings during initialization 2025-06-07 14:23:22 +02:00
processor_idle.c ACPI: processor: Rescan "dead" SMT siblings during initialization 2025-06-07 14:23:22 +02:00
processor_pdc.c
processor_perflib.c ACPI: processor: perflib: Fix initial _PPC limit application 2025-07-21 15:21:48 +02:00
processor_thermal.c
processor_throttling.c ACPI: processor: throttling: Remove space before newline 2025-07-21 16:45:40 +02:00
property.c
reboot.c
resource.c ACPI: resource: Use IRQ override on MACHENIKE 16P 2025-06-10 20:58:37 +02:00
sbs.c
sbshc.c
sbshc.h
scan.c
sleep.c
sleep.h
spcr.c
sysfs.c sysfs: treewide: switch back to bin_attribute::read()/write() 2025-06-17 10:44:13 +02:00
tables.c ACPI: tables: Improve logging around acpi_initialize_tables() 2025-05-12 15:43:16 +02:00
thermal.c ACPI: thermal: Execute _SCP before reading trip points 2025-05-16 15:53:26 +02:00
thermal_lib.c
tiny-power-button.c
utils.c
video_detect.c
viot.c ACPI: VIOT: Remove (explicitly) unused header 2025-05-12 15:43:16 +02:00
wakeup.c ACPI: wakeup: Drop unneeded casting for sleep_state 2025-06-26 21:08:13 +02:00