Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Stefano Stabellini
On Tue, 31 Oct 2017, Peter Maydell wrote: > On 31 October 2017 at 18:51, Stefano Stabellini > wrote: > > On Tue, 31 Oct 2017, Peter Maydell wrote: > >> On 31 October 2017 at 17:01, Stefano Stabellini > >> wrote: > >> > Fixing QEMU is harder than I expected. Would it be possible to update > >> >

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Peter Maydell
On 31 October 2017 at 18:51, Stefano Stabellini wrote: > On Tue, 31 Oct 2017, Peter Maydell wrote: >> On 31 October 2017 at 17:01, Stefano Stabellini >> wrote: >> > Fixing QEMU is harder than I expected. Would it be possible to update >> > id_aa64pfr0 at CPU reset time? Like cpu->id_aa64pfr0 |=

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Stefano Stabellini
On Tue, 31 Oct 2017, Peter Maydell wrote: > On 31 October 2017 at 17:01, Stefano Stabellini > wrote: > > Fixing QEMU is harder than I expected. Would it be possible to update > > id_aa64pfr0 at CPU reset time? Like cpu->id_aa64pfr0 |= 0x0100; ? > > At that point we've already called register

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Peter Maydell
On 31 October 2017 at 17:01, Stefano Stabellini wrote: > Fixing QEMU is harder than I expected. Would it be possible to update > id_aa64pfr0 at CPU reset time? Like cpu->id_aa64pfr0 |= 0x0100; ? At that point we've already called register_cp_regs_for_features(), which is where we read cpu->id

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Stefano Stabellini
On Tue, 31 Oct 2017, Peter Maydell wrote: > On 19 October 2017 at 15:46, Peter Maydell wrote: > > On 18 October 2017 at 01:10, Stefano Stabellini > > wrote: > >> Advertise the presence of the GIC system register interface (1<<24) > >> according to H9.248 of the ARM ARM. > >> > >> This patch allo

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-31 Thread Peter Maydell
On 19 October 2017 at 15:46, Peter Maydell wrote: > On 18 October 2017 at 01:10, Stefano Stabellini > wrote: >> Advertise the presence of the GIC system register interface (1<<24) >> according to H9.248 of the ARM ARM. >> >> This patch allows Xen to boot on QEMU aarch64. >> >> Signed-off-by: Ste

Re: [Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-19 Thread Peter Maydell
On 18 October 2017 at 01:10, Stefano Stabellini wrote: > Advertise the presence of the GIC system register interface (1<<24) > according to H9.248 of the ARM ARM. > > This patch allows Xen to boot on QEMU aarch64. > > Signed-off-by: Stefano Stabellini > > diff --git a/target/arm/cpu64.c b/target/

[Qemu-devel] [PATCH] aarch64: advertise the GIC system register interface

2017-10-17 Thread Stefano Stabellini
Advertise the presence of the GIC system register interface (1<<24) according to H9.248 of the ARM ARM. This patch allows Xen to boot on QEMU aarch64. Signed-off-by: Stefano Stabellini diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 670c07a..a451763 100644 --- a/target/arm/cpu64.c ++