lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z7IAjdCB8Ly5GIjW@kroah.com>
Date: Sun, 16 Feb 2025 16:13:17 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [GIT PULL] Driver core addition for 6.14-rc3

The following changes since commit a64dcfb451e254085a7daee5fe51bf22959d52d3:

  Linux 6.14-rc2 (2025-02-09 12:45:03 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-6.14-rc3

for you to fetch changes up to 78418f300d3999f1cf8a9ac71065bf2eca61f4dd:

  rust/kernel: Add faux device bindings (2025-02-13 16:58:58 +0100)

----------------------------------------------------------------
Driver core api addition for 6.14-rc3

Here is a driver core new api for 6.14-rc3 that is being added to allow
platform devices from stop being abused.  It adds a new "faux_device"
structure and bus and api to allow almost a straight or simpler
conversion from platform devices that were not really a platform device.
It also comes with a binding for rust, with an example driver in rust
showing how it's used.

I'm adding this now so that the patches that convert the different
drivers and subsystems can all start flowing into linux-next now through
their different development trees, in time for 6.15-rc1.  We have a
number that are already reviewed and tested, but adding those
conversions now doesn't seem right.  For now, no one is using this, and
it passes all build tests from 0-day and linux-next, so all should be
good.

Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

----------------------------------------------------------------
Greg Kroah-Hartman (1):
      driver core: add a faux bus for use when a simple device/bus is needed

Lyude Paul (1):
      rust/kernel: Add faux device bindings

 Documentation/driver-api/infrastructure.rst |   6 +
 MAINTAINERS                                 |   2 +
 drivers/base/Makefile                       |   2 +-
 drivers/base/base.h                         |   1 +
 drivers/base/faux.c                         | 232 ++++++++++++++++++++++++++++
 drivers/base/init.c                         |   1 +
 include/linux/device/faux.h                 |  69 +++++++++
 rust/bindings/bindings_helper.h             |   1 +
 rust/kernel/faux.rs                         |  67 ++++++++
 rust/kernel/lib.rs                          |   1 +
 samples/rust/Kconfig                        |  10 ++
 samples/rust/Makefile                       |   1 +
 samples/rust/rust_driver_faux.rs            |  29 ++++
 13 files changed, 421 insertions(+), 1 deletion(-)
 create mode 100644 drivers/base/faux.c
 create mode 100644 include/linux/device/faux.h
 create mode 100644 rust/kernel/faux.rs
 create mode 100644 samples/rust/rust_driver_faux.rs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ