linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 1/3] cleanups for v5.11
@ 2020-12-15 15:44 Arnd Bergmann
  2020-12-15 15:45 ` [GIT PULL 2/3] asm-generic: mmu-context cleanup Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arnd Bergmann @ 2020-12-15 15:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-arch, Linux Kernel Mailing List

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

  Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
tags/asm-generic-cleanup-5.11

for you to fetch changes up to 8d0dd23c6c78d140ed2132f523592ddb4cea839f:

  syscalls: Fix file comments for syscalls implemented in kernel/sys.c
(2020-11-13 14:53:57 +0100)

----------------------------------------------------------------
asm-generic cleanups for v5.11

These are a couple of compiler warning fixes to make 'make W=2'
less noisy, as well as some fixes to code comments in asm-generic.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

----------------------------------------------------------------
Arnd Bergmann (4):
      asm-generic: percpu: avoid Wshadow warning
      asm-generic: fix ffs -Wshadow warning
      qspinlock: use signed temporaries for cmpxchg
      ctype.h: remove duplicate isdigit() helper

Tal Zussman (1):
      syscalls: Fix file comments for syscalls implemented in kernel/sys.c

Viresh Kumar (1):
      asm-generic/sembuf: Update architecture related information in comment

 include/asm-generic/bitops/builtin-ffs.h |  5 +----
 include/asm-generic/percpu.h             | 18 +++++++++---------
 include/asm-generic/qrwlock.h            |  8 ++++----
 include/asm-generic/qspinlock.h          |  4 ++--
 include/linux/compiler_types.h           | 11 +++++++++++
 include/linux/ctype.h                    | 15 +++++++++++----
 include/linux/syscalls.h                 |  2 +-
 include/uapi/asm-generic/sembuf.h        |  6 +++---
 include/uapi/asm-generic/unistd.h        |  2 +-
 9 files changed, 43 insertions(+), 28 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL 2/3] asm-generic: mmu-context cleanup
  2020-12-15 15:44 [GIT PULL 1/3] cleanups for v5.11 Arnd Bergmann
@ 2020-12-15 15:45 ` Arnd Bergmann
  2020-12-16  8:22   ` pr-tracker-bot
  2020-12-15 15:46 ` [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup Arnd Bergmann
  2020-12-16  8:22 ` [GIT PULL 1/3] cleanups for v5.11 pr-tracker-bot
  2 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2020-12-15 15:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-arch, Linux Kernel Mailing List

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

  Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
tags/asm-generic-mmu-context-5.11

for you to fetch changes up to c3634425ff9454510876a26e9e9738788bb88abd:

  h8300: Fix generic mmu_context build (2020-11-16 16:53:52 +0100)

----------------------------------------------------------------
asm-generic: mmu-context cleanup

This is a cleanup series from Nicholas Piggin, preparing for
later changes. The asm/mmu_context.h header are generalized
and common code moved to asm-gneneric/mmu_context.h.

This saves a bit of code and makes it easier to change in
the future.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

----------------------------------------------------------------
Geert Uytterhoeven (1):
      m68k: mmu_context: Fix Sun-3 build

Nicholas Piggin (24):
      asm-generic: add generic MMU versions of mmu context functions
      alpha: use asm-generic/mmu_context.h for no-op implementations
      arc: use asm-generic/mmu_context.h for no-op implementations
      arm: use asm-generic/mmu_context.h for no-op implementations
      arm64: use asm-generic/mmu_context.h for no-op implementations
      csky: use asm-generic/mmu_context.h for no-op implementations
      hexagon: use asm-generic/mmu_context.h for no-op implementations
      ia64: use asm-generic/mmu_context.h for no-op implementations
      m68k: use asm-generic/mmu_context.h for no-op implementations
      microblaze: use asm-generic/mmu_context.h for no-op implementations
      mips: use asm-generic/mmu_context.h for no-op implementations
      nds32: use asm-generic/mmu_context.h for no-op implementations
      nios2: use asm-generic/mmu_context.h for no-op implementations
      openrisc: use asm-generic/mmu_context.h for no-op implementations
      parisc: use asm-generic/mmu_context.h for no-op implementations
      powerpc: use asm-generic/mmu_context.h for no-op implementations
      riscv: use asm-generic/mmu_context.h for no-op implementations
      s390: use asm-generic/mmu_context.h for no-op implementations
      sh: use asm-generic/mmu_context.h for no-op implementations
      sparc: use asm-generic/mmu_context.h for no-op implementations
      um: use asm-generic/mmu_context.h for no-op implementations
      x86: use asm-generic/mmu_context.h for no-op implementations
      xtensa: use asm-generic/mmu_context.h for no-op implementations
      h8300: Fix generic mmu_context build

 arch/alpha/include/asm/mmu_context.h         | 12 ++----
 arch/arc/include/asm/mmu_context.h           | 17 ++++----
 arch/arm/include/asm/mmu_context.h           | 26 ++-----------
 arch/arm64/include/asm/mmu_context.h         |  8 ++--
 arch/c6x/include/asm/mmu_context.h           |  6 +++
 arch/csky/include/asm/mmu_context.h          |  8 ++--
 arch/h8300/include/asm/mmu_context.h         |  6 +++
 arch/hexagon/include/asm/mmu_context.h       | 33 +++-------------
 arch/ia64/include/asm/mmu_context.h          | 17 ++------
 arch/m68k/include/asm/mmu_context.h          | 38 +++++-------------
 arch/microblaze/include/asm/mmu_context.h    |  2 +-
 arch/microblaze/include/asm/mmu_context_mm.h |  8 ++--
 arch/microblaze/include/asm/processor.h      |  3 --
 arch/mips/include/asm/mmu_context.h          | 11 ++----
 arch/nds32/include/asm/mmu_context.h         | 10 +----
 arch/nios2/include/asm/mmu_context.h         | 21 ++--------
 arch/openrisc/include/asm/mmu_context.h      |  8 ++--
 arch/parisc/include/asm/mmu_context.h        | 12 +++---
 arch/powerpc/include/asm/mmu_context.h       | 13 ++++---
 arch/riscv/include/asm/mmu_context.h         | 22 +----------
 arch/s390/include/asm/mmu_context.h          |  9 ++---
 arch/sh/include/asm/mmu_context.h            |  7 ++--
 arch/sh/include/asm/mmu_context_32.h         |  9 -----
 arch/sparc/include/asm/mmu_context_32.h      | 10 ++---
 arch/sparc/include/asm/mmu_context_64.h      | 10 ++---
 arch/um/include/asm/mmu_context.h            | 12 +++---
 arch/x86/include/asm/mmu_context.h           |  6 +++
 arch/xtensa/include/asm/mmu_context.h        | 11 ++----
 arch/xtensa/include/asm/nommu_context.h      | 26 +------------
 include/asm-generic/mmu_context.h            | 58 +++++++++++++++++++++-------
 include/asm-generic/nommu_context.h          | 19 +++++++++
 31 files changed, 182 insertions(+), 276 deletions(-)
 create mode 100644 arch/c6x/include/asm/mmu_context.h
 create mode 100644 arch/h8300/include/asm/mmu_context.h
 create mode 100644 include/asm-generic/nommu_context.h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup
  2020-12-15 15:44 [GIT PULL 1/3] cleanups for v5.11 Arnd Bergmann
  2020-12-15 15:45 ` [GIT PULL 2/3] asm-generic: mmu-context cleanup Arnd Bergmann
@ 2020-12-15 15:46 ` Arnd Bergmann
  2020-12-16  8:22   ` pr-tracker-bot
  2020-12-16  8:22 ` [GIT PULL 1/3] cleanups for v5.11 pr-tracker-bot
  2 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2020-12-15 15:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-arch, Linux Kernel Mailing List

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

  Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
tags/asm-generic-timers-5.11

for you to fetch changes up to 0774a6ed294b963dc76df2d8342ab86d030759ec:

  timekeeping: default GENERIC_CLOCKEVENTS to enabled (2020-10-30
21:57:07 +0100)

----------------------------------------------------------------
asm-generic: cross-architecture timer cleanup

This cleans up two ancient timer features that were never completed in
the past, CONFIG_GENERIC_CLOCKEVENTS and CONFIG_ARCH_USES_GETTIMEOFFSET.

There was only one user left for the ARCH_USES_GETTIMEOFFSET variant
of clocksource implementations, the ARM EBSA110 platform. Rather than
changing to use modern timekeeping, we remove the platform entirely as
Russell no longer uses his machine and nobody else seems to have one
any more.

The conditional code for using arch_gettimeoffset() is removed as
a result.

For CONFIG_GENERIC_CLOCKEVENTS, there are still a couple of platforms
not using clockevent drivers: parisc, ia64, most of m68k, and one
Arm platform. These all do timer ticks slighly differently, and this
gets cleaned up to the point they at least all call the same helper
function. Instead of most platforms using 'select GENERIC_CLOCKEVENTS'
in Kconfig, the polarity is now reversed, with the few remaining ones
selecting LEGACY_TIMER_TICK instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

----------------------------------------------------------------
Arnd Bergmann (15):
      ARM: remove ebsa110 platform
      net: remove am79c961a driver
      timekeeping: remove arch_gettimeoffset
      timekeeping: add CONFIG_LEGACY_TIMER_TICK
      ia64: convert to legacy_timer_tick
      ARM: rpc: use legacy_timer_tick
      parisc: use legacy_timer_tick
      m68k: coldfire: use legacy_timer_tick()
      m68k: split heartbeat out of timer function
      m68k: sun3/sun3c: use legacy_timer_tick
      m68k: m68328: use legacy_timer_tick()
      m68k: change remaining timers to legacy_timer_tick
      m68k: remove timer_interrupt() function
      timekeeping: remove xtime_update
      timekeeping: default GENERIC_CLOCKEVENTS to enabled

 .../features/time/clockevents/arch-support.txt     |   8 +-
 .../time/modern-timekeeping/arch-support.txt       |  33 -
 MAINTAINERS                                        |   8 -
 arch/alpha/Kconfig                                 |   1 -
 arch/arc/Kconfig                                   |   1 -
 arch/arm/Kconfig                                   |  37 +-
 arch/arm/Kconfig.debug                             |   6 +-
 arch/arm/Makefile                                  |   8 -
 arch/arm/configs/ebsa110_defconfig                 |  74 --
 arch/arm/include/asm/mach/time.h                   |   2 -
 arch/arm/kernel/Makefile                           |   6 +-
 arch/arm/kernel/time.c                             |  14 -
 arch/arm/mach-ebsa110/Makefile                     |   8 -
 arch/arm/mach-ebsa110/Makefile.boot                |   5 -
 arch/arm/mach-ebsa110/core.c                       | 323 ---------
 arch/arm/mach-ebsa110/core.h                       |  38 -
 arch/arm/mach-ebsa110/include/mach/entry-macro.S   |  33 -
 arch/arm/mach-ebsa110/include/mach/hardware.h      |  21 -
 arch/arm/mach-ebsa110/include/mach/io.h            |  89 ---
 arch/arm/mach-ebsa110/include/mach/irqs.h          |  17 -
 arch/arm/mach-ebsa110/include/mach/memory.h        |  22 -
 arch/arm/mach-ebsa110/include/mach/uncompress.h    |  41 --
 arch/arm/mach-ebsa110/io.c                         | 440 ------------
 arch/arm/mach-ebsa110/leds.c                       |  71 --
 arch/arm/mach-rpc/time.c                           |   2 +-
 arch/arm64/Kconfig                                 |   1 -
 arch/arm64/Kconfig.platforms                       |   1 -
 arch/c6x/Kconfig                                   |   1 -
 arch/csky/Kconfig                                  |   1 -
 arch/h8300/Kconfig                                 |   1 -
 arch/hexagon/Kconfig                               |   1 -
 arch/ia64/Kconfig                                  |   1 +
 arch/ia64/kernel/time.c                            |  36 +-
 arch/m68k/68000/timers.c                           |   7 +-
 arch/m68k/Kconfig.cpu                              |  37 +-
 arch/m68k/Kconfig.machine                          |  11 +
 arch/m68k/amiga/config.c                           |  11 +-
 arch/m68k/apollo/config.c                          |  11 +-
 arch/m68k/atari/config.c                           |   2 +-
 arch/m68k/atari/time.c                             |   9 +-
 arch/m68k/bvme6000/config.c                        |   9 +-
 arch/m68k/coldfire/Makefile                        |  32 +-
 arch/m68k/coldfire/pit.c                           |   2 +-
 arch/m68k/coldfire/sltimers.c                      |   8 +-
 arch/m68k/coldfire/timers.c                        |   8 +-
 arch/m68k/hp300/time.c                             |   8 +-
 arch/m68k/hp300/time.h                             |   2 +-
 arch/m68k/include/asm/machdep.h                    |  12 +-
 arch/m68k/kernel/setup_mm.c                        |   2 +-
 arch/m68k/kernel/setup_no.c                        |   2 +-
 arch/m68k/kernel/time.c                            |  18 +-
 arch/m68k/mac/config.c                             |   6 +-
 arch/m68k/mac/via.c                                |   8 +-
 arch/m68k/mvme147/config.c                         |   9 +-
 arch/m68k/mvme16x/config.c                         |   9 +-
 arch/m68k/q40/config.c                             |   2 +-
 arch/m68k/q40/q40ints.c                            |  10 +-
 arch/m68k/sun3/config.c                            |   4 +-
 arch/m68k/sun3/sun3ints.c                          |   3 +-
 arch/m68k/sun3x/time.c                             |   5 +-
 arch/m68k/sun3x/time.h                             |   2 +-
 arch/microblaze/Kconfig                            |   1 -
 arch/mips/Kconfig                                  |   1 -
 arch/nds32/Kconfig                                 |   1 -
 arch/nios2/Kconfig                                 |   1 -
 arch/openrisc/Kconfig                              |   1 -
 arch/parisc/Kconfig                                |   2 +-
 arch/parisc/kernel/time.c                          |   9 +-
 arch/powerpc/Kconfig                               |   1 -
 arch/riscv/Kconfig                                 |   1 -
 arch/s390/Kconfig                                  |   1 -
 arch/sh/Kconfig                                    |   1 -
 arch/sparc/Kconfig                                 |   1 -
 arch/um/Kconfig                                    |   1 -
 arch/x86/Kconfig                                   |   1 -
 arch/xtensa/Kconfig                                |   1 -
 drivers/Makefile                                   |   2 -
 drivers/clocksource/Kconfig                        |   2 +-
 drivers/net/ethernet/amd/Kconfig                   |  10 +-
 drivers/net/ethernet/amd/Makefile                  |   1 -
 drivers/net/ethernet/amd/am79c961a.c               | 763 ---------------------
 drivers/net/ethernet/amd/am79c961a.h               | 143 ----
 drivers/watchdog/Kconfig                           |   2 +-
 include/linux/time.h                               |  13 -
 include/linux/timekeeping.h                        |   3 +-
 kernel/time/Kconfig                                |  18 +-
 kernel/time/Makefile                               |   1 +
 kernel/time/clocksource.c                          |   8 -
 kernel/time/tick-legacy.c                          |  37 +
 kernel/time/timekeeping.c                          |  41 +-
 kernel/time/timekeeping.h                          |   1 +
 kernel/trace/Kconfig                               |   2 -
 92 files changed, 218 insertions(+), 2453 deletions(-)
 delete mode 100644
Documentation/features/time/modern-timekeeping/arch-support.txt
 delete mode 100644 arch/arm/configs/ebsa110_defconfig
 delete mode 100644 arch/arm/mach-ebsa110/Makefile
 delete mode 100644 arch/arm/mach-ebsa110/Makefile.boot
 delete mode 100644 arch/arm/mach-ebsa110/core.c
 delete mode 100644 arch/arm/mach-ebsa110/core.h
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/entry-macro.S
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/io.h
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/irqs.h
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/memory.h
 delete mode 100644 arch/arm/mach-ebsa110/include/mach/uncompress.h
 delete mode 100644 arch/arm/mach-ebsa110/io.c
 delete mode 100644 arch/arm/mach-ebsa110/leds.c
 delete mode 100644 drivers/net/ethernet/amd/am79c961a.c
 delete mode 100644 drivers/net/ethernet/amd/am79c961a.h
 create mode 100644 kernel/time/tick-legacy.c

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 1/3] cleanups for v5.11
  2020-12-15 15:44 [GIT PULL 1/3] cleanups for v5.11 Arnd Bergmann
  2020-12-15 15:45 ` [GIT PULL 2/3] asm-generic: mmu-context cleanup Arnd Bergmann
  2020-12-15 15:46 ` [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup Arnd Bergmann
@ 2020-12-16  8:22 ` pr-tracker-bot
  2 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2020-12-16  8:22 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Linus Torvalds, linux-arch, Linux Kernel Mailing List

The pull request you sent on Tue, 15 Dec 2020 16:44:25 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-cleanup-5.11

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

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup
  2020-12-15 15:46 ` [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup Arnd Bergmann
@ 2020-12-16  8:22   ` pr-tracker-bot
  0 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2020-12-16  8:22 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Linus Torvalds, linux-arch, Linux Kernel Mailing List

The pull request you sent on Tue, 15 Dec 2020 16:46:25 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-timers-5.11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7a932e5702886e872a545d64605c06a51ee17973

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 2/3] asm-generic: mmu-context cleanup
  2020-12-15 15:45 ` [GIT PULL 2/3] asm-generic: mmu-context cleanup Arnd Bergmann
@ 2020-12-16  8:22   ` pr-tracker-bot
  0 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2020-12-16  8:22 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Linus Torvalds, linux-arch, Linux Kernel Mailing List

The pull request you sent on Tue, 15 Dec 2020 16:45:05 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-mmu-context-5.11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/157807123c94acc8dcddd08a2335bd0173c5d68d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-16  8:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 15:44 [GIT PULL 1/3] cleanups for v5.11 Arnd Bergmann
2020-12-15 15:45 ` [GIT PULL 2/3] asm-generic: mmu-context cleanup Arnd Bergmann
2020-12-16  8:22   ` pr-tracker-bot
2020-12-15 15:46 ` [GIT PULL 3/3] asm-generic: cross-architecture timer cleanup Arnd Bergmann
2020-12-16  8:22   ` pr-tracker-bot
2020-12-16  8:22 ` [GIT PULL 1/3] cleanups for v5.11 pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).