From: Ian Campbell <Ian.Campbell@eu.citrix.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: "randy.dunlap@oracle.com" <randy.dunlap@oracle.com>,
Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>Jeremy,
"eric.dumazet@gmail.com" <eric.dumazet@gmail.com>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
David Miller <davem@davemloft.net>,
"mirq-linux@rere.qmqm.pl" <mirq-linux@rere.qmqm.pl>,
"mingo@redhat.com" <mingo@redhat.com>,
"hpa@zytor.com" <hpa@zytor.com>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"virtualization@lists.linux-foundation.org"
<virtualization@lists.linux-foundation.org>,
"pazke@donpac.ru" <pazke@donpac.ru>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] xen: drop anti-dependency on X86_VISWS
Date: Fri, 8 Apr 2011 07:38:14 +0100 [thread overview]
Message-ID: <1302244694.31620.44.camel@localhost.localdomain> (raw)
In-Reply-To: <4D9DFD6A.1060200@goop.org>
(dropping netdev and the visws list)
On Thu, 2011-04-07 at 11:07 -0700, Jeremy Fitzhardinge wrote:
> On 04/06/2011 11:58 PM, Ian Campbell wrote:
> > On Wed, 2011-04-06 at 22:45 +0100, David Miller wrote:
> >> From: Ian Campbell <Ian.Campbell@eu.citrix.com>
> >> Date: Mon, 4 Apr 2011 10:55:55 +0100
> >>
> >>> You mean the "!X86_VISWS" I presume? It doesn't make sense to me either.
> >> No, I think 32-bit x86 allmodconfig elides XEN because of it's X86_TSC dependency.
> > TSC is a real dependency of the Xen interfaces.
>
> Not really. The TSC register is a requirement, but that's going to be
> present on any CPU which can boot Xen. We don't need any of the
> kernel's TSC machinery though.
So why the Kconfig dependency then? In principal a kernel compiled for a
non-TSC processor (which meets the other requirements for Xen, such as
PAE support) will run just fine under Xen on a newer piece of hardware.
Is there any downside to this patch (is X86_CMPXCHG in the same sort of
boat?)
8<----------------------------------
>From 7204945696a927d281366f2a57baee37e2b43ca3 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Fri, 8 Apr 2011 07:33:21 +0100
Subject: [PATCH] xen: remove Kconfig dependency on X86_TSC
The TSC register is a requirement when running under Xen, but that's going to
be present on any CPU which can boot Xen. We don't need any of the kernel's TSC
machinery, since the usage is contained within the Xen interfaces, and therefore
XEN does not need to depend on CONFIG_X86_TSC.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
arch/x86/xen/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index 1c7121b..ac69c5b 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -7,7 +7,7 @@ config XEN
select PARAVIRT
select PARAVIRT_CLOCK
depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
- depends on X86_CMPXCHG && X86_TSC
+ depends on X86_CMPXCHG
help
This is the Linux Xen port. Enabling this will allow the
kernel to boot in a paravirtualized environment under the
--
1.7.4.1
next prev parent reply other threads:[~2011-04-08 6:38 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 11:01 [PATCH RESEND] net: convert xen-netfront to hw_features Michał Mirosław
2011-03-31 11:13 ` Ian Campbell
2011-03-31 11:37 ` Michał Mirosław
2011-04-02 3:54 ` David Miller
2011-04-03 11:07 ` [PATCH] xen: netfront: fix declaration order Eric Dumazet
2011-04-03 17:35 ` Michał Mirosław
2011-04-04 0:24 ` David Miller
2011-04-04 9:55 ` [PATCH] xen: drop anti-dependency on X86_VISWS (Was: Re: [PATCH] xen: netfront: fix declaration order) Ian Campbell
2011-04-06 21:45 ` [PATCH] xen: drop anti-dependency on X86_VISWS David Miller
2011-04-07 6:58 ` Ian Campbell
2011-04-07 17:00 ` H. Peter Anvin
2011-04-08 6:46 ` Ian Campbell
2011-04-08 20:15 ` H. Peter Anvin
2011-04-07 18:07 ` Jeremy Fitzhardinge
2011-04-08 6:38 ` Ian Campbell [this message]
2011-04-08 15:25 ` Jeremy Fitzhardinge
2011-04-08 15:42 ` Jan Beulich
2011-04-08 18:24 ` Jeremy Fitzhardinge
2011-04-09 10:34 ` Ian Campbell
2011-04-14 8:20 ` Jeremy Fitzhardinge
2011-04-04 12:29 ` [PATCH RESEND] net: convert xen-netfront to hw_features Ian Campbell
2011-04-04 18:08 ` David Miller
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=1302244694.31620.44.camel@localhost.localdomain \
--to=ian.campbell@eu.citrix.com \
--cc=Jeremy.Fitzhardinge@citrix.com \
--cc=jeremy@goop.org \
--cc=randy.dunlap@oracle.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).