1. 12 6月, 2013 1 次提交
  2. 12 5月, 2013 1 次提交
    • P
      emac: Fix EMAC soft reset on 460EX/GT · 23fbb5a8
      Petri Gynther 提交于
      Fix EMAC soft reset on 460EX/GT to select the right PHY clock source
      before and after the soft reset.
      
      EMAC with PHY should use the clock from PHY during soft reset.
      EMAC without PHY should use the internal clock during soft reset.
      
      PPC460EX/GT Embedded Processor Advanced User's Manual
      section 28.10.1 Mode Register 0 (EMACx_MR0) states:
      Note: The PHY must provide a TX Clk in order to perform a soft reset
      of the EMAC. If none is present, select the internal clock
      (SDR0_ETH_CFG[EMACx_PHY_CLK] = 1).
      After a soft reset, select the external clock.
      
      Without the fix, 460EX/GT-based boards with RGMII PHYs attached to
      EMACs experience EMAC interrupt storm and system watchdog reset when
      issuing "ifconfig eth0 down" + "ifconfig eth0 up" a few times.
      The system enters endless loop of serving emac_irq() with EMACx_ISR
      register stuck at value 0x10000000 (Rx parity error).
      
      With the fix, the above issue is no longer observed.
      Signed-off-by: NPetri Gynther <pgynther@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      23fbb5a8
  3. 06 5月, 2013 1 次提交
  4. 01 5月, 2013 1 次提交
  5. 23 4月, 2013 2 次提交
  6. 20 4月, 2013 2 次提交
  7. 18 3月, 2013 1 次提交
  8. 15 3月, 2013 1 次提交
  9. 10 3月, 2013 1 次提交
  10. 19 2月, 2013 1 次提交
  11. 05 2月, 2013 1 次提交
  12. 07 1月, 2013 1 次提交
  13. 08 12月, 2012 1 次提交
  14. 04 12月, 2012 3 次提交
  15. 20 11月, 2012 1 次提交
  16. 15 11月, 2012 1 次提交
  17. 04 11月, 2012 1 次提交
  18. 06 9月, 2012 1 次提交
  19. 05 9月, 2012 1 次提交
  20. 11 7月, 2012 1 次提交
  21. 11 5月, 2012 1 次提交
  22. 26 4月, 2012 2 次提交
  23. 24 4月, 2012 1 次提交
    • T
      ehea: only register irq after setting up ports · c2f1244b
      Thadeu Lima de Souza Cascardo 提交于
      If we receive an interrupt too early before we set up ports in the probe
      function, there won't be any port ready to handle it.
      
      Only registering the irq after the ports are setup fixes the problem,
      and works fine without losing any interrupts.
      
      This causes crashes in some situations:
      
      [c000000f7ff7fd60] d000000008e223f0 .ehea_neq_tasklet+0x78/0x148 [ehea]
      [c000000f7ff7fe00] c0000000000b6cac .tasklet_hi_action+0xdc/0x210
      [c000000f7ff7fea0] c0000000000b7cc8 .__do_softirq+0x178/0x300
      [c000000f7ff7ff90] c000000000022694 .call_do_softirq+0x14/0x24
      [c000000f68ee7900] c000000000010e04 .do_softirq+0xec/0x110
      [c000000f68ee79a0] c0000000000b789c .irq_exit+0xac/0xe0
      [c000000f68ee7a20] c0000000000110bc .do_IRQ+0x114/0x2a8
      [c000000f68ee7ae0] c00000000000553c hardware_interrupt_entry+0x18/0x1c
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c2f1244b
  24. 28 3月, 2012 1 次提交
  25. 10 3月, 2012 1 次提交
  26. 09 3月, 2012 1 次提交
  27. 08 3月, 2012 1 次提交
  28. 07 3月, 2012 1 次提交
  29. 01 2月, 2012 2 次提交
  30. 31 1月, 2012 1 次提交
  31. 17 1月, 2012 1 次提交
  32. 09 12月, 2011 1 次提交
  33. 24 11月, 2011 2 次提交