[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: |
Thu, 19 Oct 2017 15:46:23 +0100 |
On 18 October 2017 at 01:10, Stefano Stabellini <address@hidden> 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 <address@hidden>
>
> diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
> index 670c07a..a451763 100644
> --- a/target/arm/cpu64.c
> +++ b/target/arm/cpu64.c
> @@ -136,7 +136,7 @@ static void aarch64_a57_initfn(Object *obj)
> cpu->id_isar3 = 0x01112131;
> cpu->id_isar4 = 0x00011142;
> cpu->id_isar5 = 0x00011121;
> - cpu->id_aa64pfr0 = 0x00002222;
> + cpu->id_aa64pfr0 = 0x01002222;
> cpu->id_aa64dfr0 = 0x10305106;
> cpu->pmceid0 = 0x00000000;
> cpu->pmceid1 = 0x00000000;
> @@ -196,7 +196,7 @@ static void aarch64_a53_initfn(Object *obj)
> cpu->id_isar3 = 0x01112131;
> cpu->id_isar4 = 0x00011142;
> cpu->id_isar5 = 0x00011121;
> - cpu->id_aa64pfr0 = 0x00002222;
> + cpu->id_aa64pfr0 = 0x01002222;
> cpu->id_aa64dfr0 = 0x10305106;
> cpu->id_aa64isar0 = 0x00011120;
> cpu->id_aa64mmfr0 = 0x00001122; /* 40 bit physical addr */
Whoops -- we missed this when we added the GICv3 support, because
Linux doesn't check it.
Applied to target-arm.next, thanks.
-- PMM
- [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Stefano Stabellini, 2017/10/17
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface,
Peter Maydell <=
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Peter Maydell, 2017/10/31
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Stefano Stabellini, 2017/10/31
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Peter Maydell, 2017/10/31
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Stefano Stabellini, 2017/10/31
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Peter Maydell, 2017/10/31
- Re: [Qemu-arm] [PATCH] aarch64: advertise the GIC system register interface, Stefano Stabellini, 2017/10/31