From: Ian Campbell Subject: Re: [PATCH v2 01/15] xen/arm: register mmio handler at runtime Date: Fri, 4 Apr 2014 13:42:32 +0100 Message-ID: <1396615352.4211.216.camel@kazak.uk.xensource.com> References: <1396612593-443-1-git-send-email-vijay.kilari@gmail.com> <1396612593-443-2-git-send-email-vijay.kilari@gmail.com> <533EA307.4000900@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Vijay Kilari Cc: Stefano Stabellini , Prasun Kapoor , Vijaya Kumar K , Julien Grall , xen-devel@lists.xen.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2014-04-04 at 18:00 +0530, Vijay Kilari wrote: > >> + handler->mmio_handlers[handler->num_entries++] = handle; > >> + spin_unlock_irqrestore(&handler_lock, flags); > >> +} > >> /* > >> * Local variables: > >> * mode: C > >> diff --git a/xen/arch/arm/io.h b/xen/arch/arm/io.h > >> index 8d252c0..5fc1660 100644 > >> --- a/xen/arch/arm/io.h > >> +++ b/xen/arch/arm/io.h > > > > As you are modifying this header. Can you move it in > include/asm-arm? > OK. Please don't mix movement and modifications. Unless you are adding uses from outside xen/arch/arm requiring ugly relative includes there is no need to move this IMHO. There is already asm/io.h which relates to readl/writel and friends. If this were to move then it would need to be to asm/mmio.h or vmmio.h something. Ian.