OpenCloudOS-Kernel/drivers/perf/hisilicon
John Garry ac4511c936 drivers/perf: hisi: Add identifier sysfs file
To allow userspace to identify the specific implementation of the device,
add an "identifier" sysfs file.

Encoding is as follows (same for all uncore drivers):
hi1620: 0x0
hi1630: 0x30

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1602149181-237415-2-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-11-25 15:10:35 +00:00
..
Kconfig drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
Makefile drivers/perf: hisi: Permit modular builds of HiSilicon uncore drivers 2020-05-18 18:18:39 +01:00
hisi_uncore_ddrc_pmu.c drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
hisi_uncore_hha_pmu.c drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
hisi_uncore_l3c_pmu.c drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
hisi_uncore_pmu.c drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00
hisi_uncore_pmu.h drivers/perf: hisi: Add identifier sysfs file 2020-11-25 15:10:35 +00:00