1. 26 5月, 2011 18 次提交
  2. 25 5月, 2011 1 次提交
  3. 24 5月, 2011 14 次提交
  4. 23 5月, 2011 4 次提交
  5. 22 5月, 2011 1 次提交
  6. 20 5月, 2011 2 次提交
    • D
      Fix a bug in mtsr/mtsrin emulation on ppc64 · decb4714
      David Gibson 提交于
      Early ppc64 CPUs include a hack to partially simulate the ppc32 segment
      registers, by translating writes to them into writes to the SLB.  This is
      not used by any current Linux kernel, but it is used by the openbios used
      in the qemu mac99 model.
      
      Commit 81762d6d, cleaning up the SLB
      handling introduced a bug in this code, breaking the openbios currently in
      qemu.  Specifically, there was an off by one error bitshuffling the
      register format used by mtsr into the format needed for the SLB load,
      causing the flag bits to end up in the wrong place.  This caused the
      storage keys to be wrong under openbios, meaning that the translation code
      incorrectly thought a legitimate access was a permission violation.
      
      This patch fixes the bug, at the same time it fixes some build bug in the
      MMU debugging code (only exposed when DEBUG_MMU is enabled).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      decb4714
    • D
      pSeries: Clean up write-only variables · 1235a9cf
      David Gibson 提交于
      A few pieces of the pSeries emulation code have variables which are set
      but never used, which causes warnings on gcc 4.6.  This patch removes
      these instances.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      1235a9cf