selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Mon, 19 Dec 2016 12:16:53 +0000 (17:46 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 18 Jan 2017 05:03:34 +0000 (16:03 +1100)
commitdf21d2fa733035e4d414379960f94b2516b41296
treec1e7e935e46071b4a134a814fae9fc8fec6324fb
parent387bbc974f6adf91aa635090f73434ed10edd915
selftest/powerpc: Wrong PMC initialized in pmc56_overflow test

Test uses PMC2 to count the event. But PMC1 is being initialized.
Patch to fix it.

Fixes: 3752e453f6ba ('selftests/powerpc: Add tests of PMU EBBs')
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c