Patch "selftest/powerpc: Wrong PMC initialized in pmc56_overflow test" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
selftest-powerpc-wrong-pmc-initialized-in-pmc56_overflow-test.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
df21d2fa733035e4d414379960f94b2516b41296Mon Sep 17 00:00:00 2001
From: Madhavan Srinivasan <[email protected]>
Date: Mon, 19 Dec 2016 17:46:53 +0530
Subject: selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
From: Madhavan Srinivasan <[email protected]>
commit df21d2fa733035e4d414379960f94b2516b41296 upstream.
Test uses PMC2 to count the event. But PMC1 is being initialized. Patch to fix it.
--- tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c +1 -1
@@ -66,7 +66,7 @@ int pmc56_overflow(void)FAIL_IF (ebb_event_enable (&event)); -mtspr (SPRN_PMC1 ,pmc_sample_period (sample_period)); +mtspr (SPRN_PMC2 ,pmc_sample_period (sample_period));mtspr (SPRN_PMC5 ,0 );mtspr (SPRN_PMC6 ,0 );
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/selftest-powerpc-wrong-pmc-initialized-in-pmc56_overflow-test.patch