From: Ian Campbell Subject: Re: [PATCH 7/7] xen/arm: Blacklist some sun7i UARTs Date: Fri, 20 Sep 2013 22:41:02 +0100 Message-ID: <1379713262.8994.56.camel@hastur.hellion.org.uk> References: <1379693872.8994.37.camel@hastur.hellion.org.uk> <1379693918-24067-7-git-send-email-ian.campbell@citrix.com> <523C9BC3.10702@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <523C9BC3.10702@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: Julien Grall Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2013-09-20 at 20:02 +0100, Julien Grall wrote: > > + /* > > + * These UARTs share a page with the Xen console UART, so we don't > > + * want to map them through. > > + */ > > + DT_MATCH_PATH("/soc@01c00000/serial@01c28000"), > > + DT_MATCH_PATH("/soc@01c00000/serial@01c28400"), > > + DT_MATCH_PATH("/soc@01c00000/serial@01c28800"), > > + DT_MATCH_PATH("/soc@01c00000/serial@01c28c00"), > > Can we blacklist all the UARTs via a DT_MATCH_COMPATIBLE? It's better > than relying on the path that can be changed easily in the device tree. There are other UARTS (at 0x1c29xxx) which could safely be exposed to dom0. Perhaps it is better to just blacklist the whole lot though. Ultimately this is just a hack for the fact that Xen is not currently smart enough to figure out which devices conflict in this way... Ian.