From: Anthony Liguori <anthony@codemonkey.ws>
To: Hollis Blanchard <hollisb@us.ibm.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
Liu Yu-B13201 <Yu.Liu@freescale.com>,
qemu-devel@nongnu.org, kvm-ppc@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot management
Date: Wed, 29 Apr 2009 17:38:45 +0000 [thread overview]
Message-ID: <49F890A5.8000405@codemonkey.ws> (raw)
In-Reply-To: <1241025000.24990.51.camel@slate.austin.ibm.com>
Hollis Blanchard wrote:
> On Wed, 2009-04-29 at 12:38 +0200, Jan Kiszka wrote:
>
>> What is the alignment of those regions then? None? And do regions of
>> different types overlap even on the same page? Maybe the check reveals
>> some deeper conflict /wrt KVM. Can you point me to the involved code files?
>>
>
> These PCI controllers make separate calls to
> cpu_register_physical_memory() for separate callbacks. Reading
> ppce500_pci_init(), for example:
> 0xe0008000 -> CFGADDR (4 bytes)
> 0xe0008004 -> CFGDATA (4 bytes)
> 0xe0008c00 -> other registers
>
That's goofy. If the single device owns the entire region, it should
region the entire region instead of relying on subpage functionality.
If just requires a switch() on the address to dispatch to the
appropriate functions. It should be easy enough to fix.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-04-29 17:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090411172025.32383.77687.stgit@mchn012c.ww002.siemens.net>
[not found] ` <20090411172026.32383.7492.stgit@mchn012c.ww002.siemens.net>
2009-04-29 10:31 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot management Liu Yu-B13201
2009-04-29 10:38 ` Jan Kiszka
2009-04-29 11:10 ` Liu Yu-B13201
2009-04-29 11:36 ` Jan Kiszka
2009-04-29 17:10 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot Hollis Blanchard
2009-04-29 17:30 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot management Jan Kiszka
2009-04-29 17:37 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot Hollis Blanchard
2009-04-29 18:08 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot management Jan Kiszka
2009-04-30 2:39 ` Liu Yu-B13201
2009-04-29 17:38 ` Anthony Liguori [this message]
2009-04-29 18:02 ` [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to slot Hollis Blanchard
2009-04-29 18:54 ` Blue Swirl
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=49F890A5.8000405@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Yu.Liu@freescale.com \
--cc=hollisb@us.ibm.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm-ppc@vger.kernel.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