[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHdzE-_jJOKo5=m2DAAhaAbDv4Cbq6KaQg4w_tZdofY_wrOWug@mail.gmail.com>
Date: Wed, 23 Apr 2014 12:27:24 -0700
From: Venkatesh Srinivas <venkateshs@...gle.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Stephane Eranian <eranian@...gle.com>,
Linux Kernel Developers List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>, mingo@...e.hu,
Andi Kleen <ak@...ux.intel.com>, zheng.z.yan@...el.com
Subject: Re: [PATCH] perf/x86: fix RAPL rdmsrl_safe() usage
On Wed, Apr 23, 2014 at 12:00 PM, Borislav Petkov <bp@...en8.de> wrote:
> On Wed, Apr 23, 2014 at 07:04:19PM +0200, Stephane Eranian wrote:
>>
>> This patch fixes a bug introduced by commit 24223657.
>
> Maybe add
>
> Fixes: <commit-id>
>
> tag?
>
>> The rdmsrl_safe() function returns 0 on success.
>> The current code was failing to detect the RAPL PMU
>> on real hardware (missing /sys/devices/power) because
>> the return value of rdmsrl_safe() was misinterpreted.
>>
>> Signed-off-by: Stephane Eranian <eranian@...gle.com>
>
> Acked-by: Borislav Petkov <bp@...e.de>
Brown-Paper-Bag-Worn-By: Venkatesh Srinivas <venkateshs@...gle.com>
-- vs;
--
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