Re: [RFC PATCH 02/14] coresight: Introduce device access abstraction

2020-07-30 Thread Suzuki K Poulose
On 07/29/2020 08:56 PM, Mathieu Poirier wrote: On Wed, Jul 22, 2020 at 06:20:28PM +0100, Suzuki K Poulose wrote: We are about to introduce support for sysreg access to ETMv4.4+ component. Since there are generic routines that access the registers (e.g, CS_LOCK/UNLOCK , claim/disclaim

Re: [RFC PATCH 02/14] coresight: Introduce device access abstraction

2020-07-29 Thread Mathieu Poirier
On Wed, Jul 22, 2020 at 06:20:28PM +0100, Suzuki K Poulose wrote: > We are about to introduce support for sysreg access to ETMv4.4+ > component. Since there are generic routines that access the > registers (e.g, CS_LOCK/UNLOCK , claim/disclaim operations, timeout) > and in order to preserve the

[RFC PATCH 02/14] coresight: Introduce device access abstraction

2020-07-22 Thread Suzuki K Poulose
We are about to introduce support for sysreg access to ETMv4.4+ component. Since there are generic routines that access the registers (e.g, CS_LOCK/UNLOCK , claim/disclaim operations, timeout) and in order to preserve the logic of these operations at a single place we introduce an abstraction