qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH arm-devs v1 2/6] target-arm/cpu: Convert reset C


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH arm-devs v1 2/6] target-arm/cpu: Convert reset CBAR to a property
Date: Wed, 27 Nov 2013 10:35:40 +0000

On 27 November 2013 10:27, Andreas Färber <address@hidden> wrote:
> Am 27.11.2013 11:15, schrieb Peter Maydell:
>> On 27 November 2013 09:42, Andreas Färber <address@hidden> wrote:
>>> If we turn it into a dynamic property, we could register it conditional
>>> to ARM_FEATURE_CBAR.
>>
>> Unfortunately feature flags only get set at realize (in the
>> per-cpu init function), so we don't know at the point where
>> we're registering properties whether to have this one or not.
>
> 1/6 sets it in instance_init actually. So instance_post_init might do.

Oh yes, was confusing init and realize.

>> The other option would be to define an a9 cpu class init fn to
>> put the property in.
>
> Is it A9-only or would A15, A7, A12, etc. also need it?

A5, A7, A9, and A15 all have this -- basically all the cores
with memory-mapped peripherals. It is still technically an
IMPDEF register and config signal, though.

-- PMM



reply via email to

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