From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 19/38] KVM: PPC: Add cache flush on page map Date: Tue, 14 Aug 2012 20:23:53 -0500 Message-ID: <502AFA29.3030201@freescale.com> References: <1344985483-7440-1-git-send-email-agraf@suse.de> <1344985483-7440-20-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , KVM list To: Alexander Graf Return-path: Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:2828 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755356Ab2HOBYA (ORCPT ); Tue, 14 Aug 2012 21:24:00 -0400 In-Reply-To: <1344985483-7440-20-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On 08/14/2012 06:04 PM, 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. We're not really 100% sure of that -- this only handles the case where the kernel does the dirtying, not when it's done by QEMU or the guest. -Scott