Skip to content

Commit b536125

Browse files
committed
Merge tag 'modules-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux
Pull modules updates from Luis Chamberlain: - 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. * tag 'modules-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux: tests/module/gen_test_kallsyms.sh: use 0 value for variables scripts: Remove export_report.pl selftests: kallsyms: add MODULE_DESCRIPTION selftests: add new kallsyms selftests module: Reformat struct for code style module: Additional validation in elf_validity_cache_strtab module: Factor out elf_validity_cache_strtab module: Group section index calculations together module: Factor out elf_validity_cache_index_str module: Factor out elf_validity_cache_index_sym module: Factor out elf_validity_cache_index_mod module: Factor out elf_validity_cache_index_info module: Factor out elf_validity_cache_secstrings module: Factor out elf_validity_cache_sechdrs module: Factor out elf_validity_ehdr module: Take const arg in validate_section_offset modules: Add missing entry for __ex_table modules: Ensure 64-bit alignment on __ksymtab_* sections
2 parents 7d40507 + 2466b31 commit b536125

File tree

14 files changed

+785
-343
lines changed

14 files changed

+785
-343
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,6 @@ help:
16101610
@echo ' with a stack size larger than MINSTACKSIZE (default: 100)'
16111611
@echo ' versioncheck - Sanity check on version.h usage'
16121612
@echo ' includecheck - Check for duplicate included header files'
1613-
@echo ' export_report - List the usages of all exported symbols'
16141613
@echo ' headerdep - Detect inclusion cycles in headers'
16151614
@echo ' coccicheck - Check with Coccinelle'
16161615
@echo ' clang-analyzer - Check with clang static analyzer'
@@ -2023,7 +2022,7 @@ endif
20232022
# Scripts to check various things for consistency
20242023
# ---------------------------------------------------------------------------
20252024

2026-
PHONY += includecheck versioncheck coccicheck export_report
2025+
PHONY += includecheck versioncheck coccicheck
20272026

20282027
includecheck:
20292028
find $(srctree)/* $(RCS_FIND_IGNORE) \
@@ -2038,9 +2037,6 @@ versioncheck:
20382037
coccicheck:
20392038
$(Q)$(BASH) $(srctree)/scripts/$@
20402039

2041-
export_report:
2042-
$(PERL) $(srctree)/scripts/export_report.pl
2043-
20442040
PHONY += checkstack kernelrelease kernelversion image_name
20452041

20462042
# UML needs a little special treatment here. It wants to use the host

kernel/module/internal.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ struct load_info {
8080
unsigned int used_pages;
8181
#endif
8282
struct {
83-
unsigned int sym, str, mod, vers, info, pcpu;
83+
unsigned int sym;
84+
unsigned int str;
85+
unsigned int mod;
86+
unsigned int vers;
87+
unsigned int info;
88+
unsigned int pcpu;
8489
} index;
8590
};
8691

0 commit comments

Comments
 (0)