]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: Don't reject unrecognized ETMv3 format attributes
authorJames Clark <james.clark@linaro.org>
Fri, 28 Nov 2025 11:55:19 +0000 (11:55 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 22 Dec 2025 15:30:53 +0000 (15:30 +0000)
commitd633fd22e8100d4363b0c44e6e92150d670bab71
tree2fa4faeefc17af2ce5513e95d6ce781bc9fe2cc9
parenta1d19cd2b1a6c41783caa49fc28e89f434673198
coresight: Don't reject unrecognized ETMv3 format attributes

config isn't the only field, there are also config1, config2, etc.
Rejecting unrecognized attributes is therefore inconsistent as it wasn't
done for all fields. It was only necessary when we were directly
programming attr->config into ETMCR and didn't hide the unsupported
fields, but now it's not needed so remove it.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251128-james-cs-syncfreq-v8-7-4d319764cc58@linaro.org
drivers/hwtracing/coresight/coresight-etm3x-core.c