From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] xen/arm64: Use __flush_dcache_area instead of __flush_dcache_all Date: Tue, 21 Oct 2014 09:17:24 +0100 Message-ID: <1413879444.20604.29.camel@citrix.com> References: <1413863725-27630-1-git-send-email-roy.franz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1413863725-27630-1-git-send-email-roy.franz@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roy Franz Cc: tim@xen.org, stefano.stabellini@citrix.com, Suravee Suthikulpanit , fu.wei@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-10-20 at 20:55 -0700, Roy Franz wrote: [...] > - * void noreturn efi_xen_start(void *fdt_ptr); > + * void noreturn efi_xen_start(void *fdt_ptr, uint32_t fdt_size); > */ > ENTRY(efi_xen_start) > /* > + * Preserve x0 (fdt pointer) across call to __flush_dcache_area, > + * restore for entry into Xen. > + */ > + mov x20, x0 > + > + /* flush dcache covering the FDT updated by EFI boot code */ According to the above strictly speaking the length is in w1 rather than x1. However I'm fairly certain (without having checked) that assigning to wn clears the upper 32-bits so this is fine. Hence: Acked-by: Ian Campbell and applied. If I'm misremembering about the writes to wn please holler ;-) > + ic ialluis > + tlbi alle2 I added a space here to line up the alle2. Ian.