linux-arm-kernel.lists.infradead.org archive mirror
 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
  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 ` [RESEND PATCH v3 2/2] coresight: etmv4: Update ID register table to add UCI support Mike Leach
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Leach @ 2018-12-18 21:59 UTC (permalink / raw)
  To: mike.leach, linux
  Cc: linux-arm-kernel, coresight, linux-kernel, mathieu.poirier

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 8+ 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 ` [RESEND PATCH v3 1/2] drivers: amba: Updates to component identification for driver matching Mike Leach
2019-01-11 11:43   ` Suzuki K Poulose
2019-01-25  7:20   ` Sai Prakash Ranjan
2019-01-25 10:37     ` Mike Leach
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
2019-01-11 11:44   ` Suzuki K Poulose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).