linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CN80xx (octeontx/thunderx) breakage from f2d8340
@ 2020-03-11 20:17 Tim Harvey
  2020-03-12  8:55 ` Marc Zyngier
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Harvey @ 2020-03-11 20:17 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: open list, David Daney, Sunil Goutham, Jan Glauber, Robert Richter

Marc,

Im seeing a failure to boot on an octeontx CN80xx (thunderx) due to
f2d8340 ("irqchip/gic-v3: Add GICv4.1 VPEID size discovery"). I'm not
sure if something is hanging, I just get no console output from the
kernel.

Is there perhaps something in the dt that requires change? The
board/dts I'm using is:
https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw6404-linux.dts
https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw640x-linux.dtsi
https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/cn81xx-linux.dtsi

Any ideas? I've cc'd the Cavium/Marvell folk to see if they know
what's up or can reproduce on some of their hardware.

Best Regards,

Tim

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

* Re: CN80xx (octeontx/thunderx) breakage from f2d8340
  2020-03-11 20:17 CN80xx (octeontx/thunderx) breakage from f2d8340 Tim Harvey
@ 2020-03-12  8:55 ` Marc Zyngier
  2020-03-12  9:43   ` Robert Richter
  2020-03-12 16:58   ` Tim Harvey
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Zyngier @ 2020-03-12  8:55 UTC (permalink / raw)
  To: Tim Harvey
  Cc: open list, David Daney, Sunil Goutham, Jan Glauber, Robert Richter

Hi Tim,

On 2020-03-11 20:17, Tim Harvey wrote:
> Marc,
> 
> Im seeing a failure to boot on an octeontx CN80xx (thunderx) due to
> f2d8340 ("irqchip/gic-v3: Add GICv4.1 VPEID size discovery"). I'm not
> sure if something is hanging, I just get no console output from the
> kernel.

That's odd. It probably means that a SError has been taken to EL3,
and the firmware is not equipped to deal with it. Great stuff!

> Is there perhaps something in the dt that requires change? The
> board/dts I'm using is:
> https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw6404-linux.dts
> https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw640x-linux.dtsi
> https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/cn81xx-linux.dtsi
> 
> Any ideas? I've cc'd the Cavium/Marvell folk to see if they know
> what's up or can reproduce on some of their hardware.

This is most probably Cavium erratum 38539. Please give [1] a go and
let me know whether it helps by replying to the patch.

Thanks,

         M.

[1] https://lore.kernel.org/lkml/20200311115649.26060-1-maz@kernel.org/
-- 
Jazz is not dead. It just smells funny...

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

* Re: CN80xx (octeontx/thunderx) breakage from f2d8340
  2020-03-12  8:55 ` Marc Zyngier
@ 2020-03-12  9:43   ` Robert Richter
  2020-03-12  9:58     ` Robert Richter
  2020-03-12 16:58   ` Tim Harvey
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Richter @ 2020-03-12  9:43 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: Tim Harvey, open list, Sunil Goutham

Adding Sunil here.

-Robert

On 12.03.20 08:55:52, Marc Zyngier wrote:
> Hi Tim,
> 
> On 2020-03-11 20:17, Tim Harvey wrote:
> > Marc,
> > 
> > Im seeing a failure to boot on an octeontx CN80xx (thunderx) due to
> > f2d8340 ("irqchip/gic-v3: Add GICv4.1 VPEID size discovery"). I'm not
> > sure if something is hanging, I just get no console output from the
> > kernel.
> 
> That's odd. It probably means that a SError has been taken to EL3,
> and the firmware is not equipped to deal with it. Great stuff!
> 
> > Is there perhaps something in the dt that requires change? The
> > board/dts I'm using is:
> > https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw6404-linux.dts https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw640x-linux.dtsi https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/cn81xx-linux.dtsi
> > 
> > Any ideas? I've cc'd the Cavium/Marvell folk to see if they know
> > what's up or can reproduce on some of their hardware.
> 
> This is most probably Cavium erratum 38539. Please give [1] a go and
> let me know whether it helps by replying to the patch.
> 
> Thanks,
> 
>         M.
> 
> [1] https://lore.kernel.org/lkml/20200311115649.26060-1-maz@kernel.org/
> -- 
> Jazz is not dead. It just smells funny...

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

* Re: CN80xx (octeontx/thunderx) breakage from f2d8340
  2020-03-12  9:43   ` Robert Richter
@ 2020-03-12  9:58     ` Robert Richter
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Richter @ 2020-03-12  9:58 UTC (permalink / raw)
  To: Tim Harvey; +Cc: Marc Zyngier, open list, Sunil Goutham

Tim,

> > On 2020-03-11 20:17, Tim Harvey wrote:

> > > Im seeing a failure to boot on an octeontx CN80xx (thunderx) due to
> > > f2d8340 ("irqchip/gic-v3: Add GICv4.1 VPEID size discovery"). I'm not
> > > sure if something is hanging, I just get no console output from the
> > > kernel.

if you are booting with serial console, you could try to use earlycon
boot parameter to get more output. Though, I do not have the
parameters for that system at hand. You could try 'earlycon' without
parameters or perhaps 'earlycon=pl011,0x87e024000000' or similar (not
sure if that works, maybe check devicetree).

-Robert

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

* Re: CN80xx (octeontx/thunderx) breakage from f2d8340
  2020-03-12  8:55 ` Marc Zyngier
  2020-03-12  9:43   ` Robert Richter
@ 2020-03-12 16:58   ` Tim Harvey
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Harvey @ 2020-03-12 16:58 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: open list, David Daney, Sunil Goutham, Jan Glauber,
	Robert Richter, Sunil Goutham

On Thu, Mar 12, 2020 at 1:55 AM Marc Zyngier <maz@kernel.org> wrote:
>
> Hi Tim,
>
> On 2020-03-11 20:17, Tim Harvey wrote:
> > Marc,
> >
> > Im seeing a failure to boot on an octeontx CN80xx (thunderx) due to
> > f2d8340 ("irqchip/gic-v3: Add GICv4.1 VPEID size discovery"). I'm not
> > sure if something is hanging, I just get no console output from the
> > kernel.
>
> That's odd. It probably means that a SError has been taken to EL3,
> and the firmware is not equipped to deal with it. Great stuff!
>
> > Is there perhaps something in the dt that requires change? The
> > board/dts I'm using is:
> > https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw6404-linux.dts
> > https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/gw640x-linux.dtsi
> > https://github.com/Gateworks/dts-newport/blob/sdk-10.1.1.0-newport/cn81xx-linux.dtsi
> >
> > Any ideas? I've cc'd the Cavium/Marvell folk to see if they know
> > what's up or can reproduce on some of their hardware.
>
> This is most probably Cavium erratum 38539. Please give [1] a go and
> let me know whether it helps by replying to the patch.
>
>
> [1] https://lore.kernel.org/lkml/20200311115649.26060-1-maz@kernel.org/

Marc,

Yup, this was it! We need to make sure this gets merged into 5.6. I
didn't have the original patch but attempted to reply via mailto:
link.

Best regards,

Tim

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

end of thread, other threads:[~2020-03-12 16:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 20:17 CN80xx (octeontx/thunderx) breakage from f2d8340 Tim Harvey
2020-03-12  8:55 ` Marc Zyngier
2020-03-12  9:43   ` Robert Richter
2020-03-12  9:58     ` Robert Richter
2020-03-12 16:58   ` Tim Harvey

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).