Skip to content
Snippets Groups Projects
  1. Jan 17, 2008
  2. Jan 16, 2008
  3. Jan 15, 2008
  4. Jan 14, 2008
    • Paul Mackerras's avatar
      [POWERPC] Fix boot failure on POWER6 · dfbe0d3b
      Paul Mackerras authored
      
      Commit 473980a9 added a call to clear
      the SLB shadow buffer before registering it.  Unfortunately this means
      that we clear out the entries that slb_initialize has previously set in
      there.  On POWER6, the hypervisor uses the SLB shadow buffer when doing
      partition switches, and that means that after the next partition switch,
      each non-boot CPU has no SLB entries to map the kernel text and data,
      which causes it to crash.
      
      This fixes it by reverting most of 473980a9 and instead clearing the
      3rd entry explicitly in slb_initialize.  This fixes the problem that
      473980a9 was trying to solve, but without breaking POWER6.
      
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      dfbe0d3b
Loading