xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xensource.com, keir@xen.org,
	Tim Deegan <Tim.Deegan@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Lars Kurth <lars.kurth@xen.org>,
	David Vrabel <david.vrabel@citrix.com>,
	Jan Beulich <JBeulich@suse.com>, Wei Liu <wei.liu2@citrix.com>
Subject: Re: Xen Project policy on feature flags
Date: Mon, 29 Sep 2014 10:55:28 -0400	[thread overview]
Message-ID: <20140929145528.GE28012@laptop.dumpdata.com> (raw)
In-Reply-To: <1411990379.9686.44.camel@kazak.uk.xensource.com>

On Mon, Sep 29, 2014 at 12:32:59PM +0100, Ian Campbell wrote:
> On Mon, 2014-09-29 at 11:05 +0100, David Vrabel wrote:
> > On 29/09/14 10:36, George Dunlap wrote:
> > > On 09/29/2014 10:31 AM, Wei Liu wrote:
> > >> On Mon, Sep 29, 2014 at 10:00:13AM +0100, George Dunlap wrote:
> > >>> On 09/26/2014 03:49 PM, Stefano Stabellini wrote:
> > >>>>> Let me rephrase - will it boot in the same fashion (And with the same
> > >>>>> bugs) as it did prior to this functionality being introduced?
> > >>>> 3.15 -> dom0 on ARM broken (if netback is used)
> > >>>> 3.17 -> dom0 on ARM is fixed, only if the kernel is compiled with
> > >>>> CONFIG_ARM_LPAE
> > >>>>
> > >>>> Reverting the XENFEAT_grant_map_identity related changes would give you
> > >>>> a system broken even with CONFIG_ARM_LPAE.
> > >>>> Reverting Zoltan's changes to netback would give you a working system.
> > >> FWIW reverting isn't practical as many more fixes have gone in.
> > >>
> > >> I think a possible workaround is to copy directly xen-netback directory
> > >> from 3.14 and build it against new kernel. Netback itself is quite
> > >> self-contained.
> > > 
> > > Could we provide a patch which would just disable the problematic behavior?
> > 
> > No.  This would require re-introducing the grant copy from-guest path to
> > netback.  This would be expensive since netback has seen significant
> > changes since (multi-queue support in particular).
> > 
> > It would also not fix the underlying ARM-specific bug and other users of
> > grant mapping would be similarly broken.
> > 
> > I think we should:
> > 
> > 1. Revert XENFEAT_grant_map_identity.
> > 2. Add the flush-cache-by-bus-address hypercall.
> > 3. Add the Linux support this this cache operation and tag this for stable.
> > 4. Backport the hypercall to 4.4.x.
> > 
> > I think this is critical to fix in 4.5 and should have a freeze
> > exception.  I would even consider slipping the 4.5 release to get this
> > fixed.
> 
> I agree with this plan of action.
> 
> If the new h/call doesn't make 4.5.0 for some reason then it absolutely
> must make it for 4.5.1 (and I have no doubt that it would).

And there goes my plan for an relaxed-release.

I don't recall seeing my answer about distangling CONFIG_ARM_LPAE and
the DMA_ADDR_64_BIT (or whatever it is called) config option. Which
was meant to allow an 32-bit OS to deal with 64-bit PCI devices - which
would have allowed us to still to program 64-bit PCI devices without
the page table support for it. Is that an option?

> 
> Ian.
> 

  reply	other threads:[~2014-09-29 14:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 13:24 Xen Project policy on feature flags Stefano Stabellini
2014-09-26 13:39 ` Jan Beulich
2014-09-26 13:56   ` Andrew Cooper
2014-09-26 14:19   ` Ian Campbell
2014-09-26 14:29     ` Konrad Rzeszutek Wilk
2014-09-26 14:49       ` Stefano Stabellini
2014-09-29  9:00         ` George Dunlap
2014-09-29  9:31           ` Wei Liu
2014-09-29  9:36             ` George Dunlap
2014-09-29  9:54               ` Wei Liu
2014-09-29  9:54                 ` Stefano Stabellini
2014-09-29 10:05               ` David Vrabel
2014-09-29 11:32                 ` Ian Campbell
2014-09-29 14:55                   ` Konrad Rzeszutek Wilk [this message]
2014-09-29 15:00                     ` Ian Campbell
2014-09-30 11:04                       ` Stefano Stabellini
2014-09-26 14:46     ` Jan Beulich
2014-09-26 14:26 ` David Vrabel
2014-09-26 14:36   ` Konrad Rzeszutek Wilk
2014-09-26 14:54     ` Stefano Stabellini
2014-09-26 19:16       ` Konrad Rzeszutek Wilk
2014-09-26 14:52   ` Jan Beulich

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=20140929145528.GE28012@laptop.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=david.vrabel@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=keir@xen.org \
    --cc=lars.kurth@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).