public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] xen: use direct ops on 64-bit
@ 2009-01-31  1:42 Jeremy Fitzhardinge
  2009-01-31  5:35 ` Tejun Heo
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2009-01-31  1:42 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Linux Kernel Mailing List, Xen-devel, Tejun Heo, Brian Gerst

Enable the use of the direct vcpu-access operations on 64-bit.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 arch/x86/xen/enlighten.c |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

===================================================================
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -116,14 +116,7 @@
  *
  * 0: not available, 1: available
  */
-static int have_vcpu_info_placement =
-#ifdef CONFIG_X86_32
-	1
-#else
-	0
-#endif
-	;
-
+static int have_vcpu_info_placement = 1;
 
 static void xen_vcpu_setup(int cpu)
 {
@@ -1644,11 +1637,6 @@
 	machine_ops = xen_machine_ops;
 
 #ifdef CONFIG_X86_64
-	/* Disable until direct per-cpu data access. */
-	have_vcpu_info_placement = 0;
-#endif
-
-#ifdef CONFIG_X86_64
 	/*
 	 * Setup percpu state.  We only need to do this for 64-bit
          * because 32-bit already has %fs set properly.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 3/3] xen: use direct ops on 64-bit
  2009-01-31  1:42 [PATCH 3/3] xen: use direct ops on 64-bit Jeremy Fitzhardinge
@ 2009-01-31  5:35 ` Tejun Heo
  2009-01-31  7:22   ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 4+ messages in thread
From: Tejun Heo @ 2009-01-31  5:35 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Ingo Molnar, Linux Kernel Mailing List, Xen-devel, Brian Gerst

Jeremy Fitzhardinge wrote:
> Enable the use of the direct vcpu-access operations on 64-bit.
> 
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

Hmmm... these three patches conflict with the previous two patches.
I'll soon send out a new tree.  Can you please wait a bit and refresh
the patches?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 3/3] xen: use direct ops on 64-bit
  2009-01-31  5:35 ` Tejun Heo
@ 2009-01-31  7:22   ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2009-01-31  7:22 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Ingo Molnar, Linux Kernel Mailing List, Xen-devel, Brian Gerst

Tejun Heo wrote:
> Jeremy Fitzhardinge wrote:
>   
>> Enable the use of the direct vcpu-access operations on 64-bit.
>>
>> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
>>     
>
> Hmmm... these three patches conflict with the previous two patches.
> I'll soon send out a new tree.  Can you please wait a bit and refresh
> the patches?

Sorry about that; I had to do a fair amount of hacking to get things 
going in the end.  I mailed out those other patches prematurely after 
"testing" them with the wrong kernel.

I'll send updated fixes when I see your changes appear in tip.git.

    J

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] xen: use direct ops on 64-bit
@ 2009-02-02 21:55 Jeremy Fitzhardinge
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2009-02-02 21:55 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: the arch/x86 maintainers, Linux Kernel Mailing List, Xen-devel

Enable the use of the direct vcpu-access operations on 64-bit.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 arch/x86/xen/enlighten.c |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

===================================================================
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -116,14 +116,7 @@
  *
  * 0: not available, 1: available
  */
-static int have_vcpu_info_placement =
-#ifdef CONFIG_X86_32
-	1
-#else
-	0
-#endif
-	;
-
+static int have_vcpu_info_placement = 1;
 
 static void xen_vcpu_setup(int cpu)
 {
@@ -1644,11 +1637,6 @@
 	machine_ops = xen_machine_ops;
 
 #ifdef CONFIG_X86_64
-	/* Disable until direct per-cpu data access. */
-	have_vcpu_info_placement = 0;
-#endif
-
-#ifdef CONFIG_X86_64
 	/*
 	 * Setup percpu state.  We only need to do this for 64-bit
          * because 32-bit already has %fs set properly.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-02 21:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31  1:42 [PATCH 3/3] xen: use direct ops on 64-bit Jeremy Fitzhardinge
2009-01-31  5:35 ` Tejun Heo
2009-01-31  7:22   ` Jeremy Fitzhardinge
  -- strict thread matches above, loose matches on Subject: below --
2009-02-02 21:55 Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox