qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Evgeny Voevodin <e.voevodin@samsung.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: kyungmin.park@samsung.com, m.kozlov@samsung.com,
	jehyung.lee@samsung.com, qemu-devel@nongnu.org,
	d.solodkiy@samsung.com
Subject: Re: [Qemu-devel] [PATCH v5 08/11] hw/exynos4210.c: Boot secondary CPU.
Date: Wed, 11 Jan 2012 10:13:37 +0400	[thread overview]
Message-ID: <4F0D2891.8040205@samsung.com> (raw)
In-Reply-To: <CAFEAcA8KniSZqUExMGwoxCPFeASDUWaz6X6mAKCHP0HbQczsmQ@mail.gmail.com>

On 01/10/2012 08:16 PM, Peter Maydell wrote:
> On 23 December 2011 11:40, Evgeny Voevodin<e.voevodin@samsung.com>  wrote:
>> +    /*
>> +     * Hack: Map SECOND_CPU_BOOTREG, because it is in PMU USER5 register.
>> +     */
> Shouldn't we be modelling the PMU then?
>
Power Management Unit (PMU) is quite tricky and not critical for emulation.
At this time PMU emulation is paused. It just represents about 16K 
registers array.
I don't think that it is a good idea to include such a device into 
mainline code in
order to provide one of it's register for secondary CPU boot-up.

>> +    memory_region_init_ram(&s->bootreg_mem, NULL, "exynos4210.bootreg", 0x4);
>> +    memory_region_add_subregion(system_mem, EXYNOS4210_SECOND_CPU_BOOTREG,
>> +&s->bootreg_mem);
>> +
>
>> +static int exynos4_board_smp_bootreg_addr[EXYNOS4_NUM_OF_BOARDS] = {
>> +    [EXYNOS4_BOARD_NURI]     = EXYNOS4210_SECOND_CPU_BOOTREG,
>> +    [EXYNOS4_BOARD_SMDKC210] = EXYNOS4210_SECOND_CPU_BOOTREG,
>> +};
> Is this actually likely to differ between boards, or is it really a property
> of the SoC itself?
>
Yes, it is specific to a board. There are different boards on exynos4210 
SOC which have
different bootreg addresses. At this time we don't emulate them.

-- 
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: e.voevodin@samsung.com

  reply	other threads:[~2012-01-11  6:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23 11:40 [Qemu-devel] [PATCH v5 00/11] ARM: Samsung Exynos4210-based boards support Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 01/11] ARM: Samsung exynos4210-based boards emulation Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 02/11] ARM: exynos4210: UART support Evgeny Voevodin
2012-01-10 12:11   ` Peter Maydell
2012-01-11  5:28     ` Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 03/11] hw/sysbus.h: Increase maximum number of device IRQs Evgeny Voevodin
2012-01-10 12:40   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 04/11] ARM: exynos4210: IRQ subsystem support Evgeny Voevodin
2012-01-10 12:35   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 05/11] ARM: exynos4210: PWM support Evgeny Voevodin
2012-01-10 12:40   ` Peter Maydell
2012-01-10 13:46     ` Andreas Färber
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 06/11] hw/arm_boot.c: Extend secondary CPU bootloader Evgeny Voevodin
2012-01-10 15:32   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 07/11] ARM: exynos4210: MCT support Evgeny Voevodin
2012-01-10 16:13   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 08/11] hw/exynos4210.c: Boot secondary CPU Evgeny Voevodin
2012-01-10 16:16   ` Peter Maydell
2012-01-11  6:13     ` Evgeny Voevodin [this message]
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 09/11] hw/lan9118: Add basic 16-bit mode support Evgeny Voevodin
2012-01-10 16:29   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 10/11] hw/exynos4210.c: Add LAN support for SMDKC210 Evgeny Voevodin
2012-01-10 16:30   ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 11/11] Exynos4210: added display controller implementation Evgeny Voevodin
2012-01-10 16:51   ` Peter Maydell

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=4F0D2891.8040205@samsung.com \
    --to=e.voevodin@samsung.com \
    --cc=d.solodkiy@samsung.com \
    --cc=jehyung.lee@samsung.com \
    --cc=kyungmin.park@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).