linux/drivers/perf/hisilicon
Shaokun Zhang 4e4cb8ca48 drivers/perf: hisi: Remove unnecessary check of counter index
The sanity check for counter index has been done in the function
hisi_uncore_pmu_get_event_idx, so remove the redundant interface
hisi_uncore_pmu_counter_valid() and sanity check.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Co-developed-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1615186237-22263-2-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
2021-03-25 13:03:45 +00:00
..
hisi_uncore_ddrc_pmu.c drivers/perf: hisi: Remove unnecessary check of counter index 2021-03-25 13:03:45 +00:00
hisi_uncore_hha_pmu.c drivers/perf: hisi: Remove unnecessary check of counter index 2021-03-25 13:03:45 +00:00
hisi_uncore_l3c_pmu.c drivers/perf: hisi: Remove unnecessary check of counter index 2021-03-25 13:03:45 +00:00
hisi_uncore_pmu.c drivers/perf: hisi: Remove unnecessary check of counter index 2021-03-25 13:03:45 +00:00
hisi_uncore_pmu.h drivers/perf: hisi: Remove unnecessary check of counter index 2021-03-25 13:03:45 +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