[PATCH V2 2/4] arm_pmu: acpi: Add a representative platform device for TRBE

Anshuman Khandual anshuman.khandual at arm.com
Tue Aug 1 18:07:47 PDT 2023



On 8/1/23 20:21, Will Deacon wrote:
> On Tue, Aug 01, 2023 at 03:10:50PM +0530, Anshuman Khandual wrote:
>> diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h
>> index a0801f68762b..7ec26d21303d 100644
>> --- a/include/linux/perf/arm_pmu.h
>> +++ b/include/linux/perf/arm_pmu.h
>> @@ -187,5 +187,6 @@ void armpmu_free_irq(int irq, int cpu);
>>  #endif /* CONFIG_ARM_PMU */
>>  
>>  #define ARMV8_SPE_PDEV_NAME "arm,spe-v1"
>> +#define ARMV8_TRBE_PDEV_NAME "arm-trbe-acpi"
> 
> Why is the TRBE name formatted differently to the SPE one?

Nothing specific, although "arm,spe-v1" seemed more like a DT naming
scheme. But could change the name as "arm,trbe-v1" to be in sync with
SPE here.



More information about the linux-arm-kernel mailing list