]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'driver-core-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Oct 2025 15:39:23 +0000 (08:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Oct 2025 15:39:23 +0000 (08:39 -0700)
Pull driver core updates from Danilo Krummrich:
 "Auxiliary:
   - Drop call to dev_pm_domain_detach() in auxiliary_bus_probe()
   - Optimize logic of auxiliary_match_id()

  Rust:
   - Auxiliary:
      - Use primitive C types from prelude

   - DebugFs:
      - Add debugfs support for simple read/write files and custom
        callbacks through a File-type-based and directory-scope-based
        API
      - Sample driver code for the File-type-based API
      - Sample module code for the directory-scope-based API

   - I/O:
      - Add io::poll module and implement Rust specific
        read_poll_timeout() helper

   - IRQ:
      - Implement support for threaded and non-threaded device IRQs
        based on (&Device<Bound>, IRQ number) tuples (IrqRequest)
      - Provide &Device<Bound> cookie in IRQ handlers

   - PCI:
      - Support IRQ requests from IRQ vectors for a specific
        pci::Device<Bound>
      - Implement accessors for subsystem IDs, revision, devid and
        resource start
      - Provide dedicated pci::Vendor and pci::Class types for vendor
        and class ID numbers
      - Implement Display to print actual vendor and class names; Debug
        to print the raw ID numbers
      - Add pci::DeviceId::from_class_and_vendor() helper
      - Use primitive C types from prelude
      - Various minor inline and (safety) comment improvements

   - Platform:
      - Support IRQ requests from IRQ vectors for a specific
        platform::Device<Bound>

   - Nova:
      - Use pci::DeviceId::from_class_and_vendor() to avoid probing
        non-display/compute PCI functions

   - Misc:
      - Add helper for cpu_relax()
      - Update ARef import from sync::aref

  sysfs:
   - Remove bin_attrs_new field from struct attribute_group
   - Remove read_new() and write_new() from struct bin_attribute

  Misc:
   - Document potential race condition in get_dev_from_fwnode()
   - Constify node_group argument in software node registration
     functions
   - Fix order of kernel-doc parameters in various functions
   - Set power.no_pm flag for faux devices
   - Set power.no_callbacks flag along with the power.no_pm flag
   - Constify the pmu_bus bus type
   - Minor spelling fixes"

* tag 'driver-core-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core: (43 commits)
  rust: pci: display symbolic PCI vendor names
  rust: pci: display symbolic PCI class names
  rust: pci: fix incorrect platform reference in PCI driver probe doc comment
  rust: pci: fix incorrect platform reference in PCI driver unbind doc comment
  perf: make pmu_bus const
  samples: rust: Add scoped debugfs sample driver
  rust: debugfs: Add support for scoped directories
  samples: rust: Add debugfs sample driver
  rust: debugfs: Add support for callback-based files
  rust: debugfs: Add support for writable files
  rust: debugfs: Add support for read-only files
  rust: debugfs: Add initial support for directories
  driver core: auxiliary bus: Optimize logic of auxiliary_match_id()
  driver core: auxiliary bus: Drop dev_pm_domain_detach() call
  driver core: Fix order of the kernel-doc parameters
  driver core: get_dev_from_fwnode(): document potential race
  drivers: base: fix "publically"->"publicly"
  driver core/PM: Set power.no_callbacks along with power.no_pm
  driver core: faux: Set power.no_pm for faux devices
  rust: pci: inline several tiny functions
  ...

1  2 
MAINTAINERS
kernel/events/core.c
rust/bindings/bindings_helper.h
rust/helpers/helpers.c
rust/kernel/auxiliary.rs
rust/kernel/device.rs
rust/kernel/lib.rs
samples/rust/rust_dma.rs

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 9cefa0810e0b4ffba7b20ff5977aa191fa3e9746,c2a6f5c203f04284819eef6988536c057709f07e..1321e6f0b53c9a57cf46e45b75ff5d5aa55bf5c1
@@@ -5,10 -5,11 +5,11 @@@
  //! C header: [`include/linux/device.h`](srctree/include/linux/device.h)
  
  use crate::{
 -    bindings,
 +    bindings, fmt,
-     types::{ARef, ForeignOwnable, Opaque},
+     sync::aref::ARef,
+     types::{ForeignOwnable, Opaque},
  };
 -use core::{fmt, marker::PhantomData, ptr};
 +use core::{marker::PhantomData, ptr};
  
  #[cfg(CONFIG_PRINTK)]
  use crate::c_str;
index f910a5ab80ba508a36b1eece79e40202fb100a28,1a828797c32def5ca3ccf5acbcca36a21ceb0f4a..09ee3d17ee0a609a7b07d434edca539f6d5232f0
@@@ -112,7 -112,7 +114,8 @@@ pub mod pid_namespace
  pub mod platform;
  pub mod prelude;
  pub mod print;
+ pub mod processor;
 +pub mod ptr;
  pub mod rbtree;
  pub mod regulator;
  pub mod revocable;
Simple merge