* Re: Apply a1e2c031ec39 and e32683c6f7d2 to 5.15 and earlier
[not found] <20231027160144.GA232578@dev-arch.thelio-3990X>
@ 2023-10-27 17:47 ` kernel test robot
2023-10-31 12:54 ` Greg Kroah-Hartman
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-10-27 17:47 UTC (permalink / raw)
To: Nathan Chancellor; +Cc: stable, oe-kbuild-all
Hi,
Thanks for your patch.
FYI: kernel test robot notices the stable kernel rule is not satisfied.
The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Rule: add the tag "Cc: stable@vger.kernel.org" in the sign-off area to have the patch automatically included in the stable tree.
Subject: Apply a1e2c031ec39 and e32683c6f7d2 to 5.15 and earlier
Link: https://lore.kernel.org/stable/20231027160144.GA232578%40dev-arch.thelio-3990X
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Apply a1e2c031ec39 and e32683c6f7d2 to 5.15 and earlier
[not found] <20231027160144.GA232578@dev-arch.thelio-3990X>
2023-10-27 17:47 ` Apply a1e2c031ec39 and e32683c6f7d2 to 5.15 and earlier kernel test robot
@ 2023-10-31 12:54 ` Greg Kroah-Hartman
1 sibling, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2023-10-31 12:54 UTC (permalink / raw)
To: Nathan Chancellor
Cc: Sasha Levin, stable, linux-kernel, llvm, Josh Poimboeuf,
Peter Zijlstra, x86
On Fri, Oct 27, 2023 at 09:01:44AM -0700, Nathan Chancellor wrote:
> Hi Greg and Sasha,
>
> Please consider applying the following mbox files to their respective
> stable trees, which contains commit a1e2c031ec39 ("x86/mm: Simplify
> RESERVE_BRK()") and commit e32683c6f7d2 ("x86/mm: Fix RESERVE_BRK() for
> older binutils"). This resolves a link failure noticed in the Android
> trees due to a new diagnostic in ld.lld:
>
> https://github.com/llvm/llvm-project/commit/1981b1b6b92f7579a30c9ed32dbdf3bc749c1b40
>
> ld.lld: error: relocation refers to a symbol in a discarded section: __brk_reservation_fn_dmi_alloc__
> >>> defined in vmlinux.o
> >>> referenced by ld-temp.o
> >>> vmlinux.o:(exit_amd_microcode.cfi_jt)
>
> ld.lld: error: relocation refers to a symbol in a discarded section: __brk_reservation_fn_early_pgt_alloc__
> >>> defined in vmlinux.o
> >>> referenced by ld-temp.o
> >>> vmlinux.o:(exit_amd_microcode.cfi_jt)
>
> While I think this may be related to Android's downstream use of LTO and
> CFI, I see no reason that this could not happen without LTO due to
> RESERVE_BRK() prior to those upstream commits residing in the
> .discard.text section.
>
> I confirmed they resolve the Android build problem and I did an
> ARCH=x86_64 defconfig build and boot test in QEMU and an allmodconfig
> build with GCC, which had no regressions.
All now queued up, thanks! If only all stable submissions were sent to
us in such easy-to-consume-form :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-31 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231027160144.GA232578@dev-arch.thelio-3990X>
2023-10-27 17:47 ` Apply a1e2c031ec39 and e32683c6f7d2 to 5.15 and earlier kernel test robot
2023-10-31 12:54 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox