1. 01 7月, 2006 1 次提交
  2. 26 6月, 2006 1 次提交
  3. 17 3月, 2006 1 次提交
  4. 12 1月, 2006 1 次提交
  5. 09 1月, 2006 3 次提交
    • M
      [PATCH] powerpc: Add a is_kernel_addr() macro · 51fae6de
      Michael Ellerman 提交于
      There's a bunch of code that compares an address with KERNELBASE to see if
      it's a "kernel address", ie. >= KERNELBASE. The proper test is actually to
      compare with PAGE_OFFSET, since we're going to change KERNELBASE soon.
      
      So replace all of them with an is_kernel_addr() macro that does that.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      51fae6de
    • B
      [PATCH] powerpc: udbg updates · bb6b9b28
      Benjamin Herrenschmidt 提交于
      The udbg low level io layer has an issue with udbg_getc() returning a
      char (unsigned on ppc) instead of an int, thus the -1 if you had no
      available input device could end up turned into 0xff, filling your
      display with bogus characters. This fixes it, along with adding a little
      blob to xmon to do a delay before exiting when getting an EOF and fixing
      the detection of ADB keyboards in udbg_adb.c
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bb6b9b28
    • B
      [PATCH] powerpc: Unify udbg (#2) · 51d3082f
      Benjamin Herrenschmidt 提交于
      This patch unifies udbg for both ppc32 and ppc64 when building the
      merged achitecture. xmon now has a single "back end". The powermac udbg
      stuff gets enriched with some ADB capabilities and btext output. In
      addition, the early_init callback is now called on ppc32 as well,
      approx. in the same order as ppc64 regarding device-tree manipulations.
      The init sequences of ppc32 and ppc64 are getting closer, I'll unify
      them in a later patch.
      
      For now, you can force udbg to the scc using "sccdbg" or to btext using
      "btextdbg" on powermacs. I'll implement a cleaner way of forcing udbg
      output to something else than the autodetected OF output device in a
      later patch.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      51d3082f
  6. 14 11月, 2005 1 次提交
    • A
      [PATCH] powerpc-xmon-build-fix · 4694ca02
      Andrew Morton 提交于
      arch/powerpc/xmon/xmon.c:525: error: syntax error before "xmon_irq"
      arch/powerpc/xmon/xmon.c:526: warning: return type defaults to `int'
      arch/powerpc/xmon/xmon.c: In function `xmon_irq':
      arch/powerpc/xmon/xmon.c:532: error: `IRQ_HANDLED' undeclared (first use in this function)
      arch/powerpc/xmon/xmon.c:532: error: (Each undeclared identifier is reported only once
      arch/powerpc/xmon/xmon.c:532: error: for each function it appears in.)
      
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4694ca02
  7. 11 11月, 2005 1 次提交
  8. 10 11月, 2005 2 次提交
    • P
      powerpc: 32-bit fixes for xmon · e1449ed9
      Paul Mackerras 提交于
      This makes the memory examine/change command print the address as
      8 digits instead of 16, and makes the memory dump command print
      4 4-byte values per line instead of 2 8-byte values.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e1449ed9
    • D
      [PATCH] powerpc: Consolidate asm compatibility macros · 3ddfbcf1
      David Gibson 提交于
      This patch consolidates macros used to generate assembly for
      compatibility across different CPUs or configs.  A new header,
      asm-powerpc/asm-compat.h contains the main compatibility macros.  It
      uses some preprocessor magic to make the macros suitable both for use
      in .S files, and in inline asm in .c files.  Headers (bitops.h,
      uaccess.h, atomic.h, bug.h) which had their own such compatibility
      macros are changed to use asm-compat.h.
      
      ppc_asm.h is now for use in .S files *only*, and a #error enforces
      that.  As such, we're a lot more careless about namespace pollution
      here than in asm-compat.h.
      
      While we're at it, this patch adds a call to the PPC405_ERR77 macro in
      futex.h which should have had it already, but didn't.
      
      Built and booted on pSeries, Maple and iSeries (ARCH=powerpc).  Built
      for 32-bit powermac (ARCH=powerpc) and Walnut (ARCH=ppc).
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3ddfbcf1
  9. 08 11月, 2005 1 次提交
  10. 29 10月, 2005 1 次提交
  11. 28 10月, 2005 1 次提交
    • P
      powerpc: Merge xmon · f78541dc
      Paul Mackerras 提交于
      The merged version follows the ppc64 version pretty closely mostly,
      and in fact ARCH=ppc64 now uses the arch/powerpc/xmon version.
      The main difference for ppc64 is that the 'p' command to call
      show_state (which was always pretty dodgy) has been replaced by
      the ppc32 'p' command, which calls a given procedure (so in fact
      the old 'p' command behaviour can be achieved with 'p $show_state').
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f78541dc