powerpc/powernv: Don't warn on PE init if unfreeze is unsupported

Michael Ellerman patch-notifications at ellerman.id.au
Fri Nov 25 11:04:08 AEDT 2016


On Wed, 2016-11-16 at 01:12:26 UTC, Russell Currey wrote:
> Whenever a PE is initialised in powernv, opal_pci_eeh_freeze_clear() is
> called.  This is to remove any existing freeze, and has no negative side
> effects if the PE is already in an unfrozen state.  On PHB backends that
> don't support this operation and return OPAL_UNSUPPORTED, this creates a
> scary and misleading warning message.
> 
> Skip the warning message on init if OPAL_UNSUPPORTED is returned.
> 
> As far as I'm aware, this currently only affects NPUs.
> 
> Fixes: 313483d ("powerpc/powernv: Unfreeze PE on allocation")
> Signed-off-by: Russell Currey <ruscur at russell.cc>
> Acked-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d4791db527bf397c84c9956c3ece96

cheers


More information about the Linuxppc-dev mailing list