1. 17 9月, 2009 2 次提交
    • G
      Blackfin: improve double fault debug handling · 01b9f4b0
      Graf Yang 提交于
      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: NGraf Yang <graf.yang@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      01b9f4b0
    • R
      Blackfin: make EVT3->EVT5 lowering more robust wrt IPEND[4] · ae4f073c
      Robin Getz 提交于
      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: NRobin Getz <robin.getz@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      ae4f073c
  2. 18 11月, 2008 1 次提交
  3. 09 10月, 2008 1 次提交
  4. 07 5月, 2008 1 次提交
  5. 29 4月, 2008 1 次提交
  6. 12 7月, 2007 1 次提交
  7. 10 5月, 2007 1 次提交
  8. 08 5月, 2007 1 次提交