Messages in this thread |  | | Date | Wed, 4 Sep 2019 20:18:13 +0200 | From | Miguel Ojeda <> | Subject | [GIT PULL] compiler-attributes for v5.3-rc8 |
| |
Hi Linus,
I was going to send this for 5.4 since it is not that trivial, but since you are doing an -rc8, and it fixes an oops, please consider pulling it.
Cheers, Miguel
The following changes since commit a55aa89aab90fae7c815b0551b07be37db359d76:
Linux 5.3-rc6 (2019-08-25 12:01:23 -0700)
are available in the Git repository at:
https://github.com/ojeda/linux.git tags/compiler-attributes-for-linus-v5.3-rc8
for you to fetch changes up to c4814af0b75cc6856f60e8a658d829000b156729:
compiler_attributes.h: add note about __section (2019-08-30 00:56:19 +0200)
---------------------------------------------------------------- __section cleanup that also fixes an Oops (Nick Desaulniers)
GCC unescapes escaped string section names while Clang does not. Because __section uses the `#` stringification operator for the section name, it doesn't need to be escaped.
This fixes an Oops observed in distro's that use systemd and not net.core.bpf_jit_enable=1, when their kernels are compiled with Clang.
---------------------------------------------------------------- Nick Desaulniers (13): s390/boot: fix section name escaping include/linux/compiler.h: prefer __section from compiler_attributes.h parisc: prefer __section from compiler_attributes.h um: prefer __section from compiler_attributes.h ia64: prefer __section from compiler_attributes.h arm: prefer __section from compiler_attributes.h mips: prefer __section from compiler_attributes.h sparc: prefer __section from compiler_attributes.h x86: prefer __section, __maybe_unused and __aligned from compiler_attributes.h include/asm-generic: prefer __section from compiler_attributes.h include/linux: prefer __section and __aligned from compiler_attributes.h include/linux/compiler.h: remove unused KENTRY macro compiler_attributes.h: add note about __section
arch/arm/include/asm/cache.h | 2 +- arch/arm/include/asm/mach/arch.h | 4 ++-- arch/arm/include/asm/setup.h | 2 +- arch/ia64/include/asm/cache.h | 2 +- arch/mips/include/asm/cache.h | 2 +- arch/parisc/include/asm/cache.h | 2 +- arch/parisc/include/asm/ldcw.h | 2 +- arch/s390/boot/startup.c | 2 +- arch/sparc/include/asm/cache.h | 2 +- arch/sparc/kernel/btext.c | 2 +- arch/um/kernel/um_arch.c | 6 +++--- arch/x86/include/asm/cache.h | 2 +- arch/x86/include/asm/intel-mid.h | 2 +- arch/x86/include/asm/iommu_table.h | 5 ++--- arch/x86/include/asm/irqflags.h | 2 +- arch/x86/include/asm/mem_encrypt.h | 2 +- arch/x86/kernel/cpu/cpu.h | 3 +-- include/asm-generic/error-injection.h | 2 +- include/asm-generic/kprobes.h | 5 ++--- include/linux/cache.h | 6 +++--- include/linux/compiler.h | 31 ++++--------------------------- include/linux/compiler_attributes.h | 10 ++++++++++ include/linux/cpu.h | 2 +- include/linux/export.h | 2 +- include/linux/init_task.h | 4 ++-- include/linux/interrupt.h | 5 ++--- include/linux/sched/debug.h | 2 +- include/linux/srcutree.h | 2 +- 28 files changed, 49 insertions(+), 66 deletions(-)
|  |