[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V10 14/14] xen/pvh: vcpu info placement, load CS selector, and remove debug printk.
On 13/12/13 02:10, Konrad Rzeszutek Wilk wrote: > From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> > > This patch addresses 3 things: > - Resolve vcpu info placement fixme. > - Load CS selector for PVH after switching to new gdt. > - Remove printk in case of failure to map pnfs in p2m. This because qemu > has lot of expected failures when mapping HVM pages. [...] > @@ -1423,7 +1425,20 @@ static void __init xen_setup_stackprotector(void) > { > /* PVH TBD/FIXME: investigate setup_stack_canary_segment */ > if (xen_feature(XENFEAT_auto_translated_physmap)) { > + unsigned long dummy; > + > switch_to_new_gdt(0); > +#ifdef CONFIG_X86_64 > + asm volatile ("pushq %0\n" > + "leaq 1f(%%rip),%0\n" > + "pushq %0\n" > + "lretq\n" > + "1:\n" > + : "=&r" (dummy) : "0" (__KERNEL_CS)); Why does CS need to be reloaded here? David _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |