All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Juergen Gross <jgross@suse.com>, <linux-kernel@vger.kernel.org>,
	<xen-devel@lists.xensource.com>, <konrad.wilk@oracle.com>,
	<boris.ostrovsky@oracle.com>, <stefan.bader@canonical.com>
Subject: Re: [PATCH] xen: correct bug in p2m list initialization
Date: Fri, 27 Feb 2015 14:54:28 +0000	[thread overview]
Message-ID: <54F08524.3010703@citrix.com> (raw)
In-Reply-To: <1425048329-6797-1-git-send-email-jgross@suse.com>

On 27/02/15 14:45, Juergen Gross wrote:
> Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to
> linear virtual mapped sparse p2m list") introduced an error.
> 
> During initialization of the p2m list a p2m identity area mapped by
> a complete identity pmd entry has to be split up into smaller chunks
> sometimes, if a non-identity pfn is introduced in this area.
> 
> If this non-identity pfn is not at index 0 of a p2m page the new
> p2m page needed is initialized with wrong identity entries, as the
> identity pfns don't start with the value corresponding to index 0,
> but with the initial non-identity pfn. This results in weird wrong
> mappings.
> 
> Correct the wrong initialization by starting with the correct pfn.

Applied to stable/for-linus-4.0, thanks.

David

WARNING: multiple messages have this Message-ID (diff)
From: David Vrabel <david.vrabel@citrix.com>
To: Juergen Gross <jgross@suse.com>,
	linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com,
	konrad.wilk@oracle.com, boris.ostrovsky@oracle.com,
	stefan.bader@canonical.com
Subject: Re: [PATCH] xen: correct bug in p2m list initialization
Date: Fri, 27 Feb 2015 14:54:28 +0000	[thread overview]
Message-ID: <54F08524.3010703@citrix.com> (raw)
In-Reply-To: <1425048329-6797-1-git-send-email-jgross@suse.com>

On 27/02/15 14:45, Juergen Gross wrote:
> Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to
> linear virtual mapped sparse p2m list") introduced an error.
> 
> During initialization of the p2m list a p2m identity area mapped by
> a complete identity pmd entry has to be split up into smaller chunks
> sometimes, if a non-identity pfn is introduced in this area.
> 
> If this non-identity pfn is not at index 0 of a p2m page the new
> p2m page needed is initialized with wrong identity entries, as the
> identity pfns don't start with the value corresponding to index 0,
> but with the initial non-identity pfn. This results in weird wrong
> mappings.
> 
> Correct the wrong initialization by starting with the correct pfn.

Applied to stable/for-linus-4.0, thanks.

David

  reply	other threads:[~2015-02-27 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 14:45 [PATCH] xen: correct bug in p2m list initialization Juergen Gross
2015-02-27 14:54 ` David Vrabel [this message]
2015-02-27 14:54   ` David Vrabel

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=54F08524.3010703@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefan.bader@canonical.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 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.