[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0ZxiLw9hauUynTS@bombadil.infradead.org>
Date: Tue, 26 Nov 2024 17:10:32 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>, samitolvanen@...gle.com,
petr.pavlu@...e.com, da.gomez@...sung.com,
linux-modules@...r.kernel.org
Cc: patches@...ts.linux.dev, linux-kernel@...r.kernel.org,
masahiroy@...nel.org, mmaurer@...gle.com, arnd@...db.de,
deller@....de, song@...nel.org, mcgrof@...nel.org
Subject: [GIT PULL] Modules changes for v6.13-rc1
The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:
Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ tags/modules-6.13-rc1
for you to fetch changes up to 2466b31201424ccb7eda00277222302a4d6576cb:
tests/module/gen_test_kallsyms.sh: use 0 value for variables (2024-11-07 14:32:55 -0800)
----------------------------------------------------------------
Modules changes for v6.13-rc1
Highlights for this merge window:
* The whole caching of module code into huge pages by Mike Rapoport is going
in through Andrew Morton's tree due to some other code dependencies. That's
really the biggest highlight for Linux kernel modules in this release. With
it we share huge pages for modules, starting off with x86. Expect to see that
soon through Andrew!
* Helge Deller addressed some lingering low hanging fruit alignment
enhancements by. It is worth pointing out that from his old patch series
I dropped his vmlinux.lds.h change at Masahiro's request as he would
prefer this to be specified in asm code [0].
[0] https://lore.kernel.org/all/20240129192644.3359978-5-mcgrof@kernel.org/T/#m9efef5e700fbecd28b7afb462c15eed8ba78ef5a
* Matthew Maurer and Sami Tolvanen have been tag teaming to help
get us closer to a modversions for Rust. In this cycle we take in
quite a lot of the refactoring for ELF validation. I expect modversions
for Rust will be merged by v6.14 as that code is mostly ready now.
* Adds a new modules selftests: kallsyms which helps us tests find_symbol()
and the limits of kallsyms on Linux today.
* We have a realtime mailing list to kernel-ci testing for modules now
which relies and combines patchwork, kpd and kdevops:
- https://patchwork.kernel.org/project/linux-modules/list/
- https://github.com/linux-kdevops/kdevops/blob/main/docs/kernel-ci/README.md
- https://github.com/linux-kdevops/kdevops/blob/main/docs/kernel-ci/kernel-ci-kpd.md
- https://github.com/linux-kdevops/kdevops/blob/main/docs/kernel-ci/linux-modules-kdevops-ci.md
If you want to help avoid Linux kernel modules regressions, now its simple,
just add a new Linux modules sefltests under tools/testing/selftests/module/
That is it. All new selftests will be used and leveraged automatically by
the CI.
----------------------------------------------------------------
Arnd Bergmann (1):
selftests: kallsyms: add MODULE_DESCRIPTION
Helge Deller (2):
modules: Ensure 64-bit alignment on __ksymtab_* sections
modules: Add missing entry for __ex_table
Luis Chamberlain (2):
selftests: add new kallsyms selftests
tests/module/gen_test_kallsyms.sh: use 0 value for variables
Matthew Maurer (13):
module: Take const arg in validate_section_offset
module: Factor out elf_validity_ehdr
module: Factor out elf_validity_cache_sechdrs
module: Factor out elf_validity_cache_secstrings
module: Factor out elf_validity_cache_index_info
module: Factor out elf_validity_cache_index_mod
module: Factor out elf_validity_cache_index_sym
module: Factor out elf_validity_cache_index_str
module: Group section index calculations together
module: Factor out elf_validity_cache_strtab
module: Additional validation in elf_validity_cache_strtab
module: Reformat struct for code style
scripts: Remove export_report.pl
Makefile | 6 +-
kernel/module/internal.h | 7 +-
kernel/module/main.c | 569 +++++++++++++++++++-------
lib/Kconfig.debug | 105 +++++
lib/Makefile | 1 +
lib/tests/Makefile | 1 +
lib/tests/module/.gitignore | 4 +
lib/tests/module/Makefile | 15 +
lib/tests/module/gen_test_kallsyms.sh | 129 ++++++
scripts/export_report.pl | 186 ---------
scripts/module.lds.S | 9 +-
tools/testing/selftests/module/Makefile | 12 +
tools/testing/selftests/module/config | 3 +
tools/testing/selftests/module/find_symbol.sh | 81 ++++
14 files changed, 785 insertions(+), 343 deletions(-)
create mode 100644 lib/tests/Makefile
create mode 100644 lib/tests/module/.gitignore
create mode 100644 lib/tests/module/Makefile
create mode 100755 lib/tests/module/gen_test_kallsyms.sh
delete mode 100755 scripts/export_report.pl
create mode 100644 tools/testing/selftests/module/Makefile
create mode 100644 tools/testing/selftests/module/config
create mode 100755 tools/testing/selftests/module/find_symbol.sh
Powered by blists - more mailing lists