linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Borislav Petkov <bp@alien8.de>, X86 ML <x86@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Andy Lutomirski <luto@amacapital.net>,
	"Luis R. Rodriguez" <mcgrof@kernel.org>
Subject: Re: [PATCH] x86/ptdump: Remove paravirt_enabled()
Date: Thu, 18 Feb 2016 16:31:43 -0500	[thread overview]
Message-ID: <56C6383F.9010405@oracle.com> (raw)
In-Reply-To: <1455825641-19585-1-git-send-email-bp@alien8.de>



On 02/18/2016 03:00 PM, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> is_hypervisor_range() can simply check if the PGD index is
> within ffff800000000000 - ffff87ffffffffff which is the range
> reserved for a hypervisor. That range is practically an ABI, see
> Documentation/x86/x86_64/mm.txt.
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: Andy Lutomirski <luto@amacapital.net>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>

Under Xen, as PV guest:

Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

  reply	other threads:[~2016-02-18 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18 20:00 [PATCH] x86/ptdump: Remove paravirt_enabled() Borislav Petkov
2016-02-18 21:31 ` Boris Ostrovsky [this message]
2016-02-20 11:42 ` [tip:x86/mm] x86/mm/ptdump: " tip-bot for Borislav Petkov

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=56C6383F.9010405@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mcgrof@kernel.org \
    --cc=x86@kernel.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 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).