linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Aaron Tomlin <atomlin@redhat.com>,
	Christophe Leroy <christophe.leroy@csgroup.eu>,
	fmdefrancesco@gmail.com, deller@gmx.de, yangyingliang@huawei.com,
	saravanak@google.com, mcgrof@kernel.org,
	linux-modules@vger.kernel.org
Subject: [GIT PULL] Modules updates for v6.0-rc1
Date: Mon, 8 Aug 2022 08:53:05 -0700	[thread overview]
Message-ID: <YvExYYWJY4HRi/NS@bombadil.infradead.org> (raw)

The following changes since commit 1a0e93df1e107dc766fdf86ae88076efd9f376e6:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2022-06-30 10:03:22 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-6.0-rc1

for you to fetch changes up to 554694ba120b87e39cf732ed632e6a0c52fafb7c:

  module: Replace kmap() with kmap_local_page() (2022-07-20 14:27:46 -0700)

----------------------------------------------------------------
Modules updates for 6.0

For the 6.0 merge window the modules code shifts to cleanup and minor fixes
effort. This is becomes much easier to do and review now due to the code
split to its own directory from effort on the last kernel release. I expect
to see more of this with time and as we expand on test coverage in the future.
The cleanups and fixes come from usual suspects such as Christophe Leroy and
Aaron Tomlin but there are also some other contributors.

One particular minor fix worth mentioning is from Helge Deller, where he spotted
a *forever* incorrect natural alignment on both ELF section header tables:

  * .altinstructions
  * __bug_table sections

A lot of back and forth went on in trying to determine the ill effects of this
misalignment being present for years and it has been determined there should
be no real ill effects unless you have a buggy exception handler. Helge actually
hit one of these buggy exception handlers on parisc which is how he ended up
spotting this issue. When implemented correctly these paths with incorrect
misalignment would just mean a performance penalty, but given that we are
dealing with alternatives on modules and with the __bug_table (where info
regardign BUG()/WARN() file/line information associated with it is stored)
this really shouldn't be a big deal.

The only other change with mentioning is the kmap() with kmap_local_page()
and my only concern with that was on what is done after preemption, but the
virtual addresses are restored after preemption. This is only used on module
decompression.

This all has sit on linux-next for a while except the kmap stuff which has
been there for 3 weeks.

----------------------------------------------------------------
Aaron Tomlin (4):
      module: kallsyms: Ensure preemption in add_kallsyms() with PREEMPT_RT
      module: Modify module_flags() to accept show_state argument
      module: Use strscpy() for last_unloaded_module
      module: Show the last unloaded module's taint flag(s)

Adrian Hunter (1):
      modules: Fix corruption of /proc/kallsyms

Christophe Leroy (5):
      module: Fix selfAssignment cppcheck warning
      module: Fix "warning: variable 'exit' set but not used"
      module: Fix ERRORs reported by checkpatch.pl
      module: Increase readability of module_kallsyms_lookup_name()
      module: Move module's Kconfig items in kernel/module/

Fabio M. De Francesco (1):
      module: Replace kmap() with kmap_local_page()

Helge Deller (2):
      modules: Ensure natural alignment for .altinstructions and __bug_table sections
      MAINTAINERS: Update file list for module maintainers

Masahiro Yamada (1):
      doc: module: update file references

Saravana Kannan (1):
      module: Add support for default value for module async_probe

Yang Yingliang (1):
      module: Use vzalloc() instead of vmalloc()/memset(0)

 Documentation/admin-guide/kernel-parameters.txt    |  17 +-
 Documentation/core-api/kernel-api.rst              |   2 +-
 Documentation/core-api/symbol-namespaces.rst       |   4 +-
 Documentation/livepatch/module-elf-format.rst      |  10 +-
 .../it_IT/core-api/symbol-namespaces.rst           |   6 +-
 .../translations/zh_CN/core-api/kernel-api.rst     |   2 +-
 .../zh_CN/core-api/symbol-namespaces.rst           |   2 +-
 MAINTAINERS                                        |   1 +
 init/Kconfig                                       | 293 +--------------------
 kernel/module/Kconfig                              | 293 +++++++++++++++++++++
 kernel/module/decompress.c                         |   8 +-
 kernel/module/internal.h                           |  15 +-
 kernel/module/kallsyms.c                           |  76 ++++--
 kernel/module/main.c                               |  52 ++--
 kernel/module/procfs.c                             |   2 +-
 scripts/module.lds.S                               |   2 +
 16 files changed, 423 insertions(+), 362 deletions(-)
 create mode 100644 kernel/module/Kconfig

             reply	other threads:[~2022-08-08 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 15:53 Luis Chamberlain [this message]
2022-08-08 22:37 ` [GIT PULL] Modules updates for v6.0-rc1 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=YvExYYWJY4HRi/NS@bombadil.infradead.org \
    --to=mcgrof@kernel.org \
    --cc=atomlin@redhat.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=deller@gmx.de \
    --cc=fmdefrancesco@gmail.com \
    --cc=linux-modules@vger.kernel.org \
    --cc=saravanak@google.com \
    --cc=torvalds@linux-foundation.org \
    --cc=yangyingliang@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).