qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interf


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface
Date: Tue, 31 Oct 2017 17:10:23 +0000

On 31 October 2017 at 17:01, Stefano Stabellini <address@hidden> wrote:
> Fixing QEMU is harder than I expected. Would it be possible to update
> id_aa64pfr0 at CPU reset time? Like cpu->id_aa64pfr0 |= 0x01000000; ?

At that point we've already called register_cp_regs_for_features(),
which is where we read cpu->id_aa64pfr0 when we're creating the
cpreg. So if you change it after that it's too late. But that
function is called at CPU realize time, which is before we've
created the GIC object...

thanks
-- PMM



reply via email to

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