ehea crash on boot

Jan Stancek jstancek at redhat.com
Tue Oct 11 18:45:56 AEDT 2016





----- Original Message -----
> From: "Michael Ellerman" <mpe at ellerman.id.au>
> To: "Jan Stancek" <jstancek at redhat.com>, "Denis Kirjanov" <kda at linux-powerpc.org>
> Cc: linuxppc-dev at lists.ozlabs.org
> Sent: Tuesday, 11 October, 2016 7:46:31 AM
> Subject: Re: ehea crash on boot
> 
> Jan Stancek <jstancek at redhat.com> writes:
> 
> > Hi Denis / all,
> >
> > Do you know if there is a patch or lead for this problem? I seem
> > to be hitting same Oops with P730 lpar when running 4.8 (see below),
> > but 4.7.7 looks OK.
> 
> Does this fix it?

Yes, it does. dmesg looks clean and network is up.

Regards,
Jan

> 
> cheers
> 
> 
> diff --git a/arch/powerpc/mm/hash_utils_64.c
> b/arch/powerpc/mm/hash_utils_64.c
> index 4cebc31e53de..4e83d872872d 100644
> --- a/arch/powerpc/mm/hash_utils_64.c
> +++ b/arch/powerpc/mm/hash_utils_64.c
> @@ -526,7 +526,7 @@ static bool might_have_hea(void)
>  	 */
>  #ifdef CONFIG_IBMEBUS
>  	return !cpu_has_feature(CPU_FTR_ARCH_207S) &&
> -		!firmware_has_feature(FW_FEATURE_SPLPAR);
> +		firmware_has_feature(FW_FEATURE_SPLPAR);
>  #else
>  	return false;
>  #endif
> 


More information about the Linuxppc-dev mailing list