]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: perf: fix unassigned cpu_pmu->plat_device when probing PMU PPIs
authorShannon Zhao <shannon.zhao@linaro.org>
Mon, 29 Jun 2015 08:02:40 +0000 (09:02 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 30 Jun 2015 17:13:05 +0000 (18:13 +0100)
commit182bd722eff8264b0210a08b5840ffc5bec5ea83
tree2fb8f58816d762241dcbc9120fad40e32b4a8c43
parent8688dc43cfd688c2c0cbb785dca9de79fc4b6855
arm64: perf: fix unassigned cpu_pmu->plat_device when probing PMU PPIs

Commit ddc6e5d49d2b ("arm64: perf: don't warn about missing
interrupt-affinity property for PPIs") added a check for PPIs so that
we avoid parsing the interrupt-affinity property for these naturally
affine interrupts.

Unfortunately, this check can trigger an early (successful) return and
we will not assign the value of cpu_pmu->plat_device. This patch fixes
the issue.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c