31 Mar, 2011

1 commit


23 May, 2010

2 commits


21 May, 2010

3 commits

  • Decode the vast majority of insns that appear in the trace buffer to get a
    better idea of what's going on at a glance.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     
  • Now that the split traps code has moved all the verbose output to the
    trace.c file, we can unify all the CONFIG_DEBUG_VERBOSE handling. This
    gets rid of much of the crappy ifdef forest and enables usage of normal
    pr_xxx functions so checkpatch stops complaining.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     
  • The current kernel/traps.c file has grown a bit unwieldy as more debugging
    functionality has been added over time, so split it up into more logical
    files. There should be no functional changes here, just minor whitespace
    tweaking. This should make future extensions easier to manage.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     

09 Mar, 2010

4 commits


17 Dec, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (88 commits)
    Blackfin: Convert BUG() to use unreachable()
    Blackfin: define __NR_recvmmsg
    Blackfin: drop duplicate sched_clock
    Blackfin: NOMPU: skip DMA ICPLB hole when it is redundant
    Blackfin: MPU: add missing __init markings
    Blackfin: add support for TIF_NOTIFY_RESUME
    Blackfin: kgdb_test: clean up code a bit
    Blackfin: convert kgdbtest to proc_fops
    Blackfin: convert cyc2ns() to clocksource_cyc2ns()
    Blackfin: ip0x: pull in asm/portmux.h for P_xxx defines
    Blackfin: drop unused ax88180 resources
    Blackfin: bf537-stamp: add ADF702x network driver resources
    Blackfin: bf537-stamp: add CAN resources
    Blackfin: bf537-stamp: add AD5258 i2c address
    Blackfin: bf537-stamp: add adau1761 i2c address
    Blackfin: bf537-stamp: add adau1371 i2c address
    Blackfin: bf537-stamp: add ADP8870 resources
    Blackfin: bf537-stamp: kill AD714x board-specific Kconfigs
    Blackfin: bf537-stamp: update ADP5520 resources
    Blackfin: bf537-stamp: add ADXL346 orientation sensing support
    ...

    Linus Torvalds
     

15 Dec, 2009

4 commits


04 Dec, 2009

1 commit

  • That is "success", "unknown", "through", "performance", "[re|un]mapping"
    , "access", "default", "reasonable", "[con]currently", "temperature"
    , "channel", "[un]used", "application", "example","hierarchy", "therefore"
    , "[over|under]flow", "contiguous", "threshold", "enough" and others.

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Jiri Kosina

    André Goddard Rosa
     

07 Oct, 2009

1 commit

  • Bill Gatliff & David Brownell pointed out we were missing some
    copyrights, and licensing terms in some of the files in
    ./arch/blackfin, so this fixes things, and cleans them up.

    It also removes:
    - verbose GPL text(refer to the top level ./COPYING file)
    - file names (you are looking at the file)
    - bug url (it's in the ./MAINTAINERS file)
    - "or later" on GPL-2, when we did not have that right

    It also allows some Blackfin-specific assembly files to be under a BSD
    like license (for people to use them outside of Linux).

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     

17 Sep, 2009

8 commits

  • When preempt debugging is enabled, smp_processor_id() may utilize the
    "current" structure. This may not be safe to access under all exceptions
    due to it being in dynamically allocated memory. So in exception code,
    make sure we use raw_smp_processor_id() instead to get at the real value
    directly.

    Signed-off-by: Yi Li
    Signed-off-by: Mike Frysinger

    Yi Li
     
  • Since the exception handler cannot cause exceptions, we cannot trace it
    without easily causing double faults and crashing the system.

    Signed-off-by: Yi Li
    Signed-off-by: Mike Frysinger

    Yi Li
     
  • Since the hardware only provides reporting for the last exception handled,
    and the values are valid only when executing the exception handler, we
    need to save the context for reporting at a later point. While we do this
    for one exception, it doesn't work properly when handling a second one as
    the original exception is clobbered by the double fault. So when double
    fault debugging is enabled, create a dedicated shadow of these values and
    save/restore out of there. Now the crash report properly displays the
    first exception as well as the second one.

    Signed-off-by: Graf Yang
    Signed-off-by: Mike Frysinger

    Graf Yang
     
  • The protect_page() function was incorrectly setting up the hardware tables
    based on possible access capabilities rather than the actual requested
    values. This means we would grant more access to mmap-ed pages than we
    should have. Once we fix this, we need to tweak the signal generated by
    such accesses to aline ourselves with other ports. This allows the LTP
    mmap0{5,6,7} cases to run properly.

    Signed-off-by: Graf Yang
    Signed-off-by: Mike Frysinger

    Graf Yang
     
  • The end of the stack may not be valid (and that could be OK), so do not
    attempt to parse it. If we do, we might use a bad pointer in kernel space
    which makes things panic().

    Signed-off-by: Sonic Zhang
    Signed-off-by: Mike Frysinger

    Sonic Zhang
     
  • Unify the address display to shrink the code, and add missing decoding of
    a few special Blackfin-specific regions (L1 ROM and MMRs).

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • Signed-off-by: Philippe Gerum
    Signed-off-by: Mike Frysinger

    Philippe Gerum
     
  • We handle many exceptions at EVT5 (hardware error level) so that we can
    catch exceptions in our exception handling code. Today - if the global
    interrupt enable bit (IPEND[4]) is set (interrupts disabled) our trap
    handling code goes into a infinite loop, since we need interrupts to be
    on to defer things to EVT5.

    Normal kernel code should not trigger this for any reason as IPEND[4] gets
    cleared early (when doing an interrupt context save) and the kernel stack
    there should be sane (or something much worse is happening in the system).
    But there have been a few times where this has happened, so this change
    makes sure we dump a proper crash message even when things have gone south.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     

16 Jul, 2009

3 commits

  • Similar to anomaly 05000281 but not as bad, we cannot return to the
    instruction causing a fault otherwise we'll trigger a second false
    exception. The system can still recover, but it isn't correct.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     
  • Previous unification code put the exception banner behind the "is oops"
    logic when it should have been printed all the time.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • Add missing anomaly workaround for anomaly 05000281 - we can't return to
    instructions which cause hardware errors otherwise we trigger the error
    again which means we go into an infinite loop of handling, returning, and
    retriggering. This work around confuses gdb when the error occurs as the
    PC will seemed to have moved, so a better long term fix will need to be
    figured out, but for now this is better than an infinite crash loop.

    Signed-off-by: Robin Getz
    Signed-off-by: Mike Frysinger

    Robin Getz
     

09 Jul, 2009

1 commit

  • Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
    handling of log-levels and newlines") changed printk semantics. printk
    lines with multiple KERN_ prefixes are no longer emitted as
    before the patch.

    is now included in the output on each additional use.

    Remove all uses of multiple KERN_s in formats.

    Signed-off-by: Joe Perches
    Signed-off-by: Linus Torvalds

    Joe Perches
     

23 Jun, 2009

1 commit


13 Jun, 2009

3 commits


12 Jun, 2009

6 commits


04 Feb, 2009

1 commit