From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Paul Bolle <pebolle@tiscali.nl>
Cc: x86@kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Richard Weinberger <richard@nod.at>,
Michael Opdenacker <michael.opdenacker@free-electrons.com>,
Ingo Molnar <mingo@redhat.com>,
xen-devel@lists.xenproject.org, "H. Peter Anvin" <hpa@zytor.com>,
David Vrabel <david.vrabel@citrix.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xen: remove XEN_PRIVILEGED_GUEST
Date: Mon, 17 Feb 2014 07:23:13 -0500 [thread overview]
Message-ID: <201402171223.s1HCNG0S023567@userz7022.oracle.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 2205 bytes --]
On Feb 16, 2014 3:07 PM, Paul Bolle <pebolle@tiscali.nl> wrote:
>
> This patch removes the Kconfig symbol XEN_PRIVILEGED_GUEST which is
> used nowhere in the tree. We do know grub2 has a script that greps
> kernel configuration files for this symbol. It shouldn't do that. As
Please look in the grub git tree. They have fixed their code to not do this anymore. This should be reflected in the patch description.
Lastly please check which distro has this new grub version so that we know which distros won't be affected.
Thanks.
> Linus summarized:
> Â Â Â This is a grub bug. It really is that simple. Treat it as one.
>
> So there's no reason to not remove it, like we do with all unused
> Kconfig symbols.
>
> [pebolle@tiscali.nl: rewrote commit explanation.]
> Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Tested with "git grep".
>
> Michael's version can be found at https://lkml.org/lkml/2013/7/8/34 .
> (This is the same patch, with a rewritten explanation, and my S-o-b
> line.) The question whether this symbol can be removed was further
> discussed in https://lkml.org/lkml/2013/7/15/308 .
>
> I don't think a bug was ever filed against grub2 regarding its way to
> check for Xen support. Should that be done first?
Had been done the moment I got Linus reply but instead of a bug it was on the mailing list.
>
> arch/x86/xen/Kconfig | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
> index 01b9026..512219d 100644
> --- a/arch/x86/xen/Kconfig
> +++ b/arch/x86/xen/Kconfig
> @@ -19,11 +19,6 @@ config XEN_DOM0
> depends on XEN && PCI_XEN && SWIOTLB_XEN
> depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
>
> -# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
> -# name in tools.
> -config XEN_PRIVILEGED_GUEST
> - def_bool XEN_DOM0
> -
> config XEN_PVHVM
> def_bool y
> depends on XEN && PCI && X86_LOCAL_APIC
> --
> 1.8.5.3
>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next reply other threads:[~2014-02-17 12:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 12:23 Konrad Rzeszutek Wilk [this message]
2014-02-17 13:03 ` Paul Bolle
2014-02-17 14:43 ` Konrad Rzeszutek Wilk
2014-02-18 10:14 ` Paul Bolle
2014-02-18 13:07 ` [PATCH v2] " Paul Bolle
2014-02-18 13:13 ` Paul Bolle
2014-02-24 18:51 ` [Xen-devel] " David Vrabel
2014-02-24 18:39 ` [Xen-devel] [PATCH] " Konrad Rzeszutek Wilk
2014-02-24 19:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-02-28 20:54 ` Paul Bolle
-- strict thread matches above, loose matches on Subject: below --
2014-02-16 20:07 Paul Bolle
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=201402171223.s1HCNG0S023567@userz7022.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.opdenacker@free-electrons.com \
--cc=mingo@redhat.com \
--cc=pebolle@tiscali.nl \
--cc=richard@nod.at \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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
all inboxes | Powered by JetHome®