1. 12 7月, 2008 1 次提交
  2. 09 7月, 2008 1 次提交
  3. 08 7月, 2008 4 次提交
  4. 25 6月, 2008 2 次提交
  5. 24 6月, 2008 1 次提交
  6. 20 6月, 2008 3 次提交
  7. 02 6月, 2008 2 次提交
    • J
      xen: restore vcpu_info mapping · 9c7a7942
      Jeremy Fitzhardinge 提交于
      If we're using vcpu_info mapping, then make sure its restored on all
      processors before relasing them from stop_machine.
      
      The only complication is that if this fails, we can't continue because
      we've already made assumptions that the mapping is available (baked in
      calls to the _direct versions of the functions, for example).
      
      Fortunately this can only happen with a 32-bit hypervisor, which may
      possibly run out of mapping space.  On a 64-bit hypervisor, this is a
      non-issue.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9c7a7942
    • J
      xen: avoid hypercalls when updating unpinned pud/pmd · e2426cf8
      Jeremy Fitzhardinge 提交于
      When operating on an unpinned pagetable (ie, one under construction or
      destruction), it isn't necessary to use a hypercall to update a
      pud/pmd entry.  Jan Beulich observed that a similar optimisation
      avoided many thousands of hypercalls while doing a kernel build.
      
      One tricky part is that early in the kernel boot there's no page
      structure, so we can't check to see if the page is pinned.  In that
      case, we just always use the hypercall.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Jan Beulich <jbeulich@novell.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      e2426cf8
  8. 31 5月, 2008 1 次提交
  9. 27 5月, 2008 11 次提交
  10. 23 5月, 2008 1 次提交
  11. 25 4月, 2008 5 次提交
  12. 17 4月, 2008 2 次提交
  13. 05 4月, 2008 3 次提交
  14. 27 3月, 2008 2 次提交
    • J
      xen: fix UP setup of shared_info · 2e8fe719
      Jeremy Fitzhardinge 提交于
      We need to set up the shared_info pointer once we've mapped the real
      shared_info into its fixmap slot.  That needs to happen once the general
      pagetable setup has been done.  Previously, the UP shared_info was set
      up one in xen_start_kernel, but that was left pointing to the dummy
      shared info.  Unfortunately there's no really good place to do a later
      setup of the shared_info in UP, so just do it once the pagetable setup
      has been done.
      
      [ Stable: needed in 2.6.24.x ]
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stable Kernel <stable@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      2e8fe719
    • J
      xen: fix RMW when unmasking events · 04c44a08
      Jeremy Fitzhardinge 提交于
      xen_irq_enable_direct and xen_sysexit were using "andw $0x00ff,
      XEN_vcpu_info_pending(vcpu)" to unmask events and test for pending ones
      in one instuction.
      
      Unfortunately, the pending flag must be modified with a locked operation
      since it can be set by another CPU, and the unlocked form of this
      operation was causing the pending flag to get lost, allowing the processor
      to return to usermode with pending events and ultimately deadlock.
      
      The simple fix would be to make it a locked operation, but that's rather
      costly and unnecessary.  The fix here is to split the mask-clearing and
      pending-testing into two instructions; the interrupt window between
      them is of no concern because either way pending or new events will
      be processed.
      
      This should fix lingering bugs in using direct vcpu structure access too.
      
      [ Stable: needed in 2.6.24.x ]
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Stable <stable@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      04c44a08
  15. 01 3月, 2008 1 次提交