[PATCH 0/4] Add DT support for arm_smmuv3_pmu driver

Robin Murphy robin.murphy at arm.com
Mon Jul 13 06:28:34 EDT 2020


On 2020-07-13 10:57, John Garry wrote:
> On 13/07/2020 10:42, Robin Murphy wrote:
>> On 2020-07-12 17:33, Ajay Kumar wrote:
>>> Currently, only those platforms using ACPI can enable
>>> arm_smmuv3_pmu driver. This patchset adds support for
>>> enabling arm_smmuv3_pmu driver on platforms which do not
>>> enable ACPI and instead rely on DT.
>>
>> This must be a popular topic all of a sudden, since it's barely a week 
>> since the last one!
>>
>> https://lore.kernel.org/linux-arm-kernel/20200706112246.92220-1-jkchen@linux.alibaba.com/ 
>>
> 
> JFYI, I don't have that mail (so can't reply directly), but hisi 
> platforms which have SMMUv3 PMCG don't support DT intentionally, and 
> there is a desire to avoid headache of HW-specific DT support there in 
> future.

Thanks John, I was wondering about that, since I do have a vague memory 
of a promise that you guys would never ask for DT support yourselves :)

Perhaps someone at Huawei can follow up directly with Alibaba about 
their use-case and whether there's a better way to support it upstream 
(if at all).

Bonus tip: If you download a "raw" link from lore and save it with a 
.eml extension, Thunderbird can then be convinced to open it in a manner 
which can be replied to.

Robin.

> 
> thanks
> 
>>
>> I'm not sure whether Jay has seen my review since Alibaba's mail 
>> server apparently decided to reject the direct reply as spam, but some 
>> of what I said there applies here too. Could we please try to 
>> coordinate where we go from here so we're not all wasting time 
>> developing and reviewing multiple versions of the exact same thing?
> 
> 
> 
>>
>> Robin.
>>
>>>
>>> Ajay Kumar (4):
>>>    perf/smmuv3: Remove dependency on CONFIG_ACPI
>>>    Documentation: perf: Add documentation for arm-smmu-v3-pmcg
>>>    perf/smmuv3: add device tree support
>>>    perf/smmuv3: fix crash when platdata not specified
>>>
>>>   .../bindings/perf/arm-smmu-v3-pmcg.txt        | 21 +++++++++++++++++++
>>>   drivers/perf/Kconfig                          |  2 +-
>>>   drivers/perf/arm_smmuv3_pmu.c                 | 11 ++++++++--
>>>   3 files changed, 31 insertions(+), 3 deletions(-)
>>>   create mode 100644 
>>> Documentation/devicetree/bindings/perf/arm-smmu-v3-pmcg.txt
>>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>> .
> 



More information about the linux-arm-kernel mailing list