qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] ppc: e6500 registers SPR 604 twice


From: Laurent Vivier
Subject: Re: [Qemu-trivial] ppc: e6500 registers SPR 604 twice
Date: Wed, 9 Jan 2019 11:17:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

David,

will you take this through your ppc branch?

Thanks,
Laurent

On 04/01/2019 11:41, Roman Kapl wrote:
>> Le 25/12/2018 à 10:50, Jon Diekema a écrit :
>>>  From f399f28441e0aa79458d68996038ca3606fcb699 Mon Sep 17 00:00:00 2001
>>> From: Jon Diekema <address@hidden <mailto:address@hidden>>
>>> Date: Tue, 25 Dec 2018 04:36:06 -0500
>>> Subject: ppc: e6500 registers SPR 604 twice
>>>
>>> When using the e6500 CPU, QEMU generates a fatal error after
>>> complaining about registering SPR 604 twice.
>>>
>>>
>>> diff --git a/target/ppc/translate_init.inc.c
>>> b/target/ppc/translate_init.inc.c
>>> index 03f1d34a97..c971a5faf7 100644
>>> --- a/target/ppc/translate_init.inc.c
>>> +++ b/target/ppc/translate_init.inc.c
>>> @@ -4947,14 +4947,6 @@ static void init_proc_e500(CPUPPCState *env, int
>>> version)
>>>       }
>>>         if (version == fsl_e6500) {
>>> -        spr_register(env, SPR_BOOKE_SPRG8, "SPRG8",
>>> -                     SPR_NOACCESS, SPR_NOACCESS,
>>> -                     &spr_read_generic, &spr_write_generic,
>>> -                     0x00000000);
>>> -        spr_register(env, SPR_BOOKE_SPRG9, "SPRG9",
>>> -                     SPR_NOACCESS, SPR_NOACCESS,
>>> -                     &spr_read_generic, &spr_write_generic,
>>> -                     0x00000000);
>>>           /* Thread identification */
>>>           spr_register(env, SPR_TIR, "TIR",
>>>                        SPR_NOACCESS, SPR_NOACCESS,
>>> -- 
>>> 2.20.1.3.gf17a2b179
>>>
>>
>> Reviewed-by: Laurent Vivier <address@hidden>
>> Tested-by: Laurent Vivier <address@hidden>
>>
> 
> Thanks Jon, I did not test with e6500. The patch fixes the issue &
> debugging still works on e5500.
> 
> Roman Kapl
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]