* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem [not found] <1438078879-24705-1-git-send-email-fupan.li@windriver.com> @ 2015-07-30 15:04 ` Matt Fleming 2015-07-30 16:31 ` Greg KH 0 siblings, 1 reply; 9+ messages in thread From: Matt Fleming @ 2015-07-30 15:04 UTC (permalink / raw) To: fupan.li Cc: linux-kernel, fupanli, linux-efi, Luis Henriques, Greg KH, stable (Add linux-efi, Luis and Greg) On Tue, 28 Jul, at 06:21:19PM, fupan.li@windriver.com wrote: > From: fli <fupan.li@windriver.com> > > The commit 35d5134b7d5a55e269c953096224248b9f6f72c2 > Author: Matt Fleming <matt@console-pimps.org> > Date: Tue Apr 8 13:14:00 2014 +0100 > > x86/efi: Correct EFI boot stub use of code32_start > > imported a bug, which should use the label's address instead > of the value stored in the label's address to caculate the > code32_start address. > > Signed-off-by: fli <fupan.li@windriver.com> > --- > arch/x86/boot/compressed/head_32.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S > index abb988a..3b28eff 100644 > --- a/arch/x86/boot/compressed/head_32.S > +++ b/arch/x86/boot/compressed/head_32.S > @@ -54,7 +54,7 @@ ENTRY(efi_pe_entry) > call reloc > reloc: > popl %ecx > - subl reloc, %ecx > + subl $reloc, %ecx > movl %ecx, BP_code32_start(%eax) > > sub $0x4, %esp Woa, nice catch! The commit message could do with a little work however. In particular the usual way to refer to a commit is like this: commit 35d5134b7d5a ("x86/efi: Correct EFI boot stub use of code32_start"). And the Signed-off-by line should contain your full name. Luis, Greg, what is the procedure for submitting a patch that is only required for stable? -- Matt Fleming, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-30 15:04 ` [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem Matt Fleming @ 2015-07-30 16:31 ` Greg KH [not found] ` <20150730163102.GA19943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2015-07-30 16:31 UTC (permalink / raw) To: Matt Fleming Cc: fupan.li, linux-kernel, fupanli, linux-efi, Luis Henriques, stable On Thu, Jul 30, 2015 at 04:04:28PM +0100, Matt Fleming wrote: > (Add linux-efi, Luis and Greg) > > On Tue, 28 Jul, at 06:21:19PM, fupan.li@windriver.com wrote: > > From: fli <fupan.li@windriver.com> > > > > The commit 35d5134b7d5a55e269c953096224248b9f6f72c2 > > Author: Matt Fleming <matt@console-pimps.org> > > Date: Tue Apr 8 13:14:00 2014 +0100 > > > > x86/efi: Correct EFI boot stub use of code32_start > > > > imported a bug, which should use the label's address instead > > of the value stored in the label's address to caculate the > > code32_start address. > > > > Signed-off-by: fli <fupan.li@windriver.com> > > --- > > arch/x86/boot/compressed/head_32.S | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S > > index abb988a..3b28eff 100644 > > --- a/arch/x86/boot/compressed/head_32.S > > +++ b/arch/x86/boot/compressed/head_32.S > > @@ -54,7 +54,7 @@ ENTRY(efi_pe_entry) > > call reloc > > reloc: > > popl %ecx > > - subl reloc, %ecx > > + subl $reloc, %ecx > > movl %ecx, BP_code32_start(%eax) > > > > sub $0x4, %esp > > Woa, nice catch! > > The commit message could do with a little work however. In particular > the usual way to refer to a commit is like this: commit 35d5134b7d5a > ("x86/efi: Correct EFI boot stub use of code32_start"). And the > Signed-off-by line should contain your full name. > > Luis, Greg, what is the procedure for submitting a patch that is only > required for stable? You don't. :) Why isn't this an issue in newer kernel releases? Did this already get fixed by some other patch? If so, why can't we just take that patch? If not, why not? I _REALLY_ don't like taking patches that are not already in Linus's tree, as it almost always turns out to be the wrong solution. thanks, greg k-h ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20150730163102.GA19943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem [not found] ` <20150730163102.GA19943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> @ 2015-07-30 16:45 ` Matt Fleming 2015-07-30 16:59 ` Greg KH 0 siblings, 1 reply; 9+ messages in thread From: Matt Fleming @ 2015-07-30 16:45 UTC (permalink / raw) To: Greg KH Cc: fupan.li-CWA4WttNNZF54TAoqtyWWQ, linux-kernel-u79uwXL29TY76Z2rM5mHXA, fupanli-Re5JQEeQqe8AvxtiuMwx3w, linux-efi-u79uwXL29TY76Z2rM5mHXA, Luis Henriques, stable-u79uwXL29TY76Z2rM5mHXA On Thu, 30 Jul, at 09:31:02AM, Greg KH wrote: > > Why isn't this an issue in newer kernel releases? Did this already get > fixed by some other patch? If so, why can't we just take that patch? > If not, why not? The commit 35d5134b7d5a ("x86/efi: Correct EFI boot stub use of code32_start") only exists in the stable trees in that form because there was quite a lot of churn in that area in Linus tree that didn't get backported. So the code in Linus' tree never looked like the code in the stable does right now. > I _REALLY_ don't like taking patches that are not already in Linus's > tree, as it almost always turns out to be the wrong solution. Yeah, I think this issue verifies that. -- Matt Fleming, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-30 16:45 ` Matt Fleming @ 2015-07-30 16:59 ` Greg KH [not found] ` <20150730165943.GD5515-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2015-07-30 16:59 UTC (permalink / raw) To: Matt Fleming Cc: fupan.li, linux-kernel, fupanli, linux-efi, Luis Henriques, stable On Thu, Jul 30, 2015 at 05:45:44PM +0100, Matt Fleming wrote: > On Thu, 30 Jul, at 09:31:02AM, Greg KH wrote: > > > > Why isn't this an issue in newer kernel releases? Did this already get > > fixed by some other patch? If so, why can't we just take that patch? > > If not, why not? > > The commit 35d5134b7d5a ("x86/efi: Correct EFI boot stub use of > code32_start") only exists in the stable trees in that form because > there was quite a lot of churn in that area in Linus tree that didn't > get backported. > > So the code in Linus' tree never looked like the code in the stable does > right now. > > > I _REALLY_ don't like taking patches that are not already in Linus's > > tree, as it almost always turns out to be the wrong solution. > > Yeah, I think this issue verifies that. Ugh, what a mess. Ok, if you get something that works and is in a format that I can apply it, please resend it properly so that we can do so. thanks, greg k-h ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20150730165943.GD5515-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem [not found] ` <20150730165943.GD5515-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> @ 2015-07-31 1:22 ` fupan 2015-07-31 12:05 ` Matt Fleming 0 siblings, 1 reply; 9+ messages in thread From: fupan @ 2015-07-31 1:22 UTC (permalink / raw) To: Greg KH, Matt Fleming Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, fupanli-Re5JQEeQqe8AvxtiuMwx3w, linux-efi-u79uwXL29TY76Z2rM5mHXA, Luis Henriques, stable-u79uwXL29TY76Z2rM5mHXA On 07/31/2015 12:59 AM, Greg KH wrote: > On Thu, Jul 30, 2015 at 05:45:44PM +0100, Matt Fleming wrote: >> On Thu, 30 Jul, at 09:31:02AM, Greg KH wrote: >>> Why isn't this an issue in newer kernel releases? Did this already get >>> fixed by some other patch? If so, why can't we just take that patch? >>> If not, why not? >> >> The commit 35d5134b7d5a ("x86/efi: Correct EFI boot stub use of >> code32_start") only exists in the stable trees in that form because >> there was quite a lot of churn in that area in Linus tree that didn't >> get backported. >> >> So the code in Linus' tree never looked like the code in the stable does >> right now. >> >>> I _REALLY_ don't like taking patches that are not already in Linus's >>> tree, as it almost always turns out to be the wrong solution. >> Yeah, I think this issue verifies that. > Ugh, what a mess. Ok, if you get something that works and is in a > format that I can apply it, please resend it properly so that we can do > so. Hi, Matt Will you take care of this patch or I send a V2? Thanks! Fupan > > thanks, > > greg k-h > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-31 1:22 ` fupan @ 2015-07-31 12:05 ` Matt Fleming 2015-07-31 12:21 ` Luis Henriques 2015-08-03 2:12 ` fupan 0 siblings, 2 replies; 9+ messages in thread From: Matt Fleming @ 2015-07-31 12:05 UTC (permalink / raw) To: fupan; +Cc: Greg KH, linux-kernel, fupanli, linux-efi, Luis Henriques, stable On Fri, 31 Jul, at 09:22:33AM, fupan wrote: > Hi, Matt > > Will you take care of this patch or I send a V2? Could you please send a V2 with the changes to the commit message that I suggested previously? Thanks! -- Matt Fleming, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-31 12:05 ` Matt Fleming @ 2015-07-31 12:21 ` Luis Henriques 2015-08-03 1:38 ` fupan 2015-08-03 2:12 ` fupan 1 sibling, 1 reply; 9+ messages in thread From: Luis Henriques @ 2015-07-31 12:21 UTC (permalink / raw) To: Matt Fleming Cc: Jiri Slaby, fupan, Greg KH, linux-kernel, fupanli, linux-efi, stable On Fri, Jul 31, 2015 at 01:05:19PM +0100, Matt Fleming wrote: > On Fri, 31 Jul, at 09:22:33AM, fupan wrote: > > Hi, Matt > > > > Will you take care of this patch or I send a V2? > > Could you please send a V2 with the changes to the commit message that I > suggested previously? Thanks! > I'm replying to this thread simply to include Jiri on the CC list as I believe 3.12 will also require this fix. Please make sure he's in the list for the v2. [ It looks like the 3.16 kernel I'm maintaining isn't affected, BTW. ] Cheers, -- Luís ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-31 12:21 ` Luis Henriques @ 2015-08-03 1:38 ` fupan 0 siblings, 0 replies; 9+ messages in thread From: fupan @ 2015-08-03 1:38 UTC (permalink / raw) To: Luis Henriques, Matt Fleming Cc: Jiri Slaby, Greg KH, linux-kernel-u79uwXL29TY76Z2rM5mHXA, fupanli-Re5JQEeQqe8AvxtiuMwx3w, linux-efi-u79uwXL29TY76Z2rM5mHXA, stable-u79uwXL29TY76Z2rM5mHXA On 07/31/2015 08:21 PM, Luis Henriques wrote: > On Fri, Jul 31, 2015 at 01:05:19PM +0100, Matt Fleming wrote: >> On Fri, 31 Jul, at 09:22:33AM, fupan wrote: >>> Hi, Matt >>> >>> Will you take care of this patch or I send a V2? >> >> Could you please send a V2 with the changes to the commit message that I >> suggested previously? Thanks! >> > I'm replying to this thread simply to include Jiri on the CC list as I > believe 3.12 will also require this fix. Please make sure he's in the > list for the v2. Hi, Luís No problem. BTW, actually all of the branch from 3.10 to 3.14 will need this fix. Fupan > > [ It looks like the 3.16 kernel I'm maintaining isn't affected, BTW. ] > > Cheers, > -- > Luís > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem 2015-07-31 12:05 ` Matt Fleming 2015-07-31 12:21 ` Luis Henriques @ 2015-08-03 2:12 ` fupan 1 sibling, 0 replies; 9+ messages in thread From: fupan @ 2015-08-03 2:12 UTC (permalink / raw) To: Matt Fleming Cc: Greg KH, linux-kernel, fupanli, linux-efi, Luis Henriques, stable On 07/31/2015 08:05 PM, Matt Fleming wrote: > On Fri, 31 Jul, at 09:22:33AM, fupan wrote: >> Hi, Matt >> >> Will you take care of this patch or I send a V2? > > Could you please send a V2 with the changes to the commit message that I > suggested previously? Thanks! > NP! Thanks! Fupan ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-08-03 2:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1438078879-24705-1-git-send-email-fupan.li@windriver.com>
2015-07-30 15:04 ` [PATCH 3.10 ~ 3.14] efi: fix the efi 32bit boot failed problem Matt Fleming
2015-07-30 16:31 ` Greg KH
[not found] ` <20150730163102.GA19943-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-07-30 16:45 ` Matt Fleming
2015-07-30 16:59 ` Greg KH
[not found] ` <20150730165943.GD5515-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-07-31 1:22 ` fupan
2015-07-31 12:05 ` Matt Fleming
2015-07-31 12:21 ` Luis Henriques
2015-08-03 1:38 ` fupan
2015-08-03 2:12 ` fupan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).