Xen fixes for 3.10.y
Subsystems (2)
Quoted 4 lines · David Vrabel
These two changes fix important bugs with 32-bit Xen PV guests.
0160676bba69523e8b0ac83f306cce7d342ed7c8(xen/p2m: check MFN is in range before using the m2p table)
Now applied.
Quoted 2 lines
7cde9b27e7b3a2e09d647bb4f6d94e842698d2d5(xen: Fix possible user space selector corruption)
I had to edit this by-hand to get it to apply, can you verify I got it right?
thanks,
greg k-h
Quoted 6 lines · Greg Kroah-Hartman
Quoted 4 lines · David Vrabel
These two changes fix important bugs with 32-bit Xen PV guests.
0160676bba69523e8b0ac83f306cce7d342ed7c8(xen/p2m: check MFN is in range before using the m2p table)
Quoted 6 lines
Now applied.
Quoted 2 lines
7cde9b27e7b3a2e09d647bb4f6d94e842698d2d5(xen: Fix possible user space selector corruption)I had to edit this by-hand to get it to apply, can you verify I got it right?
I can't find where you put it. But if it looks like this, it's ok.
arch/x86/xen/smp.c +9 -0
@@ -245,6 +245,15 @@ static void __init xen_smp_prepare_boot_cpu(void)old memory can be recycled */ make_lowmem_page_readwrite (xen_initial_gdt); +#ifdef CONFIG_X86_32 +/* +* Xen starts us with XEN_FLAT_RING1_DS, but linux code +* expects __USER_DS +*/ +loadsegment (ds, __USER_DS); +loadsegment (es, __USER_DS); +#endif +xen_filter_cpu_maps ();xen_setup_vcpu_info_placement (); }
Thanks.
David
Quoted 10 lines · David Vrabel
These two changes fix important bugs with 32-bit Xen PV guests.
0160676bba69523e8b0ac83f306cce7d342ed7c8(xen/p2m: check MFN is in range before using the m2p table)
7cde9b27e7b3a2e09d647bb4f6d94e842698d2d5(xen: Fix possible user space selector corruption)Please apply to 3.10.y.
Quoted 7 lines
Thanks.
David
--
To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thank you David, I'll queue these patches for the 3.11 kernel as well.
Cheers,
--
Luís
Quoted 7 lines · David Vrabel
Quoted 6 lines · Greg Kroah-Hartman
Quoted 4 lines · David Vrabel
These two changes fix important bugs with 32-bit Xen PV guests.
0160676bba69523e8b0ac83f306cce7d342ed7c8(xen/p2m: check MFN is in range before using the m2p table)
Quoted 8 lines
Quoted 6 lines
Now applied.
Quoted 2 lines
7cde9b27e7b3a2e09d647bb4f6d94e842698d2d5(xen: Fix possible user space selector corruption)I had to edit this by-hand to get it to apply, can you verify I got it right?
I can't find where you put it. But if it looks like this, it's ok.
You should have gotten an email about it.
Quoted 8 lines
arch/x86/xen/smp.c +2
-0@@ -245,6 +245,15 @@ static void __init xen_smp_prepare_boot_cpu(void)old memory can be recycled */ make_lowmem_page_readwrite (xen_initial_gdt); +#ifdef CONFIG_X86_32 +/*
arch/x86/xen/smp.c static void __init xen_smp_prepare_boot_cpu(void) · line 259
Quoted 10 lines
arch/x86/xen/smp.c +7
-0+* Xen starts us with XEN_FLAT_RING1_DS, but linux code +* expects __USER_DS +*/ +loadsegment (ds, __USER_DS); +loadsegment (es, __USER_DS); +#endif +xen_filter_cpu_maps ();xen_setup_vcpu_info_placement (); }
Yes, that was correct.
greg k-h