lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 1 Jul 2009 13:07:01 +1000
From:	Anton Blanchard <anton@...ba.org>
To:	mingo@...e.hu, a.p.zijlstra@...llo.nl, paulus@...ba.org,
	benh@...nel.crashing.org
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits


POWER7 has the same PR/HV bit layout as POWER6, so set the flag.

Signed-off-by: Anton Blanchard <anton@...ba.org>
---

Index: linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c
===================================================================
--- linux-2.6-tip.orig/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:41:49.000000000 +1000
+++ linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c	2009-07-01 12:42:09.000000000 +1000
@@ -358,6 +358,7 @@
 	.get_constraint		= power7_get_constraint,
 	.get_alternatives	= power7_get_alternatives,
 	.disable_pmc		= power7_disable_pmc,
+	.flags			= PPMU_ALT_SIPR,
 	.n_generic		= ARRAY_SIZE(power7_generic_events),
 	.generic_events		= power7_generic_events,
 	.cache_events		= &power7_cache_events,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ