login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
8
Re: perf hw in kexeced kernel broken in tip
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: perf hw in kexeced kernel broken in tip
Date: Wednesday, December 8, 2010 - 3:39 am
On Tue, 2010-12-07 at 16:26 -0800, Yinghai Lu wrote:
quoted text
> > +++ b/arch/x86/kernel/cpu/perf_event.c > > @@ -377,10 +377,10 @@ static bool check_hw_exists(void) > > u64 val, val_new = 0; > > int ret = 0; > > > > - val = 0xabcdUL; > > - ret |= checking_wrmsrl(x86_pmu.perfctr, val); > > - ret |= rdmsrl_safe(x86_pmu.perfctr, &val_new); > > - if (ret || val != val_new) > > + val = 0xabUL; > > + ret |= checking_wrmsrl(x86_pmu.eventsel, val); > > + ret |= rdmsrl_safe(x86_pmu.eventsel, &val_new); > > + if (ret || val != (val_new & 0xFF)) > > return false; > > > > return true; > > Thanks. it fixes the problem. >
Won't merge it though, I think it stinks.. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Wed Dec 1, 1:00 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 1, 4:27 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 1, 9:06 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 1, 9:11 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 1, 9:23 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 1, 12:38 pm)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 1, 12:46 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 1, 12:49 pm)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 1, 12:58 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 1, 1:07 pm)
Re: perf hw in kexeced kernel broken in tip
, Eric W. Biederman
, (Wed Dec 1, 1:41 pm)
Re: perf hw in kexeced kernel broken in tip
, Eric W. Biederman
, (Wed Dec 1, 2:48 pm)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Wed Dec 1, 10:23 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Thu Dec 2, 12:34 am)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Thu Dec 2, 9:15 am)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Tue Dec 7, 2:16 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Tue Dec 7, 4:30 pm)
Re: perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Tue Dec 7, 5:26 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 3:39 am)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Wed Dec 8, 7:01 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 7:20 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 7:33 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 8, 7:39 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 8, 7:42 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 7:48 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 7:59 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 8, 8:02 am)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 8:15 am)
Re: perf hw in kexeced kernel broken in tip
, Vivek Goyal
, (Wed Dec 8, 8:22 am)
Re: perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Wed Dec 8, 11:43 am)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Wed Dec 8, 12:01 pm)
Re: perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Wed Dec 8, 12:05 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 12:06 pm)
Re: perf hw in kexeced kernel broken in tip
, Peter Zijlstra
, (Wed Dec 8, 12:17 pm)
Re: perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Wed Dec 8, 12:20 pm)
Re: perf hw in kexeced kernel broken in tip
, Yinghai Lu
, (Wed Dec 8, 12:20 pm)
Re: perf hw in kexeced kernel broken in tip
, Eric W. Biederman
, (Wed Dec 8, 2:16 pm)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Wed Dec 8, 3:37 pm)
Re: perf hw in kexeced kernel broken in tip
, Eric W. Biederman
, (Wed Dec 8, 4:20 pm)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Wed Dec 8, 9:34 pm)
Re: perf hw in kexeced kernel broken in tip
, Don Zickus
, (Thu Dec 9, 1:20 pm)
Re: perf hw in kexeced kernel broken in tip
, Cyrill Gorcunov
, (Thu Dec 9, 1:44 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Josef Bacik
[PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition
Rezwanul_Kabir
RE: Dell Studio 1555 eject key does not work ( small patch to fix included )
Rafael J. Wysocki
[Bug #15669] INFO: suspicious rcu_dereference_check()
git
:
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Junio C Hamano
Re: Fwd: git status options feature suggestion
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Bert Wesarg
[TopGit PATCH v3 06/12] list_deps: accept -i/-w
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
misc: replace remaining __FUNCTION__ with __func__
Linux Kernel Mailing List
Disallow gcc versions 4.1.{0,1}
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Darrin Chandler
Re: strange output on openbsd C code
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate