Skip to contentSkip to conversation

linux-next: manual merge of the efi tree with the tip tree

PATCH Stephen Rothwell 2 participants 2 messages Nov 25, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the efi tree got a conflict in:

arch/x86/boot/compressed/efi_thunk_64.S

between commit:

cb8bda8ad443 ("x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S")

from the tip tree and commit:

a61962d8e7d3 ("efi: libstub: Permit mixed mode return types other than efi_status_t")

from the efi tree.

I fixed it up (I remofved the file and applied the following patch) 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.

From: Stephen Rothwell <[email protected]>
Date: Fri, 25 Nov 2022 12:15:58 +1100
Subject: [PATCH] fix up for "efi: libstub: Permit mixed mode return types other than efi_status_t"

---
 arch/x86/boot/compressed/efi_mixed.S | 6 ------
 1 file changed, 6 deletions(-)
arch/x86/boot/compressed/efi_mixed.S +0 -6
index 8b02e507d3bb..4ca70bf93dc0 100644
@@ -132,12 +132,6 @@ SYM_FUNC_START(__efi64_thunk)
 	movl	%ebx, %fs
 	movl	%ebx, %gs
 
-	/*
-	 * Convert 32-bit status code into 64-bit.
-	 */
-	roll	$1, %eax
-	rorq	$1, %rax
-
 	pop	%rbx
 	pop	%rbp
 	RET
Signature · 5 lines
2.35.1

-- 
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 40 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the efi tree got a conflict in:

arch/x86/boot/compressed/efi_thunk_64.S

between commit:

cb8bda8ad443 ("x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S")

from the tip tree and commit:

a61962d8e7d3 ("efi: libstub: Permit mixed mode return types other than efi_status_t")

from the efi tree.

I fixed it up (I remofved the file and applied the following patch) 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.

From: Stephen Rothwell <[email protected]>
Date: Fri, 25 Nov 2022 12:15:58 +1100
Subject: [PATCH] fix up for "efi: libstub: Permit mixed mode return types other than efi_status_t"

---
 arch/x86/boot/compressed/efi_mixed.S | 6 ------
 1 file changed, 6 deletions(-)
arch/x86/boot/compressed/efi_mixed.S +0 -0
index 8b02e507d3bb..4ca70bf93dc0 100644
@@ -132,12 +132,6 @@ SYM_FUNC_START(__efi64_thunk)
 	movl	%ebx, %fs
 	movl	%ebx, %gs

arch/x86/boot/compressed/efi_mixed.S SYM_FUNC_START(__efi64_thunk) · line 137

Quoted 10 lines
arch/x86/boot/compressed/efi_mixed.S +0 -6
 
-	/*
-	 * Convert 32-bit status code into 64-bit.
-	 */
-	roll	$1, %eax
-	rorq	$1, %rax
-
 	pop	%rbx
 	pop	%rbp
 	RET

LGTM, thanks Stephen.

We'll keep that in mind when sending the pull requests later.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette