From: Evgeny Voevodin <e.voevodin@samsung.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: m.kozlov@samsung.com, qemu-devel@nongnu.org, d.solodkiy@samsung.com
Subject: Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.
Date: Thu, 22 Dec 2011 16:50:40 +0400 [thread overview]
Message-ID: <4EF327A0.8060300@samsung.com> (raw)
In-Reply-To: <CAFEAcA89TU-sMb=d0WSkiQ_ZsOXy25OAgqZ2kjB6FfJjcYLTXw@mail.gmail.com>
On 12/22/2011 04:30 PM, Peter Maydell wrote:
> On 22 December 2011 07:03, Evgeny Voevodin<e.voevodin@samsung.com> wrote:
>> Second GIC (external) is represented as "exynos4210.gic" with splitted
>> mapping for CPU (0x10480000) and Distributer (0x10490000) (we used
>> arm_gic.c availability to split CPU and Distributer memories).
>>
>> The reason for creation of this device with it's own read/write functions
>> is:
>>
>> CPU and Distributer registers which are banked per SMP Core in internal GIC
>> are not banked in external GIC and their offsets could not be used as is
>> with arm_gic.c.
>> External GIC registers in comparison to Internal GIC registers are moved
>> from base by offset n * 0x8000 for each SMP Core, where n is SMP Core index.
> Right, so just map each of the memory regions arm_gic exposes for
> core 0, core 1, ... to these addresses, and don't map the memory
> region corresponding to "CPU interface for this core" at all.
>
> -- PMM
>
Do you mean to use s->gic.cpuiomem[NCPU+1] as in a9mpcore.c
a9mp_priv_init() done?
What should we use if we need the same for distributor which is
represented as gic.iomem?
Extend distributor in the same way?
--
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: e.voevodin@samsung.com
next prev parent reply other threads:[~2011-12-22 12:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 11:53 [Qemu-devel] [PATCH v4 00/11] ARM: Samsung Exynos4210-based boards support Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 01/11] ARM: Samsung exynos4210-based boards emulation Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 02/11] ARM: exynos4210: UART support Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 03/11] hw/sysbus.h: Increase maximum number of device IRQs Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support Evgeny Voevodin
2011-12-21 13:50 ` Peter Maydell
2011-12-21 15:08 ` Evgeny Voevodin
2011-12-21 20:31 ` Peter Maydell
2011-12-22 7:03 ` Evgeny Voevodin
2011-12-22 12:30 ` Peter Maydell
2011-12-22 12:50 ` Evgeny Voevodin [this message]
2011-12-22 15:22 ` Peter Maydell
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 05/11] ARM: exynos4210: PWM support Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 06/11] hw/arm_boot.c: Extend secondary CPU bootloader Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 07/11] ARM: exynos4210: MCT support Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 08/11] hw/exynos4210.c: Boot secondary CPU Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 09/11] hw/lan9118: Add basic 16-bit mode support Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 10/11] hw/exynos4210.c: Add LAN support for SMDKC210 Evgeny Voevodin
2011-12-19 11:53 ` [Qemu-devel] [PATCH v4 11/11] Exynos4210: added display controller implementation Evgeny Voevodin
2011-12-21 11:49 ` Dmitry Zhurikhin
2011-12-22 8:00 ` Dmitry Solodkiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EF327A0.8060300@samsung.com \
--to=e.voevodin@samsung.com \
--cc=d.solodkiy@samsung.com \
--cc=m.kozlov@samsung.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).