All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Chen Baozi <baozich@gmail.com>,
	Julien Grall <julien.grall@linaro.org>,
	List Xen Developer <xen-devel@lists.xen.org>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: Problems when using latest git tree to boot xen on OMAP5
Date: Wed, 9 Oct 2013 13:11:27 +0100	[thread overview]
Message-ID: <alpine.DEB.2.02.1310091304000.26077@kaball.uk.xensource.com> (raw)
In-Reply-To: <1381320119.7600.12.camel@kazak.uk.xensource.com>

On Wed, 9 Oct 2013, Ian Campbell wrote:
> On Wed, 2013-10-09 at 12:29 +0100, Stefano Stabellini wrote:
> > On Wed, 9 Oct 2013, Ian Campbell wrote:
> > > On Wed, 2013-10-09 at 12:15 +0100, Julien Grall wrote:
> > > > On 10/09/2013 09:11 AM, Ian Campbell wrote:
> > > > > Rather than whitelisting and mapping disabled devices through perhaps we
> > > > > should implement them as read 0xf (or 0x0) and write ignore?
> > > > 
> > > > We can't assume that these values (0x0 or 0xf) won't affect dom0 behaviour.
> > > 
> > > 0xff is what you would typically get back if there was no actual
> > > hardware present.
> > > 
> > > > What about a new quirk to map all disabled device in dom0
> > > > (PLATFORM_QUIRK_DOM0_MAP_DISABLED_DEVICE)?
> > > 
> > > Why is this not the default behaviour?
> > 
> > I think this is not a good idea: it prevents us from assigning one
> > device directly to a domain other than dom0 from Xen at boot time
> > (without going through something like PCI passthough).
> 
> No it doesn't, it would just be a default behaviour which would be
> overrideable by some new command line option.

I see.
I would still keep it off by default and maybe enable the workaround
only where we actually need it. If we enable it by default we might not
know exactly which ones are the platforms that actually require it.


> Note that we don't even go as far as you suggest for PCI passthrough on
> x86, where dom0 still sees the device and the hide option is a dom0 one.

The main difference is that in that case we can hide a given device
using pciback (or pcistub), in this case we can't. Also on x86 we are
constrained by the PCI bus, while here we might be able to have a better
design for non-PCI devices.

  reply	other threads:[~2013-10-09 12:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04 14:11 Problems when using latest git tree to boot xen on OMAP5 Chen Baozi
2013-10-06 14:21 ` Chen Baozi
2013-10-07  8:39   ` Ian Campbell
2013-10-07  9:58     ` Chen Baozi
2013-10-07 10:01       ` Ian Campbell
2013-10-07 10:59       ` Julien Grall
2013-10-07 15:28         ` Chen Baozi
2013-10-07 15:44           ` Julien Grall
2013-10-08 13:54             ` Chen Baozi
2013-10-09  7:46         ` Chen Baozi
2013-10-09  8:11           ` Ian Campbell
2013-10-09  9:09             ` Chen Baozi
2013-10-09 11:15             ` Julien Grall
2013-10-09 11:19               ` Ian Campbell
2013-10-09 11:29                 ` Stefano Stabellini
2013-10-09 12:01                   ` Ian Campbell
2013-10-09 12:11                     ` Stefano Stabellini [this message]
2013-10-09 11:29                 ` Julien Grall
2013-10-09 12:05                   ` Ian Campbell
2013-10-15  8:41               ` Chen Baozi
2013-10-10  8:05             ` Chen Baozi
2013-10-10 11:07               ` Julien Grall
2013-10-10 11:36                 ` Chen Baozi
2013-10-10 12:04                   ` Vaibhav Bedia
2013-10-07 10:19 ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1310091304000.26077@kaball.uk.xensource.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=baozich@gmail.com \
    --cc=julien.grall@linaro.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.