All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jessica Yu <jeyu@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [GIT PULL] Modules updates for v5.11
Date: Thu, 17 Dec 2020 15:20:23 +0100	[thread overview]
Message-ID: <20201217142020.GA19116@linux-8ccs> (raw)

Hi Linus,

Please pull below to receive modules updates for the v5.11 merge window.
A summary can be found in the signed tag.

Thank you,

Jessica

---
The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

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

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git/ tags/modules-for-v5.11

for you to fetch changes up to 38dc717e97153e46375ee21797aa54777e5498f3:

  module: delay kobject uevent until after module init call (2020-12-09 09:42:47 +0100)

----------------------------------------------------------------
Modules updates for v5.11

Summary of modules changes for the 5.11 merge window:

- Fix a race condition between systemd/udev and the module loader.
  The module loader was sending a uevent before the module was fully
  initialized (i.e., before its init function has been called). This means
  udev can start processing the module uevent before the module has
  finished initializing, and some udev rules expect that the module has
  initialized already upon receiving the uevent. This resulted in some
  systemd mount units failing if udev processes the event faster than the
  module can finish init. This is fixed by delaying the uevent until after
  the module has called its init routine.

- Make the linker array sections for kernel params and module version
  attributes more robust by switching to use the alignment of the type in
  question. Namely, linker section arrays will be constructed using the
  alignment required by the struct (using __alignof__()) as opposed to a
  specific value such as sizeof(void *) or sizeof(long). This is less
  likely to cause breakages should the size of the type ever change (from
  Johan Hovold)

- Fix module state inconsistency by setting it back to GOING when a module
  fails to load and is on its way out (from Miroslav Benes)

- Some comment and code cleanups (from Sergey Shtylyov)

Signed-off-by: Jessica Yu <jeyu@kernel.org>

----------------------------------------------------------------
Jessica Yu (1):
      module: delay kobject uevent until after module init call

Johan Hovold (7):
      module: drop version-attribute alignment
      module: simplify version-attribute handling
      params: drop redundant "unused" attributes
      params: use type alignment for kernel parameters
      params: clean up module-param macros
      init: use type alignment for kernel parameters
      module: drop semicolon from version macro

Miroslav Benes (1):
      module: set MODULE_STATE_GOING state when a module fails to load

Sergey Shtylyov (6):
      module: merge repetitive strings in module_sig_check()
      module: avoid *goto*s in module_sig_check()
      module: only handle errors with the *switch* statement in module_sig_check()
      module: fix up 'kernel-doc' comments
      module: add more 'kernel-doc' comments
      module: fix comment style

 include/linux/init.h        |   2 +-
 include/linux/module.h      |  28 +++----
 include/linux/moduleparam.h |  12 +--
 kernel/module.c             | 200 ++++++++++++++++++++++++++------------------
 kernel/params.c             |  10 +--
 5 files changed, 142 insertions(+), 110 deletions(-)

             reply	other threads:[~2020-12-17 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 14:20 Jessica Yu [this message]
2020-12-17 21:44 ` [GIT PULL] Modules updates for v5.11 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=20201217142020.GA19116@linux-8ccs \
    --to=jeyu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.