diff mbox series

[v1,3/5] powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500

Message ID fa71ed20d22c156225436374f0ab847daac893bc.1671475543.git.christophe.leroy@csgroup.eu (mailing list archive)
State Accepted
Commit 77e82fa1f9781a958a6ea4aed7aec41239a5a22f
Headers show
Series [v1,1/5] powerpc/64: Set default CPU in Kconfig | expand

Commit Message

Christophe Leroy Dec. 19, 2022, 6:45 p.m. UTC
E500MC64 is a processor pre-dating E5500 that has never been
commercialised. Use -mcpu=e5500 for E5500 core.

More details at https://gcc.gnu.org/PR108149

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 arch/powerpc/platforms/Kconfig.cputype | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pali Rohár Dec. 20, 2022, 8:15 p.m. UTC | #1
On Monday 19 December 2022 19:45:58 Christophe Leroy wrote:
> E500MC64 is a processor pre-dating E5500 that has never been
> commercialised. Use -mcpu=e5500 for E5500 core.
> 
> More details at https://gcc.gnu.org/PR108149
> 
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>

Acked-by: Pali Rohár <pali@kernel.org>

> ---
>  arch/powerpc/platforms/Kconfig.cputype | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
> index 31cea2eeb59e..29d6be033576 100644
> --- a/arch/powerpc/platforms/Kconfig.cputype
> +++ b/arch/powerpc/platforms/Kconfig.cputype
> @@ -249,7 +249,7 @@ config TARGET_CPU
>  	default "power8" if POWER8_CPU
>  	default "power9" if POWER9_CPU
>  	default "power10" if POWER10_CPU
> -	default "e500mc64" if E5500_CPU
> +	default "e5500" if E5500_CPU
>  	default "e6500" if E6500_CPU
>  	default "power4" if POWERPC64_CPU && !CPU_LITTLE_ENDIAN
>  	default "power8" if POWERPC64_CPU && CPU_LITTLE_ENDIAN
> -- 
> 2.38.1
>
Pali Rohár Feb. 1, 2023, 11:46 p.m. UTC | #2
On Tuesday 20 December 2022 21:15:08 Pali Rohár wrote:
> On Monday 19 December 2022 19:45:58 Christophe Leroy wrote:
> > E500MC64 is a processor pre-dating E5500 that has never been
> > commercialised. Use -mcpu=e5500 for E5500 core.
> > 
> > More details at https://gcc.gnu.org/PR108149
> > 
> > Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> 
> Acked-by: Pali Rohár <pali@kernel.org>
> 
> > ---
> >  arch/powerpc/platforms/Kconfig.cputype | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
> > index 31cea2eeb59e..29d6be033576 100644
> > --- a/arch/powerpc/platforms/Kconfig.cputype
> > +++ b/arch/powerpc/platforms/Kconfig.cputype
> > @@ -249,7 +249,7 @@ config TARGET_CPU
> >  	default "power8" if POWER8_CPU
> >  	default "power9" if POWER9_CPU
> >  	default "power10" if POWER10_CPU
> > -	default "e500mc64" if E5500_CPU
> > +	default "e5500" if E5500_CPU
> >  	default "e6500" if E6500_CPU
> >  	default "power4" if POWERPC64_CPU && !CPU_LITTLE_ENDIAN
> >  	default "power8" if POWERPC64_CPU && CPU_LITTLE_ENDIAN
> > -- 
> > 2.38.1
> > 

It looks like that this patch is also missing in powerpc tree...
Christophe Leroy Feb. 3, 2023, 6:23 p.m. UTC | #3
Le 02/02/2023 à 00:46, Pali Rohár a écrit :
> On Tuesday 20 December 2022 21:15:08 Pali Rohár wrote:
>> On Monday 19 December 2022 19:45:58 Christophe Leroy wrote:
>>> E500MC64 is a processor pre-dating E5500 that has never been
>>> commercialised. Use -mcpu=e5500 for E5500 core.
>>>
>>> More details at https://gcc.gnu.org/PR108149
>>>
>>> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
>>
>> Acked-by: Pali Rohár <pali@kernel.org>
>>
>>> ---
>>>   arch/powerpc/platforms/Kconfig.cputype | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
>>> index 31cea2eeb59e..29d6be033576 100644
>>> --- a/arch/powerpc/platforms/Kconfig.cputype
>>> +++ b/arch/powerpc/platforms/Kconfig.cputype
>>> @@ -249,7 +249,7 @@ config TARGET_CPU
>>>   	default "power8" if POWER8_CPU
>>>   	default "power9" if POWER9_CPU
>>>   	default "power10" if POWER10_CPU
>>> -	default "e500mc64" if E5500_CPU
>>> +	default "e5500" if E5500_CPU
>>>   	default "e6500" if E6500_CPU
>>>   	default "power4" if POWERPC64_CPU && !CPU_LITTLE_ENDIAN
>>>   	default "power8" if POWERPC64_CPU && CPU_LITTLE_ENDIAN
>>> -- 
>>> 2.38.1
>>>
> 
> It looks like that this patch is also missing in powerpc tree...

The entire series is not taken yet indeed, only patch 1 is in the pipe 
because I submitted it as a fix in parallel.
diff mbox series

Patch

diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 31cea2eeb59e..29d6be033576 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -249,7 +249,7 @@  config TARGET_CPU
 	default "power8" if POWER8_CPU
 	default "power9" if POWER9_CPU
 	default "power10" if POWER10_CPU
-	default "e500mc64" if E5500_CPU
+	default "e5500" if E5500_CPU
 	default "e6500" if E6500_CPU
 	default "power4" if POWERPC64_CPU && !CPU_LITTLE_ENDIAN
 	default "power8" if POWERPC64_CPU && CPU_LITTLE_ENDIAN