David S. Miller
e793d8c674
sparc64: Fix bit twiddling in sparc_pmu_enable_event().
...
There was a serious disconnect in the logic happening in
sparc_pmu_disable_event() vs. sparc_pmu_enable_event().
Event disable is implemented by programming a NOP event into the PCR.
However, event enable was not reversing this operation. Instead, it
was setting the User/Priv/Hypervisor trace enable bits.
That's not sparc_pmu_enable_event()'s job, that's what
sparc_pmu_enable() and sparc_pmu_disable() do .
The intent of sparc_pmu_enable_event() is clear, since it first clear
out the event type encoding field. So fix this by OR'ing in the event
encoding rather than the trace enable bits.
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-16 13:05:25 -07:00
..
2008-12-04 09:17:15 -08:00
2011-10-31 19:30:54 -04:00
2008-12-04 09:17:12 -08:00
2008-12-04 09:17:21 -08:00
2012-05-12 00:23:23 -07:00
2011-03-30 17:37:56 -07:00
2011-10-31 19:30:54 -04:00
2012-05-10 11:00:46 -07:00
2008-12-04 09:17:21 -08:00
2011-06-07 16:06:34 -07:00
2008-12-04 09:17:21 -08:00
2012-05-27 23:52:45 -07:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:28 -07:00
2012-05-11 19:27:46 -07:00
2011-10-31 19:30:54 -04:00
2012-04-13 13:32:07 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-10-31 19:30:53 -04:00
2011-11-17 22:44:58 -08:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00
2012-10-05 20:39:04 -07:00
2008-12-04 09:17:21 -08:00
2010-04-12 22:37:26 -07:00
2008-12-04 09:17:21 -08:00
2012-07-26 16:46:15 -07:00
2012-10-05 13:45:26 -07:00
2010-08-08 22:07:36 -07:00
2012-10-02 23:20:34 -04:00
2012-08-18 23:03:53 -07:00
2008-12-04 09:17:21 -08:00
2012-05-11 20:45:18 -07:00
2008-12-04 09:17:21 -08:00
2012-03-28 16:36:34 +02:00
2012-05-28 00:07:03 -07:00
2012-05-27 23:52:44 -07:00
2012-05-12 00:35:45 -07:00
2012-05-14 14:05:09 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2012-03-29 22:40:52 -07:00
2012-05-27 23:52:42 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 22:40:52 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 02:04:29 -07:00
2012-09-06 18:13:58 -07:00
2012-07-19 10:40:30 -04:00
2010-03-30 22:02:32 +09:00
2012-07-26 16:46:16 -07:00
2011-10-31 19:30:53 -04:00
2012-09-18 17:28:21 -06:00
2012-05-27 23:52:53 -07:00
2012-05-27 23:52:48 -07:00
2012-05-27 23:52:53 -07:00
2012-09-06 19:01:25 -07:00
2008-12-04 09:17:21 -08:00
2012-09-21 12:14:20 -07:00
2012-08-18 23:26:19 -07:00
2012-04-15 10:28:49 -07:00
2012-07-06 07:16:34 -05:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:49 -07:00
2011-06-07 16:06:34 -07:00
2011-10-31 19:30:52 -04:00
2012-06-13 15:42:24 -06:00
2011-05-16 13:38:07 -07:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2008-12-04 09:17:21 -08:00
2012-09-21 12:08:56 -07:00
2008-12-04 09:17:21 -08:00
2012-10-09 16:22:19 +09:00
2012-07-05 15:31:05 -06:00
2012-08-18 23:26:19 -07:00
2012-10-16 13:05:25 -07:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2012-10-12 20:14:55 -04:00
2012-10-16 09:34:01 -07:00
2011-10-31 19:30:54 -04:00
2012-10-02 23:20:34 -04:00
2012-05-29 12:47:38 -07:00
2011-06-07 16:06:34 -07:00
2010-10-10 21:53:30 -06:00
2011-06-07 16:06:34 -07:00
2010-07-24 09:58:22 -06:00
2012-03-28 18:30:03 +01:00
2012-04-18 12:24:50 +10:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:49 -07:00
2012-04-13 13:56:46 -07:00
2011-10-31 19:30:52 -04:00
2012-07-26 16:46:16 -07:00
2012-08-18 23:02:36 -07:00
2012-10-06 03:05:16 +09:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2011-08-20 17:14:54 -07:00
2012-05-21 19:43:57 -07:00
2012-10-16 09:34:01 -07:00
2012-05-14 13:31:38 -07:00
2012-03-28 18:30:03 +01:00
2008-12-04 09:17:21 -08:00
2011-08-02 21:28:52 -07:00
2011-10-31 19:30:53 -04:00
2011-01-03 20:02:06 -07:00
2012-05-14 14:05:08 -07:00
2012-05-21 19:43:57 -07:00
2012-05-14 14:05:08 -07:00
2012-05-21 19:43:57 -07:00
2008-12-04 09:17:21 -08:00
2012-10-09 16:23:06 +09:00
2012-10-02 21:35:55 -04:00
2012-10-12 20:14:55 -04:00
2012-05-21 23:59:23 -04:00
2012-08-02 00:26:50 -07:00
2012-10-10 17:25:00 -07:00
2011-12-21 14:29:42 -08:00
2011-11-01 00:51:30 -07:00
2012-05-11 10:56:56 +01:00
2010-03-12 15:52:32 -08:00
2010-10-09 02:33:34 -06:00
2012-05-14 14:05:09 -07:00
2011-10-31 19:30:53 -04:00
2012-05-27 23:52:47 -07:00
2008-12-04 09:17:21 -08:00
2012-05-15 11:23:47 -07:00
2012-10-10 17:19:32 -07:00
2012-10-09 16:23:06 +09:00
2012-05-19 23:27:25 -07:00
2012-05-19 23:26:41 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2012-03-28 18:30:03 +01:00
2012-04-13 13:32:07 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2008-12-04 09:17:21 -08:00
2012-06-24 11:03:52 -07:00
2011-10-31 19:30:53 -04:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:43 -07:00
2010-11-17 08:59:32 -08:00
2008-12-04 09:17:21 -08:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00