coresight: tmc: Enable SG capability on ACPI based SoC-400 TMC ETR devices
authorAnshuman Khandual <anshuman.khandual@arm.com>
Thu, 4 Apr 2024 07:29:34 +0000 (12:59 +0530)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 1 May 2024 10:12:02 +0000 (11:12 +0100)
commit8877ef45ef9ec281849870d88039f8dc84cde774
treec593b063a97f8c2d3caedf6b1cbaa512a7b42d28
parent2d7e8a64a1e79f76b9d1165db0b92190d4663848
coresight: tmc: Enable SG capability on ACPI based SoC-400 TMC ETR devices

This detects and enables the scatter gather capability (SG) on ACPI based
Soc-400 TMC ETR devices via a new property called 'arm-armhc97c-sg-enable'.
The updated ACPI spec can be found below, which contains this new property.

https://developer.arm.com/documentation/den0067/latest/

This preserves current handling for the property 'arm,scatter-gather' both
on ACPI and DT based platforms i.e the presence of the property is checked
instead of the value.

Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: James Clark <james.clark@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20240404072934.940760-1-anshuman.khandual@arm.com
drivers/hwtracing/coresight/coresight-tmc-core.c