From: Ian Campbell Subject: Re: [PATCH V1 18/29] xen/arm: Don't map disabled device in DOM0 Date: Tue, 10 Sep 2013 10:03:04 +0100 Message-ID: <1378803784.21748.31.camel@kazak.uk.xensource.com> References: <1377701263-3319-1-git-send-email-julien.grall@linaro.org> <1377701263-3319-19-git-send-email-julien.grall@linaro.org> <1378726800.19967.73.camel@kazak.uk.xensource.com> <522E44C1.3020808@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <522E44C1.3020808@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, andre.przywara@linaro.org, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-09-09 at 22:59 +0100, Julien Grall wrote: > On 09/09/2013 12:40 PM, Ian Campbell wrote: > > On Wed, 2013-08-28 at 15:47 +0100, Julien Grall wrote: > >> Linux should cope with 'status = "disabled"' in the Device Tree. > > > > This is devices which were disabled in the DT passed to Xen, rather than > > ones which we have disabled ourselves (e.g. the previous patch)? > > Yes. > > > >> This solution can be used later to pass-through device to a specific guest. > > > > How? I thought disabled meant "not present/wired-up on this variant of > > the platform"? A user cannot be expected to edit the host DTB to enable > > passthrough. We might want a dtb_hide cmdline option, or to do it > > dynamically like pciback is capable of. > > Disabled also means "the device is not presently operational, but it > might become operational in the future". > > > Or maybe I'm wrong above and this is indeed devices we have disabled > > ourselves? > > I'm not sure it's usefull. But I don't see any reason to map disabled > device in dom0. Agreed, I just think the reference to passthrough in the changelog is not relevant to this and might not be accurate. Ian.