All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v3 0/2] Update AMBA driver for enhanced component ID spec.
@ 2018-12-18 21:59 ` Mike Leach
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Leach @ 2018-12-18 21:59 UTC (permalink / raw)
  To: mike.leach, linux
  Cc: mathieu.poirier, coresight, linux-kernel, linux-arm-kernel

The latest ARM CoreSight specification updates the component identification
requirements for all components attached to an AMBA bus. (ARM IHI 0029E)

This specification defines bits 15:12 in the ComponentID (CID) value as the
device class. Identification requirements now depend on this class.
Class 0xF: Traditional components identified by Peripheral ID (PID) only.
Class 0x9: CoreSight components may be identified by a Universal Component
Identifier (UCI) consisting of the PID plus CoreSight DevType and DevArch
values.

Current and future ARM CoreSight IP will now use the same PID for
components on the same function - e.g. the ETM, CTI, PMU and Debug elements
associated with a core. The first core to use this UCI method is the A35,
which currently has binding entries in the ETMv4 driver.

This patchset prepares for the addition of the upcoming CTI driver, which
will need to correctly bind with A35 and future hardware, while overcoming
the limitation of binding by PID alone, which cannot now work.

The patchset updates the current AMBA Identification mechanism, which was
already differentiating between 0xF and 0x9 CIDs, to add
additional UCI compliant tests for the for the 0x9 device class.

Additional UCI structures are provided and added to the ETMv4 driver as
appropriate.

Russell: Do you want me to add these 2 patches to your patch tracking system?
Thanks
Mike

Changes since v2:
Simplification of amba_cs_uci_id_match().
Fix CID class bitfield comments.
Dropped RFC tag on patchset.

Mike Leach (2):
  drivers: amba: Updates to component identification for driver
    matching.
  coresight: etmv4: Update ID register table to add  UCI support

 drivers/amba/bus.c                            | 45 +++++++++++++++----
 drivers/hwtracing/coresight/coresight-etm4x.c | 18 +++++++-
 include/linux/amba/bus.h                      | 32 +++++++++++++
 3 files changed, 86 insertions(+), 9 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [RESEND PATCH v3 0/2] Update AMBA driver for enhanced component ID spec.
@ 2019-01-21 23:31 Mike Leach
  2019-01-21 23:31 ` [RESEND PATCH v3 1/2] drivers: amba: Updates to component identification for driver matching Mike Leach
  0 siblings, 1 reply; 17+ messages in thread
From: Mike Leach @ 2019-01-21 23:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux, mathieu.poirier, Mike Leach

The latest ARM CoreSight specification updates the component identification
requirements for all components attached to an AMBA bus. (ARM IHI 0029E)

This specification defines bits 15:12 in the ComponentID (CID) value as the
device class. Identification requirements now depend on this class.
Class 0xF: Traditional components identified by Peripheral ID (PID) only.
Class 0x9: CoreSight components may be identified by a Universal Component
Identifier (UCI) consisting of the PID plus CoreSight DevType and DevArch
values.

Current and future ARM CoreSight IP will now use the same PID for
components on the same function - e.g. the ETM, CTI, PMU and Debug elements
associated with a core. The first core to use this UCI method is the A35,
which currently has binding entries in the ETMv4 driver.

This patchset prepares for the addition of the upcoming CTI driver, which
will need to correctly bind with A35 and future hardware, while overcoming
the limitation of binding by PID alone, which cannot now work.

The patchset updates the current AMBA Identification mechanism, which was
already differentiating between 0xF and 0x9 CIDs, to add
additional UCI compliant tests for the for the 0x9 device class.

Additional UCI structures are provided and added to the ETMv4 driver as
appropriate.

Rebased and checked against 5.0-rc2.

This is a second resend, of a set sent on 5th-Dec and 18th-Dec.

Would appreciate someone looking at this to progress the patchset.

Thanks

Mike


Mike Leach (2):
  drivers: amba: Updates to component identification for driver
    matching.
  coresight: etmv4: Update ID register table to add UCI support

 drivers/amba/bus.c                            | 45 +++++++++++++++----
 drivers/hwtracing/coresight/coresight-etm4x.c | 18 +++++++-
 include/linux/amba/bus.h                      | 32 +++++++++++++
 3 files changed, 86 insertions(+), 9 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-01-25 10:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18 21:59 [RESEND PATCH v3 0/2] Update AMBA driver for enhanced component ID spec Mike Leach
2018-12-18 21:59 ` Mike Leach
2018-12-18 21:59 ` [RESEND PATCH v3 1/2] drivers: amba: Updates to component identification for driver matching Mike Leach
2018-12-18 21:59   ` Mike Leach
2019-01-11 11:43   ` Suzuki K Poulose
2019-01-11 11:43     ` Suzuki K Poulose
2019-01-25  7:20   ` Sai Prakash Ranjan
2019-01-25  7:20     ` Sai Prakash Ranjan
2019-01-25 10:37     ` Mike Leach
2019-01-25 10:37       ` Mike Leach
2019-01-25 10:42       ` Suzuki K Poulose
2019-01-25 10:42         ` Suzuki K Poulose
2018-12-18 21:59 ` [RESEND PATCH v3 2/2] coresight: etmv4: Update ID register table to add UCI support Mike Leach
2018-12-18 21:59   ` Mike Leach
2019-01-11 11:44   ` Suzuki K Poulose
2019-01-11 11:44     ` Suzuki K Poulose
2019-01-21 23:31 [RESEND PATCH v3 0/2] Update AMBA driver for enhanced component ID spec Mike Leach
2019-01-21 23:31 ` [RESEND PATCH v3 1/2] drivers: amba: Updates to component identification for driver matching Mike Leach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.