[GIT,PULL] asm-generic updates for 6.4

Message ID 66184958-d99a-4f64-bc67-50a703f51019@app.fastmail.com
State New
Headers
Series [GIT,PULL] asm-generic updates for 6.4 |

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.4

Message

Arnd Bergmann April 24, 2023, 9:15 p.m. UTC
  The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

  Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.4

for you to fetch changes up to 73afb20716e163cdaf662af30d3597aeaacc6a0b:

  Merge branch 'asm-generic-io' into asm-generic (2023-04-05 22:20:00 +0200)

----------------------------------------------------------------
asm-generic updates for 6.4

These are various cleanups, fixing a number of uapi header files to no
longer reference CONFIG_* symbols, and one patch that introduces the
new CONFIG_HAS_IOPORT symbol for architectures that provide working
inb()/outb() macros, as a preparation for adding driver dependencies
on those in the following release.

----------------------------------------------------------------
Arnd Bergmann (1):
      Merge branch 'asm-generic-io' into asm-generic

Niklas Schnelle (1):
      Kconfig: introduce HAS_IOPORT option and select it as necessary

Palmer Dabbelt (3):
      Move COMPAT_ATM_ADDPARTY to net/atm/svc.c
      Move ep_take_care_of_epollwakeup() to fs/eventpoll.c
      Move bp_type_idx to include/linux/hw_breakpoint.h

Thomas Huth (2):
      pktcdvd: Remove CONFIG_CDROM_PKTCDVD_WCACHE from uapi header
      scripts: Update the CONFIG_* ignore list in headers_install.sh

 arch/alpha/Kconfig                       |  1 +
 arch/arm/Kconfig                         |  1 +
 arch/arm64/Kconfig                       |  1 +
 arch/ia64/Kconfig                        |  1 +
 arch/loongarch/Kconfig                   |  1 +
 arch/m68k/Kconfig                        |  1 +
 arch/microblaze/Kconfig                  |  1 +
 arch/mips/Kconfig                        |  1 +
 arch/parisc/Kconfig                      |  1 +
 arch/powerpc/Kconfig                     |  1 +
 arch/riscv/Kconfig                       |  1 +
 arch/sh/Kconfig                          |  1 +
 arch/sparc/Kconfig                       |  1 +
 arch/x86/Kconfig                         |  1 +
 drivers/block/pktcdvd.c                  | 13 +++++++++----
 drivers/bus/Kconfig                      |  2 +-
 drivers/parisc/Kconfig                   |  1 +
 fs/eventpoll.c                           | 13 +++++++++++++
 include/linux/hw_breakpoint.h            | 10 ++++++++++
 include/uapi/linux/atmdev.h              |  4 ----
 include/uapi/linux/eventpoll.h           | 12 ------------
 include/uapi/linux/hw_breakpoint.h       | 10 ----------
 include/uapi/linux/pktcdvd.h             | 11 -----------
 lib/Kconfig                              |  4 ++++
 net/atm/svc.c                            |  5 +++++
 scripts/headers_install.sh               |  4 ----
 tools/include/uapi/linux/hw_breakpoint.h | 10 ----------
 27 files changed, 57 insertions(+), 56 deletions(-)
  

Comments

Linus Torvalds April 25, 2023, 7:27 p.m. UTC | #1
On Mon, Apr 24, 2023 at 2:16 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> These are various cleanups, fixing a number of uapi header files to no
> longer reference CONFIG_* symbols, and one patch that introduces the
> new CONFIG_HAS_IOPORT symbol for architectures that provide working
> inb()/outb() macros

Strange. I was sure we had this, but you're right, we only had HAS_IOMEM.

And then we had that HAS_IOPORT_MAP which was kind of related.

Anyway, the new HAS_IOPORT looks like something we should always had
had, I have no complaints, I was just expressing surprise that it
wasn't already there ;)

          Linus
  
pr-tracker-bot@kernel.org April 25, 2023, 7:44 p.m. UTC | #2
The pull request you sent on Mon, 24 Apr 2023 23:15:59 +0200:

> https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/53b5e72b9d89853b7e622239676163ede52acffe

Thank you!
  
Arnd Bergmann April 25, 2023, 9:13 p.m. UTC | #3
On Tue, Apr 25, 2023, at 20:27, Linus Torvalds wrote:
> On Mon, Apr 24, 2023 at 2:16 PM Arnd Bergmann <arnd@arndb.de> wrote:
>>
>> These are various cleanups, fixing a number of uapi header files to no
>> longer reference CONFIG_* symbols, and one patch that introduces the
>> new CONFIG_HAS_IOPORT symbol for architectures that provide working
>> inb()/outb() macros
>
> Strange. I was sure we had this, but you're right, we only had HAS_IOMEM.
>
> And then we had that HAS_IOPORT_MAP which was kind of related.
>
> Anyway, the new HAS_IOPORT looks like something we should always had
> had, I have no complaints, I was just expressing surprise that it
> wasn't already there ;)

Yes, we've discussed this over a long time, and thankfully Niklas has
a nice series that we should be able to complete soon. There was an
older series he did a few years ago that you Nak'ed because it silently
turned outb/inb operations into nops on architectures without PIO
capabilities. The coming series is what we did in response to that,
and it's clearly the right solution, it's just tedious to work out
the exact details for how to deal with individual drivers that
can work both with and without PIO support, e.g. i8250 uarts.

     Arnd