1. 17 9月, 2009 2 次提交
    • Y
      Blackfin: cleanup sync handling when enabling/disabling cplbs · eb7bd9c4
      Yi Li 提交于
      The handling of updating the [DI]MEM_CONTROL MMRs does not follow proper
      sync procedures as laid out in the Blackfin programming manual.  So rather
      than audit/fix every call location, create helper functions that do the
      right things in order to safely update these MMRs.  Then convert all call
      sites to use these new helper functions.
      
      While we're fixing the code, drop the workaround for anomaly 05000125 as
      that anomaly applies to old versions of silicon that we do not support.
      Signed-off-by: NYi Li <yi.li@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      eb7bd9c4
    • 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
  2. 07 1月, 2009 1 次提交