From: Paul Burton <paul.burton@imgtec.com>
To: Richard Henderson <rth@twiddle.net>
Cc: james.hogan@imgtec.com, qemu-devel@nongnu.org,
markos.chandras@imgtec.com, Yongbok Kim <yongbok.kim@imgtec.com>,
leon.alrae@imgtec.com, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH] mips_malta: support up to 2GiB RAM
Date: Tue, 27 Aug 2013 09:45:16 +0100 [thread overview]
Message-ID: <521C671C.1000805@imgtec.com> (raw)
In-Reply-To: <521B980F.4040208@twiddle.net>
Thanks Richard. To be clear, is that a "this would be a nice future
improvement" or a "NAK until this is done"?
Paul
On Mon 26 Aug 2013 19:01:51 BST, Richard Henderson wrote:
> On 08/23/2013 08:09 AM, Yongbok Kim wrote:
>> + /* alias for pre IO hole access */
>> + memory_region_init_alias(ram_low_preio, NULL, "mips_malta_low_preio.ram",
>> + ram_high, 0, MIN(ram_size, (256 << 20)));
>> + memory_region_add_subregion(system_memory, 0, ram_low_preio);
>> +
>> + /* alias for post IO hole access, if there is enough RAM */
>> + if (ram_size > (512 << 20)) {
>> + ram_low_postio = g_new(MemoryRegion, 1);
>> + memory_region_init_alias(ram_low_postio, NULL,
>> + "mips_malta_low_postio.ram",
>> + ram_high, 512 << 20,
>> + ram_size - (512 << 20));
>> + memory_region_add_subregion(system_memory, 512 << 20, ram_low_postio);
>> + }
>
> This sort of thing is what subregion prioirities are for. Ideally you'd have
> one alias region, with lower priority than the IO hole.
>
> Of course, it looks like most of gt64xxx_pci.c needs cleaning up for proper
> usage of the memory region infrastructure before that can happen...
>
>
> r~
next prev parent reply other threads:[~2013-08-27 8:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-23 15:09 [Qemu-devel] [PATCH] mips_malta: support up to 2GiB RAM Yongbok Kim
2013-08-26 18:01 ` Richard Henderson
2013-08-27 8:45 ` Paul Burton [this message]
2013-08-27 14:54 ` Richard Henderson
2013-08-27 14:55 ` Richard Henderson
2013-08-27 15:01 ` Paul Burton
2013-08-28 16:44 ` Aurelien Jarno
2013-09-06 12:57 ` [Qemu-devel] [PATCH v2] " Paul Burton
2013-09-09 16:51 ` Aurelien Jarno
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=521C671C.1000805@imgtec.com \
--to=paul.burton@imgtec.com \
--cc=aurelien@aurel32.net \
--cc=james.hogan@imgtec.com \
--cc=leon.alrae@imgtec.com \
--cc=markos.chandras@imgtec.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=yongbok.kim@imgtec.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.