Re: [PATCH RFC 0/3] coresight: enable debug module

2017-02-13 Thread Leo Yan
Hi Mike, On Mon, Feb 13, 2017 at 03:58:47PM +, Mike Leach wrote: > Hi Leo, > > A few comments about your driver RFC. > > i) As it stands this looks like it will work for v8 cores, but would need > refining for v7. There are subtle differences in the PC sampling between > the two architecture

[PATCH RFC 0/3] coresight: enable debug module

2017-02-12 Thread Leo Yan
This patch series is to enable coresight debug module. With debug module we can check CPU state and PC value, etc. So this is helpful for CPU lockup bugs, e.g. if one CPU has run into infinite loop with IRQ disabled. The hang CPU cannot switch context and handle any interrupt, so it cannot handle S