[GIT PULL] Kbuild updates for v6.7-rc1

From: Masahiro Yamada
Date: Fri Nov 03 2023 - 12:53:32 EST


Hello Linus,


Please pull Kbuild updates for v6.7.
Thanks.


You will see a conflict in modpost.

The fix is available in linux-next.



The reason for the conflict is the following commit
that got in via the module tree.


commit 04311b9b306388288f72cf6ebde659274b06ffd6
Author: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
Date: Fri Jun 16 09:51:33 2023 +0800

module: Make is_valid_name() return bool




My pull request moved is_valid_name()
from scripts/mod/modpost.c to scripts/mod/modpost.h





The following changes since commit 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa:

Linux 6.6-rc4 (2023-10-01 14:15:13 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kbuild-v6.7

for you to fetch changes up to 5f56cb030e4bcf14be2233332d5cd83fff62a376:

kbuild: support 'userldlibs' syntax (2023-11-01 23:26:01 +0900)

----------------------------------------------------------------
Kbuild updates for v6.7

- Implement the binary search in modpost for faster symbol lookup

- Respect HOSTCC when linking host programs written in Rust

- Change the binrpm-pkg target to generate kernel-devel RPM package

- Fix endianness issues for tee and ishtp MODULE_DEVICE_TABLE

- Unify vdso_install rules

- Remove unused __memexit* annotations

- Eliminate stale whitelisting for __devinit/__devexit from modpost

- Enable dummy-tools to handle the -fpatchable-function-entry flag

- Add 'userldlibs' syntax

----------------------------------------------------------------
Jack Brennen (1):
modpost: Optimize symbol search from linear to binary search

Jiri Slaby (SUSE) (1):
kbuild: dummy-tools: pretend we understand -fpatchable-function-entry

Masahiro Yamada (25):
kbuild: rpm-pkg: generate kernel.spec in rpmbuild/SPECS/
kbuild: make binrpm-pkg always produce kernel-devel package
modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
modpost: define TO_NATIVE() using bswap_* functions
modpost: refactor check_sec_ref()
modpost: factor out the common boilerplate of section_rel(a)
csky: remove unused cmd_vdso_install
UML: remove unused cmd_vdso_install
kbuild: unify vdso_install rules
kbuild: unify no-compiler-targets and no-sync-config-targets
kbuild: remove ARCH_POSTLINK from module builds
kbuild: avoid too many execution of scripts/pahole-flags.sh
kbuild: simplify cmd_ld_multi_m
modpost: remove ALL_EXIT_DATA_SECTIONS macro
linux/init: remove __memexit* annotations
modpost: disallow *driver to reference .meminit* sections
modpost: remove more symbol patterns from the section check whitelist
modpost: remove MEM_INIT_SECTIONS macro
modpost: remove EXIT_SECTIONS macro
modpost: disallow the combination of EXPORT_SYMBOL and __meminit*
modpost: use ALL_INIT_SECTIONS for the section check from DATA_SECTIONS
modpost: merge sectioncheck table entries regarding init/exit sections
modpost: squash ALL_{INIT,EXIT}_TEXT_SECTIONS to ALL_TEXT_SECTIONS
kbuild: support 'userldlibs' syntax

Matthew Maurer (1):
rust: Respect HOSTCC when linking for host

Ricardo B. Marliere (1):
docs: kbuild: add INSTALL_DTBS_PATH

Simon Glass (1):
kbuild: Correct missing architecture-specific hyphens

.gitignore | 1 -
Documentation/kbuild/kbuild.rst | 6 +
Documentation/kbuild/makefiles.rst | 11 ++
MAINTAINERS | 2 +-
Makefile | 38 +++---
arch/arm/Makefile | 7 +-
arch/arm/vdso/Makefile | 25 ----
arch/arm64/Makefile | 9 +-
arch/arm64/kernel/vdso/Makefile | 10 --
arch/arm64/kernel/vdso32/Makefile | 10 --
arch/csky/kernel/vdso/Makefile | 10 --
arch/loongarch/Makefile | 4 +-
arch/loongarch/vdso/Makefile | 10 --
arch/mips/Makefile.postlink | 3 -
arch/parisc/Makefile | 8 +-
arch/powerpc/Makefile.postlink | 3 -
arch/riscv/Makefile | 9 +-
arch/riscv/Makefile.postlink | 3 -
arch/riscv/kernel/compat_vdso/Makefile | 10 --
arch/riscv/kernel/vdso/Makefile | 10 --
arch/s390/Makefile | 6 +-
arch/s390/kernel/vdso32/Makefile | 10 --
arch/s390/kernel/vdso64/Makefile | 10 --
arch/sparc/Makefile | 5 +-
arch/sparc/vdso/Makefile | 27 -----
arch/x86/Makefile | 7 +-
arch/x86/Makefile.postlink | 3 -
arch/x86/entry/vdso/Makefile | 27 -----
arch/x86/um/vdso/Makefile | 12 --
include/asm-generic/vmlinux.lds.h | 6 -
include/linux/init.h | 3 -
rust/Makefile | 2 +
scripts/Makefile.btf | 19 +++
scripts/Makefile.build | 2 +-
scripts/Makefile.host | 2 +
scripts/Makefile.modfinal | 5 +-
scripts/Makefile.package | 10 +-
scripts/Makefile.userprogs | 6 +-
scripts/Makefile.vdsoinst | 45 +++++++
scripts/dummy-tools/gcc | 10 ++
scripts/mod/Makefile | 4 +-
scripts/mod/file2alias.c | 14 +--
scripts/mod/modpost.c | 201 ++++++++------------------------
scripts/mod/modpost.h | 50 +++++---
scripts/mod/symsearch.c | 199 +++++++++++++++++++++++++++++++
scripts/package/mkspec | 6 +
scripts/pahole-flags.sh | 30 -----
scripts/remove-stale-files | 2 +-
48 files changed, 443 insertions(+), 469 deletions(-)
create mode 100644 scripts/Makefile.btf
create mode 100644 scripts/Makefile.vdsoinst
create mode 100644 scripts/mod/symsearch.c
delete mode 100755 scripts/pahole-flags.sh


--
Best Regards
Masahiro Yamada