From: Hollis Blanchard <hollisb@us.ibm.com>
To: kvm-ppc@vger.kernel.org
Subject: Re: [kvm-ppc-devel] KVM kernel/userspace TLB interface
Date: Wed, 23 Jan 2008 21:05:27 +0000 [thread overview]
Message-ID: <1201122327.22329.43.camel@basalt> (raw)
In-Reply-To: <1199751688.5741.40.camel@basalt>
On Wed, 2008-01-23 at 14:38 +0100, Christian Ehrhardt wrote:
> Christian Ehrhardt wrote:
>
> This mail now has the reworked implementation of the patch for ppc440
> in the #2 style attached where the guest tlb can be get/set completely
> and the shadow tlb can be read from userspace (now separate ioctls for
> guest/shadow).
I don't think the host userspace should ever need to directly manipulate
the shadow TLB state. IIRC x86 just has a "sync shadow MMU state"
command (not sure what it does or when you use it though).
I also really don't like accessing the whole TLB as a giant array when
single-entry commands would work just fine.
> Actually this should work for most if not all use cases we have.
> Especially our current use case of setting up a proper initial state
> is very arch dependent anyway and if we really can save userspace code
> for shared usage depends on the fact if we will be able to create a
> shared bit format for flags (I start to put a common "map this" call
> down on my prio list).
"Flags" could just indicate IO vs RAM mappings. That would be nice and
generic. If IO flag is set, the host would map with
cache-inhibited/guarded. If not, it's a RAM mapping, so don't.
--
Hollis Blanchard
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel
next prev parent reply other threads:[~2008-01-23 21:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 0:21 [kvm-ppc-devel] KVM kernel/userspace TLB interface Hollis Blanchard
2008-01-08 7:12 ` Zhang Wei
2008-01-08 14:03 ` Avi Kivity
2008-01-22 13:25 ` Christian Ehrhardt
2008-01-23 13:38 ` Christian Ehrhardt
2008-01-23 21:05 ` Hollis Blanchard [this message]
2008-01-24 7:23 ` Christian Ehrhardt
2008-01-24 7:37 ` Hollis Blanchard
2008-01-24 7:58 ` Zhang Wei
2008-01-24 8:01 ` Zhang Wei
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=1201122327.22329.43.camel@basalt \
--to=hollisb@us.ibm.com \
--cc=kvm-ppc@vger.kernel.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