Re: [PATCH 8/8] KVM: PPC: Add cache flush on page map

2012-08-08 Thread Alexander Graf
On 07.08.2012, at 23:01, Scott Wood wrote: > On 08/07/2012 05:57 AM, Alexander Graf wrote: >> When we map a page that wasn't icache cleared before, do so when first >> mapping it in KVM using the same information bits as the Linux mapping >> logic. That way we are 100% sure that any page we map

Re: [PATCH 8/8] KVM: PPC: Add cache flush on page map

2012-08-07 Thread Scott Wood
On 08/07/2012 05:57 AM, Alexander Graf wrote: > When we map a page that wasn't icache cleared before, do so when first > mapping it in KVM using the same information bits as the Linux mapping > logic. That way we are 100% sure that any page we map does not have stale > entries in the icache. > > W

[PATCH 8/8] KVM: PPC: Add cache flush on page map

2012-08-07 Thread Alexander Graf
When we map a page that wasn't icache cleared before, do so when first mapping it in KVM using the same information bits as the Linux mapping logic. That way we are 100% sure that any page we map does not have stale entries in the icache. What we really would need is a method to flush the icache o