Skip to content

RFC ARM/KGDB: Some fixes for SMP machines

Will Deacon linux-arm-kernel netdev 1 version New

Get series with b4
b4 am '004701cb1e7a$66a78890$33f699b0$@[email protected]'

Versions newest first

  1. v1 RFC Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/4] ARM/KGDB: Some fixes for SMP machines

Hi Anton,

Quoted 1 line

It appears that KGDB can easily hang SMP ARM machines.

Yep. As pointed out at:

http://lkml.org/lkml/2010/4/8/214

Commit ae6bf53e broke kgdb on SMP systems because it incorrectly assumes that atomic_{inc,dec} imply barriers. Until this is fixed, it will never work reliably on ARM. Try reverting the patch [this doesn't completely resolve the situation, but it might help].

Quoted 3 lines

1. I'm testing with I/D caches disabled. With enabled caches, ARMv6K still locks-up. I'll test ARMv7 soon, and will try to debug cache issues on ARMv6K.

This patch might help if you're using the ARM11MPCore:

http://lists.infradead.org/pipermail/linux-arm-kernel/2010-May/016567.html

Hope that helps,

Will