From: Diana Craciun <diana.craciun@freescale.com>
To: Stuart Yoder <b08248@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH][RFC] Replaced tlbilx with tlbwe in the initialization code
Date: Wed, 20 Feb 2013 16:31:22 +0200 [thread overview]
Message-ID: <5124DE3A.8040309@freescale.com> (raw)
In-Reply-To: <CALRxmdCpS6cJ6kJ=cg4Mre6YA572fxyk+596E1k1MX+iRL7s9Q@mail.gmail.com>
On 02/20/2013 04:22 PM, Stuart Yoder wrote:
> On Tue, Feb 19, 2013 at 1:47 PM, Scott Wood <scottwood@freescale.com> wrote:
>> This patch addresses boot-time invalidations only. How will you handle
>> hugetlb invalidations (or indirect entry invalidations, once that becomes
>> supported)?
> We do envision that "direct guest TLB management" is an opt-in option
> that a guest can enable.
>
> If LRAT is on, with TLB management directly handled by guests, the only
> mechanism we have to do TLB1 invalidates is tlbwe. That is our only option
> as far as I know. So, hugetlb and indirect entries will each need to be
> addressed separately. The kernel code that handles these either needs
> to be A) modified to unconditionally do all invalidates by tlbwe or B)
> conditionally
> use tlbwe depending on whether this is a guest that has enabled direct
> TLB management.
>
> Stuart
>
In case of indirect entries I think we can configure tlbwe and tlbilx to
go to the hypervisor. The guest should not mix tlbwe (for TLB0) and
hardware page table walk, so we can support this scenario without
modifying the guest.
Diana
prev parent reply other threads:[~2013-02-20 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 12:56 [PATCH][RFC] Replaced tlbilx with tlbwe in the initialization code Diana Craciun
2013-02-15 0:11 ` Benjamin Herrenschmidt
2013-02-15 15:16 ` Diana Craciun
2013-02-19 19:47 ` Scott Wood
2013-02-20 9:22 ` Diana Craciun
2013-02-20 14:22 ` Stuart Yoder
2013-02-20 14:31 ` Diana Craciun [this message]
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=5124DE3A.8040309@freescale.com \
--to=diana.craciun@freescale.com \
--cc=b08248@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.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 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).