linux-stable/drivers/perf
Suzuki K Poulose a22fde8e97 perf: dsu: Use signed field for dsu_pmu->num_counters
We set dsu_pmu->num_counters to -1, when the DSU is allocated
but not initialised when none of the CPUs are active in the DSU.
However, we use an unsigned field for num_counters. Switch this
to a signed field.

Fixes: 7520fa9924 ("perf: ARM DynamIQ Shared Unit PMU support")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2018-01-15 18:02:17 +00:00
..
hisilicon perf: hisi: Add support for HiSilicon SoC DDRC PMU driver 2017-10-19 17:06:35 +01:00
arm_dsu_pmu.c perf: dsu: Use signed field for dsu_pmu->num_counters 2018-01-15 18:02:17 +00:00
arm_pmu.c arm/arm64: pmu: Distinguish percpu irq and percpu_devid irq 2017-10-24 16:04:05 +01:00
arm_pmu_acpi.c
arm_pmu_platform.c arm_pmu: Use of_cpu_node_to_id helper 2018-01-02 16:43:12 +00:00
arm_spe_pmu.c perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0() 2017-12-11 13:41:13 +00:00
Kconfig perf: ARM DynamIQ Shared Unit PMU support 2018-01-02 16:43:12 +00:00
Makefile perf: ARM DynamIQ Shared Unit PMU support 2018-01-02 16:43:12 +00:00
qcom_l2_pmu.c
qcom_l3_pmu.c
xgene_pmu.c