1. 23 Dec, 2008 2 commits
    • Sebastien Dugue's avatar
      powerpc/pseries: Fix cpu hotplug · b906cfa3
      Sebastien Dugue authored
      Currently, pseries_cpu_die() calls msleep() while polling RTAS for
      the status of the dying cpu.
      
      However, if the cpu that is going down also happens to be the one
      doing the tick then we're hosed as the tick_do_timer_cpu 'baton' is
      only passed later on in tick_shutdown() when _cpu_down() does the
      CPU_DEAD notification.  Therefore jiffies won't be updated anymore.
      
      This replaces that msleep() with a cpu_relax() to make sure we're not
      going to schedule at that point.
      
      With this patch my test box survives a 100k iterations hotplug stress
      test on _all_ cpus, whereas without it, it quickly dies after ~50
      iterations.
      Signed-off-by: default avatarSebastien Dugue <sebastien.dugue@bull.net>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      b906cfa3
    • Paul Mackerras's avatar
      powerpc: Fix KVM build on ppc440 · fad7b9b5
      Paul Mackerras authored
      Commit 2a4aca11 ("powerpc/mm: Split
      low level tlb invalidate for nohash processors") changed a call to
      _tlbia to _tlbil_all but didn't include the header that defines
      _tlbil_all, leading to a build failure on 440 if KVM is enabled.
      This fixes it.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      fad7b9b5
  2. 22 Dec, 2008 2 commits
  3. 21 Dec, 2008 36 commits