[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support. |
Date: |
Thu, 22 Dec 2011 15:22:06 +0000 |
On 22 December 2011 12:50, Evgeny Voevodin <address@hidden> wrote:
> Do you mean to use s->gic.cpuiomem[NCPU+1] as in a9mpcore.c a9mp_priv_init()
> done?
It depends what you want. If you need a memory region
which behaves like "CPU interface for whatever the core
making this read/write is", that is cpuiomem[0]. If you
need a memory region which behaves like "CPU interface
for core 0" regardless of which core accesses it, that
is cpuiomem[1]. For "CPU interface for core 1", cpuiomem[2].
11MPCore uses all of these. A9MP's built in GIC only
needs cpuiomem[0].
If you need any of these at more than one address in the
memory map, you need to create a memory region alias.
> What should we use if we need the same for distributor which is represented
> as gic.iomem?
> Extend distributor in the same way?
Your current wrapper functions for the distributor read/write
routines don't do anything to pass a specific CPU number
into the underlying GIC distributor read/write functions.
So it should be sufficient to just map the distributor's
existing memory region (again, if you need it in more than
one place in the address space then create an alias memory
region for it).
-- PMM
- [Qemu-devel] [PATCH v4 06/11] hw/arm_boot.c: Extend secondary CPU bootloader., (continued)
- [Qemu-devel] [PATCH v4 06/11] hw/arm_boot.c: Extend secondary CPU bootloader., Evgeny Voevodin, 2011/12/19
- [Qemu-devel] [PATCH v4 05/11] ARM: exynos4210: PWM support., Evgeny Voevodin, 2011/12/19
- [Qemu-devel] [PATCH v4 10/11] hw/exynos4210.c: Add LAN support for SMDKC210., Evgeny Voevodin, 2011/12/19
- [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Evgeny Voevodin, 2011/12/19
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Peter Maydell, 2011/12/21
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Evgeny Voevodin, 2011/12/21
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Peter Maydell, 2011/12/21
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Evgeny Voevodin, 2011/12/22
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Peter Maydell, 2011/12/22
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support., Evgeny Voevodin, 2011/12/22
- Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.,
Peter Maydell <=
[Qemu-devel] [PATCH v4 09/11] hw/lan9118: Add basic 16-bit mode support., Evgeny Voevodin, 2011/12/19
[Qemu-devel] [PATCH v4 07/11] ARM: exynos4210: MCT support., Evgeny Voevodin, 2011/12/19
[Qemu-devel] [PATCH v4 11/11] Exynos4210: added display controller implementation, Evgeny Voevodin, 2011/12/19