From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.6] efi: introduce efi_arch_flush_dcache_area Date: Mon, 7 Sep 2015 15:24:58 +0100 Message-ID: <1441635898.25589.127.camel@citrix.com> References: <1441635230-20986-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZYxLy-0002vj-ET for xen-devel@lists.xenproject.org; Mon, 07 Sep 2015 14:25:02 +0000 In-Reply-To: <1441635230-20986-1-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , xen-devel@lists.xenproject.org Cc: wei.liu2@citrix.com, JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org On Mon, 2015-09-07 at 15:13 +0100, Stefano Stabellini wrote: > Objects loaded by FileHandle->Read need to be flushed to dcache, > otherwise copy_from_paddr will read stale data when copying the kernel, > causing a failure to boot. > > Introduce efi_arch_flush_dcache_area and call it from read_file. > > This commit introduces no functional changes on x86. > > Reported-by: Mark Rutland > Signed-off-by: Stefano Stabellini > CC: ian.campbell@citrix.com > CC: JBeulich@suse.com > CC: wei.liu2@citrix.com Acked-by: Ian Campbell