[PATCH v3] drivers/perf: Add support for ARMv8.3-SPE
Suzuki K Poulose
suzuki.poulose at arm.com
Fri Nov 27 07:03:35 EST 2020
On 11/27/20 6:03 AM, Wei Li wrote:
> Armv8.3 extends the SPE by adding:
> - Alignment field in the Events packet, and filtering on this event
> using PMSEVFR_EL1.
> - Support for the Scalable Vector Extension (SVE).
>
> The main additions for SVE are:
> - Recording the vector length for SVE operations in the Operation Type
> packet. It is not possible to filter on vector length.
> - Incomplete predicate and empty predicate fields in the Events packet,
> and filtering on these events using PMSEVFR_EL1.
>
> Update the check of pmsevfr for empty/partial predicated SVE and
> alignment event in SPE driver. For adaption by the version of SPE,
> expose 'pmsver' as cap attribute to userspace.
>
> Signed-off-by: Wei Li <liwei391 at huawei.com>
nit: Do we need to update the Kconfig help text too ? Right now that says :
--
tristate "Enable support for the ARMv8.2 Statistical Profiling Extension""
....
help
Enable perf support for the ARMv8.2 Statistical Profiling
Extension, which provides periodic sampling of operations in
--
Suzuki
More information about the linux-arm-kernel
mailing list