* linux-next: manual merge of the efi tree with the kbuild tree
@ 2026-10-09 21:41 Mark Brown
2026-10-09 21:52 ` Nathan Chancellor
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-10-09 21:41 UTC (permalink / raw)
To: Ard Biesheuvel
Cc: KBuild Mailing List, Kees Cook, Linux Kernel Mailing List,
Linux Next Mailing List, Lorenzo Stoakes, Nathan Chancellor,
Nicolas Schier
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]
Hi all,
Today's linux-next merge of the efi tree got a conflict in:
drivers/firmware/efi/libstub/Makefile
between commit:
454e00cf8ee5a ("kbuild: avoid re-running compiler and linker probes")
from the kbuild tree and commit:
aa712d73350dc ("efi/libstub: Disable kernel stack erasing in the common flags")
from the efi tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc drivers/firmware/efi/libstub/Makefile
index 415f63105b481,7bb5e5066c732..0000000000000
--- a/drivers/firmware/efi/libstub/Makefile
+++ b/drivers/firmware/efi/libstub/Makefile
@@@ -40,7 -40,8 +40,8 @@@ KBUILD_CFLAGS := $(subst $(CC_FLAGS_F
-D__NO_FORTIFY \
-ffreestanding \
-fno-stack-protector \
+ $(CONFIG_CC_OPT_NO_ADDRSIG) \
+ $(DISABLE_KSTACK_ERASE) \
- $(call cc-option,-fno-addrsig) \
-D__DISABLE_EXPORTS
#
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: manual merge of the efi tree with the kbuild tree
2026-10-09 21:41 linux-next: manual merge of the efi tree with the kbuild tree Mark Brown
@ 2026-10-09 21:52 ` Nathan Chancellor
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2026-10-09 21:52 UTC (permalink / raw)
To: Mark Brown
Cc: Ard Biesheuvel, KBuild Mailing List, Kees Cook,
Linux Kernel Mailing List, Linux Next Mailing List,
Lorenzo Stoakes, Nicolas Schier
On Fri, Oct 09, 2026 at 11:41:41PM +0200, Mark Brown wrote:
> Hi all,
>
> Today's linux-next merge of the efi tree got a conflict in:
>
> drivers/firmware/efi/libstub/Makefile
>
> between commit:
>
> 454e00cf8ee5a ("kbuild: avoid re-running compiler and linker probes")
>
> from the kbuild tree and commit:
>
> aa712d73350dc ("efi/libstub: Disable kernel stack erasing in the common flags")
>
> from the efi tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> diff --cc drivers/firmware/efi/libstub/Makefile
> index 415f63105b481,7bb5e5066c732..0000000000000
> --- a/drivers/firmware/efi/libstub/Makefile
> +++ b/drivers/firmware/efi/libstub/Makefile
> @@@ -40,7 -40,8 +40,8 @@@ KBUILD_CFLAGS := $(subst $(CC_FLAGS_F
> -D__NO_FORTIFY \
> -ffreestanding \
> -fno-stack-protector \
> + $(CONFIG_CC_OPT_NO_ADDRSIG) \
> + $(DISABLE_KSTACK_ERASE) \
> - $(call cc-option,-fno-addrsig) \
> -D__DISABLE_EXPORTS
>
> #
Thanks, looks good to me.
--
Cheers,
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-09 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 21:41 linux-next: manual merge of the efi tree with the kbuild tree Mark Brown
2026-10-09 21:52 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®