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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230911125653.1393895-1-schnelle@linux.ibm.com>
Date:   Mon, 11 Sep 2023 14:56:50 +0200
From:   Niklas Schnelle <schnelle@...ux.ibm.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Mathias Nyman <mathias.nyman@...el.com>
Cc:     Alan Stern <stern@...land.harvard.edu>,
        Niklas Schnelle <schnelle@...ux.ibm.com>,
        Basavaraj Natikar <Basavaraj.Natikar@....com>,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        Arnd Bergmann <arnd@...db.de>,
        Heiko Carstens <hca@...ux.ibm.com>
Subject: [PATCH 0/3] usb: pci-quirks: Handle HAS_IOPORT depenedencies

Hi Greg, Hi Mathias,

This is a follow up to my ongoing effort of making the inb()/outb() and
similar I/O port accessors compile-time optional. Previously I sent this
as a treewide series titled "treewide: Remove I/O port accessors for
HAS_IOPORT=n" with the latest being its 5th version[0]. With about half
of the per-subsystem patches merged I'm changing over to per-subsystem
series. These series are stand alone and should be merged via the
relevant tree such that with all subsystems complete we can follow this
up with the last patch[1] that will make the I/O port accessors
compile-time optional.

As for compile-time vs runtime see Linus' reply to my first attempt[2].

This series is for the USB subsystem and incorporates the feedback
received for the previous single patch USB subsystem change. In
particular I split things up in a preparatory code movement patch
followed by two independent patches for adding the HAS_IOPORT handling.
As the pci-quirks.c and hcd-pci.c files handle a diverse set of devices
I sadly couldn't get around ifdeffery but at least now it's contained in
smaller patches.

Thanks,
Niklas

Niklas Schnelle (3):
  usb: pci-quirks: group AMD specific quirk code together
  usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk
  usb: pci-quirks: handle HAS_IOPORT dependency for UHCI handoff

 drivers/usb/Kconfig           |  10 +++
 drivers/usb/core/hcd-pci.c    |   3 +-
 drivers/usb/host/pci-quirks.c | 144 ++++++++++++++++++----------------
 drivers/usb/host/pci-quirks.h |  34 +++++---
 include/linux/usb/hcd.h       |  17 ++++
 5 files changed, 131 insertions(+), 77 deletions(-)


base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ