[Skiboot] [PATCH skiboot] hw/phb3/naples: Disable D-states

David Gibson david at gibson.dropbear.id.au
Tue Feb 12 11:17:09 AEDT 2019


On Mon, Feb 11, 2019 at 07:13:14PM +1100, Alexey Kardashevskiy wrote:
> 
> 
> On 08/02/2019 16:33, David Gibson wrote:
> > On Fri, Jan 11, 2019 at 03:06:52PM +1100, Alexey Kardashevskiy wrote:
> >> Putting "Mellanox Technologies MT27700 Family [ConnectX-4] [15b3:1013]"
> >> (more precisely, the second of 2 its PCI functions, no matter in what
> >> order) into the D3 state causes EEH with the "PCT timeout" error.
> >> This has been noticed on garrison machines only and firestones do not
> >> seem to have this issue.
> >>
> >> This disables D-states changing for devices on root buses on Naples by
> >> installing a config space access filter (copied from PHB4).
> >>
> >> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> > 
> > While fixing this in firmware seems to make theoretical sense, from
> > all I can tell it will take an awfully long time to get this merged
> > into skiboot, built and rolled out to Garrison machines which need it.
> > 
> > I think we also need a kernel side workaround for this for the short
> > to medium term.
> 
> 
> Why not just have disable_idle_d3=1 in /etc/modprobe.d/xxx on garrisons?

Uh.. I don't know any way to make the config conditional on the type
of machine.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20190212/ef78b799/attachment.sig>


More information about the Skiboot mailing list