From: Niklas Schnelle <schnelle@linux.ibm.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mathias Nyman <mathias.nyman@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Niklas Schnelle <schnelle@linux.ibm.com>,
Basavaraj Natikar <Basavaraj.Natikar@amd.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Arnd Bergmann <arnd@arndb.de>, Heiko Carstens <hca@linux.ibm.com>
Subject: [PATCH 0/3] usb: pci-quirks: Handle HAS_IOPORT depenedencies
Date: Mon, 11 Sep 2023 14:56:50 +0200 [thread overview]
Message-ID: <20230911125653.1393895-1-schnelle@linux.ibm.com> (raw)
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
next reply other threads:[~2023-09-11 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 12:56 Niklas Schnelle [this message]
2023-09-11 12:56 ` [PATCH 1/3] usb: pci-quirks: group AMD specific quirk code together Niklas Schnelle
2023-09-11 12:56 ` [PATCH 2/3] usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk Niklas Schnelle
2023-09-11 12:56 ` [PATCH 3/3] usb: pci-quirks: handle HAS_IOPORT dependency for UHCI handoff Niklas Schnelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230911125653.1393895-1-schnelle@linux.ibm.com \
--to=schnelle@linux.ibm.com \
--cc=Basavaraj.Natikar@amd.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=hca@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox