mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-arch <linux-arch@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] asm-generic changes for 5.15
Date: Wed, 1 Sep 2021 19:53:34 +0000	[thread overview]
Message-ID: <CAK8P3a0cc_d-NTemhNJzeSHgAwLcc31JB1AF61VDUH7FCTVDRg@mail.gmail.com> (raw)

The following changes since commit 2734d6c1b1a089fb593ef6a23d4b70903526fe0c:

  Linux 5.14-rc2 (2021-07-18 14:13:49 -0700)

are available in the git repository at:

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

for you to fetch changes up to 8f76f9c46952659dd925c21c3f62a0d05a3f3e71:

  bitops/non-atomic: make @nr unsigned to avoid any DIV (2021-08-14
13:07:42 +0200)

----------------------------------------------------------------
asm-generic changes for 5.15

The main content for 5.15 is a series that cleans up the handling of
strncpy_from_user() and strnlen_user(), removing a lot of slightly
incorrect versions of these in favor of the lib/strn*.c helpers
that implement these correctly and more efficiently.

The only architectures that retain a private version now are
mips, ia64, um and parisc. I had offered to convert those at all,
but Thomas Bogendoerfer wanted to keep the mips version for the
moment until he had a chance to do regression testing.

The branch also contains two patches for bitops and for ffs().

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

----------------------------------------------------------------
Arnd Bergmann (10):
      asm-generic/uaccess.h: remove __strncpy_from_user/__strnlen_user
      h8300: remove stale strncpy_from_user
      hexagon: use generic strncpy/strnlen from_user
      arc: use generic strncpy/strnlen from_user
      csky: use generic strncpy/strnlen from_user
      microblaze: use generic strncpy/strnlen from_user
      asm-generic: uaccess: remove inline strncpy_from_user/strnlen_user
      asm-generic: remove extra strn{cpy_from,len}_user declarations
      asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols
      Merge branch 'asm-generic-uaccess-7' of
git://git.kernel.org/.../arnd/asm-generic into asm-generic

Geert Uytterhoeven (1):
      asm-generic: ffs: Drop bogus reference to ffz location

Heiko Carstens (1):
      s390: use generic strncpy/strnlen from_user

Vineet Gupta (1):
      bitops/non-atomic: make @nr unsigned to avoid any DIV

 arch/alpha/Kconfig                        |   2 -
 arch/arc/include/asm/uaccess.h            |  72 -----------------
 arch/arc/mm/extable.c                     |  12 ---
 arch/arm/Kconfig                          |   2 -
 arch/arm64/Kconfig                        |   2 -
 arch/csky/include/asm/uaccess.h           |   6 --
 arch/csky/lib/usercopy.c                  | 102 ------------------------
 arch/h8300/kernel/h8300_ksyms.c           |   2 -
 arch/h8300/lib/Makefile                   |   2 +-
 arch/h8300/lib/strncpy.S                  |  35 ---------
 arch/hexagon/include/asm/uaccess.h        |  31 --------
 arch/hexagon/kernel/hexagon_ksyms.c       |   1 -
 arch/hexagon/mm/Makefile                  |   2 +-
 arch/hexagon/mm/strnlen_user.S            | 126 ------------------------------
 arch/ia64/Kconfig                         |   2 +
 arch/m68k/Kconfig                         |   2 -
 arch/microblaze/include/asm/uaccess.h     |  21 +----
 arch/microblaze/kernel/microblaze_ksyms.c |   1 -
 arch/microblaze/lib/uaccess_old.S         |  90 ---------------------
 arch/mips/Kconfig                         |   2 +
 arch/nds32/Kconfig                        |   2 -
 arch/nios2/Kconfig                        |   2 -
 arch/openrisc/Kconfig                     |   2 -
 arch/parisc/Kconfig                       |   2 +-
 arch/powerpc/Kconfig                      |   2 -
 arch/riscv/Kconfig                        |   2 -
 arch/s390/include/asm/uaccess.h           |  18 +----
 arch/s390/lib/uaccess.c                   |  52 ------------
 arch/sh/Kconfig                           |   2 -
 arch/sparc/Kconfig                        |   2 -
 arch/um/Kconfig                           |   2 +
 arch/um/include/asm/uaccess.h             |   5 +-
 arch/um/kernel/skas/uaccess.c             |  14 +++-
 arch/x86/Kconfig                          |   2 -
 arch/xtensa/Kconfig                       |   3 +-
 arch/xtensa/include/asm/uaccess.h         |   3 +-
 arch/xtensa/kernel/xtensa_ksyms.c         |   2 +-
 include/asm-generic/bitops/builtin-ffs.h  |   2 +-
 include/asm-generic/bitops/ffs.h          |   2 +-
 include/asm-generic/bitops/non-atomic.h   |  14 ++--
 include/asm-generic/uaccess.h             |  53 +++----------
 lib/Kconfig                               |  10 ++-
 42 files changed, 56 insertions(+), 657 deletions(-)
 delete mode 100644 arch/h8300/lib/strncpy.S
 delete mode 100644 arch/hexagon/mm/strnlen_user.S

             reply	other threads:[~2021-09-01 19:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01 19:53 Arnd Bergmann [this message]
2021-09-01 22:44 ` pr-tracker-bot

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=CAK8P3a0cc_d-NTemhNJzeSHgAwLcc31JB1AF61VDUH7FCTVDRg@mail.gmail.com \
    --to=arnd@kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®