[PATCH][RFC] Replaced tlbilx with tlbwe in the initialization code

Stuart Yoder b08248 at gmail.com
Thu Feb 21 01:22:52 EST 2013


On Tue, Feb 19, 2013 at 1:47 PM, Scott Wood <scottwood at 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


More information about the Linuxppc-dev mailing list