Skip to contentSkip to conversation

linux-next: manual merge of the arm tree with Linus' tree

DISCUSSION Stephen Rothwell 3 participants 8 messages May 27, 2020 – May 30, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/arm/boot/compressed/head.S

between commit:

a94691680bac ("efi/arm: Deal with ADR going out of range in efi_enter_kernel()")

from Linus' tree and commit:

d0f9ca9be11f ("ARM: decompressor: run decompressor in place if loaded via UEFI")

from the arm tree.

I fixed it up (I just used the latter) 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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Thanks.

Quoted 26 lines · Stephen Rothwell

Hi all,

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

arch/arm/boot/compressed/head.S

between commit:

a94691680bac ("efi/arm: Deal with ADR going out of range in efi_enter_kernel()")

from Linus' tree and commit:

d0f9ca9be11f ("ARM: decompressor: run decompressor in place if loaded via UEFI")

from the arm tree.

I fixed it up (I just used the latter) 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.

Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up
#2 lore raw
Quoted 6 lines · Russell King - ARM Linux admin

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Sorry for that.

I have pushed the signed tag below to resolve it. Those changes were already in v5.7-rc2, so I wouldn't expect this to cause more trouble. If you prefer, you could merge v5.7-rc2 into your tree directly instead.

The following changes since commit d0f9ca9be11f25ef4151195eab7ea36d136084f6:

ARM: decompressor: run decompressor in place if loaded via UEFI
(2020-05-19 18:23:22 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
efi-arm-resolve-conflict-v5.8-for-rmk

for you to fetch changes up to 5aa87eb1b4e3f1b50ee4a42e8cd933d3d39927b3:

Merge commit 'a94691680bac' into efi-arm-no-relocate to resolve
conflict (2020-05-28 08:50:46 +0200)

----------------------------------------------------------------
Resolve a merge conflict between v5.7-rc2 and rmk/for-next

----------------------------------------------------------------

Ard Biesheuvel (2):
efi/arm: Deal with ADR going out of range in efi_enter_kernel() Merge commit 'a94691680bac' into efi-arm-no-relocate to resolve conflict

Arvind Sankar (2):
efi/x86: Move efi stub globals from .bss to .data efi/x86: Always relocate the kernel for EFI handover entry

Colin Ian King (1):
efi/libstub/x86: Remove redundant assignment to pointer hdr

Takashi Iwai (1):
efi/cper: Use scnprintf() for avoiding potential buffer overflow

 drivers/firmware/efi/cper.c             |  2 +-
 drivers/firmware/efi/libstub/efistub.h  |  2 +-
 drivers/firmware/efi/libstub/x86-stub.c | 18 +++++++++++-------
 3 files changed, 13 insertions(+), 9 deletions(-)
#3 lore raw
Quoted 9 lines · Ard Biesheuvel
Quoted 6 lines · Russell King - ARM Linux admin

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Quoted 6 lines

Sorry for that.

I have pushed the signed tag below to resolve it. Those changes were already in v5.7-rc2, so I wouldn't expect this to cause more trouble. If you prefer, you could merge v5.7-rc2 into your tree directly instead.

In light of Stephen's report of a different conflict on the 29th, I haven't pulled this. I don't know if that's a side effect of this change having been picked up by -next or not.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up
#4 lore raw
Quoted 13 lines · Russell King - ARM Linux admin
Quoted 11 lines · Ard Biesheuvel
Quoted 6 lines · Russell King - ARM Linux admin

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Sorry for that.

Quoted 9 lines
Quoted 4 lines

I have pushed the signed tag below to resolve it. Those changes were already in v5.7-rc2, so I wouldn't expect this to cause more trouble. If you prefer, you could merge v5.7-rc2 into your tree directly instead.

In light of Stephen's report of a different conflict on the 29th, I haven't pulled this. I don't know if that's a side effect of this change having been picked up by -next or not.

Fair enough. Both conflicts are unambiguous and self explanatory so I don't think it should be a problem, right?

#5 lore raw
Quoted 20 lines · Ard Biesheuvel
Quoted 18 lines · Russell King - ARM Linux admin
Quoted 15 lines · Ard Biesheuvel
Quoted 6 lines · Russell King - ARM Linux admin

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Sorry for that.

I have pushed the signed tag below to resolve it. Those changes were already in v5.7-rc2, so I wouldn't expect this to cause more trouble. If you prefer, you could merge v5.7-rc2 into your tree directly instead.

Quoted 7 lines
Quoted 4 lines

In light of Stephen's report of a different conflict on the 29th, I haven't pulled this. I don't know if that's a side effect of this change having been picked up by -next or not.

Fair enough. Both conflicts are unambiguous and self explanatory so I don't think it should be a problem, right?

I don't know - I don't have a resolution for the first one, Stephen didn't provide a 3-way diff with his report, and I was expecting a 3-way diff from you for it rather than another pull request.

I now also don't know whether the conflict on the 28th still exists or not.

I'm completely confused, and I'm considering dropping the original EFI pull request on the grounds that the merge window opens tomorrow, and there isn't going to be another -next before that happens, so we don't know what's going to happen whatever action we take.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up
#6 lore raw

Hi Russell,

Quoted 4 lines · On Sat, 30 May 2020 10:17:47 +0100 Russell King - ARM Linux admin…

I don't know - I don't have a resolution for the first one, Stephen didn't provide a 3-way diff with his report, and I was expecting a 3-way diff from you for it rather than another pull request.

There is no 3-way diff, because "I just used the latter" i.e. I used the arm tree version of the conflicted section of the file.

Signature · 2 lines
Cheers,
Stephen Rothwell
#7 lore raw
In reply to Russell King - ARM Linux admin
Quoted 27 lines · Russell King - ARM Linux admin
Quoted 25 lines · Ard Biesheuvel
Quoted 22 lines · Russell King - ARM Linux admin
Quoted 9 lines · Ard Biesheuvel
Quoted 6 lines · Russell King - ARM Linux admin

Ard,

Please take a look. Obviously, whatever the resolution is going to be needed when Linus opens the merge window.

Quoted 6 lines

Sorry for that.

I have pushed the signed tag below to resolve it. Those changes were already in v5.7-rc2, so I wouldn't expect this to cause more trouble. If you prefer, you could merge v5.7-rc2 into your tree directly instead.

In light of Stephen's report of a different conflict on the 29th, I haven't pulled this. I don't know if that's a side effect of this change having been picked up by -next or not.

Quoted 7 lines
Quoted 2 lines

Fair enough. Both conflicts are unambiguous and self explanatory so I don't think it should be a problem, right?

I don't know - I don't have a resolution for the first one, Stephen didn't provide a 3-way diff with his report, and I was expecting a 3-way diff from you for it rather than another pull request.

That was not clear to me.

Quoted 3 lines

I now also don't know whether the conflict on the 28th still exists or not.

Yes it does. That conflict is with v5.7-rc2, which exists because your tree is based on v5.7-rc1, and so a fix that arrived in the mean time is touching some of the lines that are being removed in v5.8.

That is why I mentioned that you could preempt this by merging v5.7-rc2 into your tree as well.

Quoted 5 lines

I'm completely confused, and I'm considering dropping the original EFI pull request on the grounds that the merge window opens tomorrow, and there isn't going to be another -next before that happens, so we don't know what's going to happen whatever action we take.

The other conflict is with the EFI changes queued up for v5.8 in the -tip tree. The pr_efi_err() function was renamed to efi_err(), which was used in a lot of places. This is slightly annoying, but rather straightforward to resolve.

In any case, I am happy to go along with whatever you feel is best.