usb: pci-quirks: Handle HAS_IOPORT depenedencies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | usb: pci-quirks: group AMD specific quirk code togetherdrivers/ drivers/ | +68 | 0 replies | |
| 2/3 | usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirkdrivers/ drivers/ drivers/ +2 more | +54 | 0 replies | |
| 3/3 | usb: pci-quirks: handle HAS_IOPORT dependency for UHCI handoffdrivers/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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
Signature · 1 line
2.39.2