[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450 |
Date: |
Tue, 2 Apr 2013 10:56:03 +0200 |
On 02.04.2013, at 09:53, Fabien Chouteau wrote:
> On 04/02/2013 10:09 AM, Alexander Graf wrote:
>>
>> On 29.03.2013, at 13:06, Fabien Chouteau wrote:
>>
>>> According to the different user's manuals, the vector offset for system
>>> reset (both /HRESET and /SRESET) is 0x00100.
>>>
>>> This patch may break support of some executables, as the power-on start
>>> address may change. For a specific board, if the power-on start address
>>> is different than HRESET vector (i.e. 0x00000100 or 0xfff00100), this
>>> should be fixed in board's initialization code.
>>>
>>> Signed-off-by: Fabien Chouteau <address@hidden>
>>
>> What about the other users of hreset_vector? Can we just remove the variable
>> altogether?
>>
>
> For the CPUs that don't implement MSR[IP], the hreset_prefix is always
> 0x00000000, so hreset_vector will be the reset address (i.e. 0xFFFFFFFC)
>
> I guess all this can be converted to a CPU feature flag, telling if
> reset is an exception or not.
Hrm, maybe. Not sure which way is cleaner.
I'll apply your patch for now. It's certainly a step into the right direction.
Alex
- Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Alexander Graf, 2013/04/02
- Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Fabien Chouteau, 2013/04/02
- Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450,
Alexander Graf <=
- Prev by Date:
Re: [Qemu-devel] [PATCH V10 11/17] qmp: add ImageInfo in BlockDeviceInfo used by query-block
- Next by Date:
[Qemu-devel] qemu crashed when starting vm(kvm) with vnc connect
- Previous by thread:
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450
- Next by thread:
Re: [Qemu-devel] [PATCH 2/2] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450
- Index(es):