linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2014-05-09  1:29 Andres Freund
  2014-05-09  1:29 ` [PATCH 1/2] x86: Fix typo preventing msr_set/clear_bit from having an effect Andres Freund
  2014-05-09  1:29 ` [PATCH 2/2] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro Andres Freund
  0 siblings, 2 replies; 14+ messages in thread
From: Andres Freund @ 2014-05-09  1:29 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: x86, linux-kernel

Hi,

After 3.14 I noticed that perf started to only support software
events.

The reason - found after a some staring deathmatches because the
patches look innocent - is a typo in __flip_bit() introduced by
22085a66c2fab6cf9b9393c056a3600a6b4735de which only takes effect after
c0a639ad0bc6b178b46996bd1f821a04643e2bde. Due to the typo no msr
writes via either msr_clear/set_bit actually write back the new value.
That then causes cpuid limits not to be lifted causing 'my' perf and
very likely some other problems.

There's also a typo in the former commit which makes it impossible to
actually use the MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro correctly.

Regards,

Andres Freund


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-05-09 21:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09  1:29 Andres Freund
2014-05-09  1:29 ` [PATCH 1/2] x86: Fix typo preventing msr_set/clear_bit from having an effect Andres Freund
2014-05-09  7:54   ` Borislav Petkov
2014-05-09 10:39     ` Andres Freund
2014-05-09 10:46       ` Borislav Petkov
2014-05-09 16:31   ` [tip:x86/urgent] x86: Fix typo preventing msr_set/ clear_bit " tip-bot for Andres Freund
2014-05-09  1:29 ` [PATCH 2/2] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro Andres Freund
2014-05-09  7:57   ` Borislav Petkov
2014-05-09 10:33     ` Borislav Petkov
2014-05-09 17:02       ` Joe Perches
2014-05-09 21:31       ` [PATCH] checkpatch: Warn on #defines ending in semicolon Joe Perches
2014-05-09 21:47         ` Thomas Gleixner
2014-05-09 21:59           ` Joe Perches
2014-05-09 16:31   ` [tip:x86/urgent] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro tip-bot for Andres Freund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).