From: Wei Liu Subject: Re: [PATCH for-4.6] efi: introduce efi_arch_flush_dcache_area Date: Mon, 7 Sep 2015 18:26:13 +0100 Message-ID: <20150907172613.GU6436@zion.uk.xensource.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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZZ0BN-0007J1-FI for xen-devel@lists.xenproject.org; Mon, 07 Sep 2015 17:26:17 +0000 Content-Disposition: inline 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 Cc: xen-devel@lists.xenproject.org, wei.liu2@citrix.com, ian.campbell@citrix.com, JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org On Mon, Sep 07, 2015 at 03:13:50PM +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 I'm expecting a v2 with minor adjustments. In any case this is a valid and straightforward bug fix: Release-acked-by: Wei Liu I will wait for v2 and keep an eye on our testing progress. This will probably go in after RC3 (i.e. after branching) unless OSSTest is wedged again and we somehow need to retest staging. Wei.