Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1581405

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

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section
Date 2017-02-15 16:40 +0100
Message-ID <tb9Qt-1LT-13@gated-at.bofh.it> (permalink)
References <taRgR-5Z8-9@gated-at.bofh.it> <taRgS-5Z8-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/14/2017 02:42 PM, Thomas Garnier wrote:
> 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.

-boris

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size Thomas Garnier <thgarnie@google.com> - 2017-02-14 20:50 +0100
  [PATCH v3 3/4] x86: Make the GDT remapping read-only on 64-bit Thomas Garnier <thgarnie@google.com> - 2017-02-14 20:50 +0100
  [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section Thomas Garnier <thgarnie@google.com> - 2017-02-14 20:50 +0100
    Re: [PATCH v3 2/4] x86: Remap GDT tables in the Fixmap section Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-02-15 16:40 +0100
  [PATCH v3 4/4] KVM: VMX: Simplify segment_base Thomas Garnier <thgarnie@google.com> - 2017-02-14 20:50 +0100
  Re: [PATCH v3 1/4] x86/mm: Adapt MODULES_END based on Fixmap section  size Borislav Petkov <bp@suse.de> - 2017-02-15 15:00 +0100

csiph-web