[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register inte
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [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