On 27 November 2013 10:27, Andreas Färber <afaer...@suse.de> wrote: > Am 27.11.2013 11:15, schrieb Peter Maydell: >> On 27 November 2013 09:42, Andreas Färber <afaer...@suse.de> 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