Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-16 Thread Mathieu Poirier
On Wed, Feb 15, 2017 at 11:43:27AM +, Mark Rutland wrote: > On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > > Coresight includes debug module and usually the module connects with CPU > > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > > the debug registers

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-16 Thread Leo Yan
Hi Mathieu, On Wed, Feb 15, 2017 at 02:08:05PM -0700, Mathieu Poirier wrote: > On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > > Coresight includes debug module and usually the module connects with CPU > > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > > the

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-16 Thread Leo Yan
Hi Mark, On Wed, Feb 15, 2017 at 11:44:16AM +, Mark Rutland wrote: > [resending due to a mail server snafu] > > On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > > Coresight includes debug module and usually the module connects with CPU > > debug logic. ARMv8 architecture reference m

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-15 Thread Mathieu Poirier
On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > Coresight includes debug module and usually the module connects with CPU > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > the debug registers in the chapter "H9: External Debug Register > Descriptions". > > Afte

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-15 Thread Mark Rutland
[resending due to a mail server snafu] On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > Coresight includes debug module and usually the module connects with CPU > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > the debug registers in the chapter "H9: External D

Re: [PATCH RFC 2/3] coresight: add support for debug module

2017-02-15 Thread Mark Rutland
On Mon, Feb 13, 2017 at 02:11:37PM +0800, Leo Yan wrote: > Coresight includes debug module and usually the module connects with CPU > debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined > the debug registers in the chapter "H9: External Debug Register > Descriptions". This sho

[PATCH RFC 2/3] coresight: add support for debug module

2017-02-12 Thread Leo Yan
Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined the debug registers in the chapter "H9: External Debug Register Descriptions". After enable the debug module we can check CPU state and PC value, etc. S