xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: George Dunlap <george.dunlap@eu.citrix.com>,
	Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xensource.com, keir@xen.org,
	Tim Deegan <Tim.Deegan@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Lars Kurth <lars.kurth@xen.org>, Jan Beulich <JBeulich@suse.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Xen Project policy on feature flags
Date: Mon, 29 Sep 2014 11:05:29 +0100	[thread overview]
Message-ID: <54292EE9.9090708@citrix.com> (raw)
In-Reply-To: <54292823.2050502@eu.citrix.com>

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.

David

  parent reply	other threads:[~2014-09-29 10:05 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 [this message]
2014-09-29 11:32                 ` Ian Campbell
2014-09-29 14:55                   ` Konrad Rzeszutek Wilk
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=54292EE9.9090708@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=Tim.Deegan@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).