[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190121233151.13363-1-mike.leach@linaro.org>
Date: Mon, 21 Jan 2019 23:31:49 +0000
From: Mike Leach <mike.leach@...aro.org>
To: linux-kernel@...r.kernel.org
Cc: linux@...linux.org.uk, mathieu.poirier@...aro.org,
Mike Leach <mike.leach@...aro.org>
Subject: [RESEND PATCH v3 0/2] Update AMBA driver for enhanced component ID spec.
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
Powered by blists - more mailing lists