30 Jul, 2007

1 commit


26 Jul, 2007

1 commit


09 May, 2007

1 commit


08 May, 2007

1 commit

  • This adds support for early serial debugging via the built in
    port on IBM/AMCC PowerPC 44x CPUs. It uses a bolted TLB entry in
    address space 1 for the UART's mapping, allowing robust debugging both
    before and after the initialization of the MMU.

    Signed-off-by: David Gibson
    Signed-off-by: Paul Mackerras

    David Gibson
     

13 Apr, 2007

2 commits

  • Here's an implementation of DEBUG_PAGEALLOC for 64 bits powerpc.
    It applies on top of the 32 bits patch.

    Unlike Anton's previous attempt, I'm not using updatepp. I'm removing
    the hash entries from the bolted mapping (using a map in RAM of all the
    slots). Expensive but it doesn't really matter, does it ? :-)

    Memory hot-added doesn't benefit from this unless it's added at an
    address that is below end_of_DRAM() as calculated at boot time.

    Signed-off-by: Benjamin Herrenschmidt

    arch/powerpc/Kconfig.debug | 2
    arch/powerpc/mm/hash_utils_64.c | 84 ++++++++++++++++++++++++++++++++++++++--
    2 files changed, 82 insertions(+), 4 deletions(-)
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     
  • Here's an implementation of DEBUG_PAGEALLOC for ppc32. It disables BAT
    mapping and is only tested with Hash table based processor though it
    shouldn't be too hard to adapt it to others.

    Signed-off-by: Benjamin Herrenschmidt

    arch/powerpc/Kconfig.debug | 9 ++++++
    arch/powerpc/mm/init_32.c | 4 +++
    arch/powerpc/mm/pgtable_32.c | 52 +++++++++++++++++++++++++++++++++++++++
    arch/powerpc/mm/ppc_mmu_32.c | 4 ++-
    include/asm-powerpc/cacheflush.h | 6 ++++
    5 files changed, 74 insertions(+), 1 deletion(-)
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

22 Mar, 2007

1 commit

  • When we started arch/powerpc we duplicated a number of config options from
    arch/ppc for various platforms that are supported. Now that we actually
    support a few platforms, remove all the ones that haven't been moved over.
    Additionally, this cleanup moved the 82xx/PQ2 options over into
    arch/powerpc/platforms/82xx/Kconfig where they belong. It also killed
    GEN550 which doesn't exist in arch/powerpc.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

07 Feb, 2007

2 commits


30 Jan, 2007

1 commit


04 Dec, 2006

3 commits

  • and therefore combined builds.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     
  • xmon still does not run on iSeries, but this allows us to build a combined
    kernel that includes it.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     
  • While adding spu disassembly support it struck me that we're actually
    carrying quite a lot of code around, just to do disassembly in the case
    of a crash.

    While on large systems it's not an issue, on smaller ones it might be
    nice to have xmon - but without the weight of the disassembly support.
    For a Cell build this saves ~230KB (!), and for pSeries ~195KB.

    We still support the 'di' and 'sdi' commands, however they just dump
    the instruction in hex.

    Move the definitions into a header to clean xmon.c just a tiny bit.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Arnd Bergmann

    Michael Ellerman
     

13 Sep, 2006

2 commits

  • xmon does not print a backtrace per default. This is bad on systems with
    USB keyboard, the most needed info about the crash is lost.
    print a backtrace during the very first xmon entry.

    Booting with xmon=nobt disables the autobacktrace functionality.

    Signed-off-by: Olaf Hering
    Signed-off-by: Paul Mackerras

    Olaf Hering
     
  • Add instrumentation for hypervisor calls on pseries. Call statistics
    include number of calls, wall time and cpu cycles (if available) and
    are made available via debugfs. Instrumentation code is behind the
    HCALL_STATS config option and has no impact if not enabled.

    Signed-off-by: Mike Kravetz
    Signed-off-by: Paul Mackerras

    Mike Kravetz
     

28 Jun, 2006

1 commit


19 May, 2006

1 commit

  • If you undefine all the early debugging options and then run make oldconfig,
    you don't get prompted to see if you want to enable any of them. This is
    annoying.

    AFAICT we can't do this just with a choice, because the choice is either
    optional, in which case we don't get prompted, or not in which case we _must_
    select early debugging.

    So add a bool which controls whether we have early debugging at all, and then
    if that's enabled provide the choice. The extra bool will actually be useful
    in another patch I have lying around, so this is a win-win.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Paul Mackerras

    Michael Ellerman
     

28 Mar, 2006

1 commit


11 Jan, 2006

1 commit

  • This patch adds Kconfig entries to control the early debugging options,
    currently in setup_64.c.

    Doing this via Kconfig rather than #defines means you can have one source tree,
    which is buildable for multiple platforms - and you can enable the correct
    early debug option for each platform via .config.

    I made udbg_early_init() a static inline because otherwise GCC is to daft to
    optimise it away when debugging is off.

    Now that we have udbg_init_rtas() we can make call_rtas_display_status* static.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Paul Mackerras

    Michael Ellerman
     

07 Nov, 2005

1 commit

  • Andrew Morton suggested to move kprobes from kernel hacking menu, since
    kernel hacking menu is in-appropriate for the Kprobes. This patch moves
    Kprobes and Oprofile under instrumentation menu.

    (akpm: it's not a natural fit, but things like djprobes and the s390 guys'
    statistics library need a home)

    Signed-of-by: Prasanna S Panchamukhi
    Cc: Philippe Elie
    Cc: John Levon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Prasanna S Panchamukhi
     

10 Oct, 2005

1 commit


01 Oct, 2005

1 commit


26 Sep, 2005

1 commit

  • This creates the directory structure under arch/powerpc and a bunch
    of Kconfig files. It does a first-cut merge of arch/powerpc/mm,
    arch/powerpc/lib and arch/powerpc/platforms/powermac. This is enough
    to build a 32-bit powermac kernel with ARCH=powerpc.

    For now we are getting some unmerged files from arch/ppc/kernel and
    arch/ppc/syslib, or arch/ppc64/kernel. This makes some minor changes
    to files in those directories and files outside arch/powerpc.

    The boot directory is still not merged. That's going to be interesting.

    Signed-off-by: Paul Mackerras

    Paul Mackerras