]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'stable/for-linus-3.9-take-two' into linux-next
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 2 Apr 2013 18:25:22 +0000 (14:25 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 2 Apr 2013 18:25:22 +0000 (14:25 -0400)
* stable/for-linus-3.9-take-two:
  xen/mmu: On early bootup, flush the TLB when changing RO->RW bits Xen provided pagetables.
  xen/events: Handle VIRQ_TIMER before any other hardirq in event loop.

Conflicts:
arch/x86/xen/mmu.c

1  2 
arch/x86/xen/mmu.c
drivers/xen/events.c

index 750f1854516b1bb23df2ac1a35643f525cc299ea,a4ea92477e016e252ca96037a9654fed4e399e57..0faa74479d7deff315d238303168f27a7c125388
@@@ -1761,13 -1753,13 +1761,17 @@@ static void set_page_prot_flags(void *a
        unsigned long pfn = __pa(addr) >> PAGE_SHIFT;
        pte_t pte = pfn_pte(pfn, prot);
  
-       if (HYPERVISOR_update_va_mapping((unsigned long)addr, pte, 0))
 +      /* recall for PVH, page tables are native. */
 +      if (xen_feature(XENFEAT_auto_translated_physmap))
 +              return;
 +
+       if (HYPERVISOR_update_va_mapping((unsigned long)addr, pte, flags))
                BUG();
  }
+ static void set_page_prot(void *addr, pgprot_t prot)
+ {
+       return set_page_prot_flags(addr, prot, UVMF_NONE);
+ }
  #ifdef CONFIG_X86_32
  static void __init xen_map_identity_early(pmd_t *pmd, unsigned long max_pfn)
  {
Simple merge