Thread (22 messages) 22 messages, 7 authors, 2017-02-22

Re: [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section

From: Thomas Garnier <hidden>
Date: 2017-02-15 15:41:45
Also in: kvm, linux-pm

On Wed, Feb 15, 2017 at 7:37 AM, Boris Ostrovsky
[off-list ref] wrote:
On 02/14/2017 02:42 PM, Thomas Garnier wrote:
quoted
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index 0dee6f59ea82..6399bab936cd 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -391,7 +391,7 @@ cpu_initialize_context(unsigned int cpu, struct task_struct *idle)
      if (ctxt == NULL)
              return -ENOMEM;

-     gdt = get_cpu_gdt_table(cpu);
+     gdt = get_cpu_gdt_rw(cpu);

 #ifdef CONFIG_X86_32
      ctxt->user_regs.fs = __KERNEL_PERCPU;

Which tree are these patches against? The chunk above cannot be applied
to current Linus tree but it can be applied against Xen staging tree
that has not been pulled yet.

I can apply this manually but the series crashes PV guests so I want to
make sure I am using right bits.
That was against linux-next (next-20170213 tag).
-boris


-- 
Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help