[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 6/7] arm_boot: Pass base address of GIC CPU i
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v5 6/7] arm_boot: Pass base address of GIC CPU interface, not whole GIC |
Date: |
Wed, 15 Feb 2012 15:13:23 +0000 |
On 15 February 2012 14:36, Peter Maydell <address@hidden> wrote:
> The arm_boot secondary boot loader code needs the address of
> the GIC CPU interface. Obtaining this from the base address
> of the private peripheral region was possible for A9 and 11MPcore,
> but the A15 puts the GIC CPU interface in a different place.
> So make boards pass in the GIC CPU interface address directly.
>
> Signed-off-by: Peter Maydell <address@hidden>
Post-exynos4-landing this is going to need an extra hunk:
diff --git a/hw/exynos4_boards.c b/hw/exynos4_boards.c
index 329efbe..553a02b 100644
--- a/hw/exynos4_boards.c
+++ b/hw/exynos4_boards.c
@@ -112,7 +112,8 @@ static Exynos4210State *exynos4_boards_init_common(
exynos4_board_binfo.kernel_filename = kernel_filename;
exynos4_board_binfo.initrd_filename = initrd_filename;
exynos4_board_binfo.kernel_cmdline = kernel_cmdline;
- exynos4_board_binfo.smp_priv_base = EXYNOS4210_SMP_PRIVATE_BASE_ADDR;
+ exynos4_board_binfo.gic_cpu_if_addr =
+ EXYNOS4210_SMP_PRIVATE_BASE_ADDR + 0x100;
PRINT_DEBUG("\n ram_size: %luMiB [0x%08lx]\n"
" kernel_filename: %s\n"
I'm not going to rebroadcast the patchset for this minor rebase
fixup, unless anybody specifically wants me to...
-- PMM
- [Qemu-devel] [PATCH v5 0/7] Add support for vexpress-a15, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 6/7] arm_boot: Pass base address of GIC CPU interface, not whole GIC, Peter Maydell, 2012/02/15
- Re: [Qemu-devel] [PATCH v5 6/7] arm_boot: Pass base address of GIC CPU interface, not whole GIC,
Peter Maydell <=
- [Qemu-devel] [PATCH v5 4/7] hw/vexpress.c: Factor out daughterboard-specific initialization, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 1/7] hw/a15mpcore.c: Add Cortex-A15 private peripheral model, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 7/7] hw/vexpress.c: Add vexpress-a15 machine, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 5/7] hw/vexpress.c: Instantiate the motherboard CLCD, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 2/7] hw/vexpress.c: Make motherboard peripheral memory map table-driven, Peter Maydell, 2012/02/15
- [Qemu-devel] [PATCH v5 3/7] hw/vexpress.c: Move secondary CPU boot code to SRAM, Peter Maydell, 2012/02/15
- Re: [Qemu-devel] [PATCH v5 0/7] Add support for vexpress-a15, Peter Maydell, 2012/02/16