public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Re: MPC8321 boot failure
       [not found] <CY1PR10MB020424967E404E0B1BBE1E82EFFF0@CY1PR10MB0204.namprd10.prod.outlook.com>
@ 2018-10-17 16:36 ` Christophe LEROY
  2018-10-18  4:49   ` Christophe LEROY
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe LEROY @ 2018-10-17 16:36 UTC (permalink / raw)
  To: David Gounaris, linuxppc-dev@lists•ozlabs.org
  Cc: gregkh@linuxfoundation•org, Mathias Thore

Hi,

Yes I discovered the same issue today on MPC8321E, I plan to look at it 
more closely tomorrow morning (Paris Time).

I think we are missing commit 8183d99f4a22c2abbc543847a588df3666ef0c0c , 
I didn't realise it when we applied the serie to 4.14, 
patch_instruction() is called too early without that patch.

If you have opportunity to test now, you are welcome, otherwise I'll 
test it tomorrow.

Christophe

Le 17/10/2018 à 17:18, David Gounaris a écrit :
> Hello, I got into troubles when I upgraded to Linux kernel 4.14.76 on 
> boards with MPC8321.
> 
> 
> The symptom that I see is that the boot process gets cyclic, and no 
> printouts are seen from the Linux kernel. It seems like it resets.
> 
> 
> When I revert the following commits it works again.
> 
> af1a8101794dfea897290e057f61086dabfe6c91, powerpc/lib: fix book3s/32 
> boot failure due to code patching
> 609fbeddb24c4035d24fc32d82dc08b30ae3dfc0, powerpc: Avoid code patching 
> freed init sections
> 
> Any ideas of how to continue?
> 
> BR / David Gounaris
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MPC8321 boot failure
  2018-10-17 16:36 ` MPC8321 boot failure Christophe LEROY
@ 2018-10-18  4:49   ` Christophe LEROY
       [not found]     ` <CY1PR10MB0204796CBD711EBA4F5286A4EFF80@CY1PR10MB0204.namprd10.prod.outlook.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe LEROY @ 2018-10-18  4:49 UTC (permalink / raw)
  To: David Gounaris, linuxppc-dev@lists•ozlabs.org,
	gregkh@linuxfoundation•org
  Cc: stable@vger•kernel.org, Mathias Thore

Hi,

I can now confirm that the boot failure is due to the absence of commit 
8183d99f4a22 ("powerpc/lib/feature-fixups: use raw_patch_instruction()")

Greg, could you please apply that patch to 4.14 stable ?

Thanks
Christophe

Le 17/10/2018 à 18:36, Christophe LEROY a écrit :
> Hi,
> 
> Yes I discovered the same issue today on MPC8321E, I plan to look at it 
> more closely tomorrow morning (Paris Time).
> 
> I think we are missing commit 8183d99f4a22c2abbc543847a588df3666ef0c0c , 
> I didn't realise it when we applied the serie to 4.14, 
> patch_instruction() is called too early without that patch.
> 
> If you have opportunity to test now, you are welcome, otherwise I'll 
> test it tomorrow.
> 
> Christophe
> 
> Le 17/10/2018 à 17:18, David Gounaris a écrit :
>> Hello, I got into troubles when I upgraded to Linux kernel 4.14.76 on 
>> boards with MPC8321.
>>
>>
>> The symptom that I see is that the boot process gets cyclic, and no 
>> printouts are seen from the Linux kernel. It seems like it resets.
>>
>>
>> When I revert the following commits it works again.
>>
>> af1a8101794dfea897290e057f61086dabfe6c91, powerpc/lib: fix book3s/32 
>> boot failure due to code patching
>> 609fbeddb24c4035d24fc32d82dc08b30ae3dfc0, powerpc: Avoid code patching 
>> freed init sections
>>
>> Any ideas of how to continue?
>>
>> BR / David Gounaris
>>
>>
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SV: MPC8321 boot failure
       [not found]     ` <CY1PR10MB0204796CBD711EBA4F5286A4EFF80@CY1PR10MB0204.namprd10.prod.outlook.com>
@ 2018-10-18  9:34       ` gregkh
  0 siblings, 0 replies; 3+ messages in thread
From: gregkh @ 2018-10-18  9:34 UTC (permalink / raw)
  To: David Gounaris
  Cc: linuxppc-dev@lists•ozlabs.org, stable@vger•kernel.org,
	Mathias Thore

On Thu, Oct 18, 2018 at 08:51:46AM +0000, David Gounaris wrote:
> Hi, I can also confirm that it works after cherry-picking the proposed commit.
> 
> Reported-and-tested-by: David Gounaris <david.gounaris@infinera.com<mailto:David.Gounaris@infinera•com>>
> 

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-18  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CY1PR10MB020424967E404E0B1BBE1E82EFFF0@CY1PR10MB0204.namprd10.prod.outlook.com>
2018-10-17 16:36 ` MPC8321 boot failure Christophe LEROY
2018-10-18  4:49   ` Christophe LEROY
     [not found]     ` <CY1PR10MB0204796CBD711EBA4F5286A4EFF80@CY1PR10MB0204.namprd10.prod.outlook.com>
2018-10-18  9:34       ` SV: " gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox