Return-Path: Date: Wed, 15 Jan 2014 19:03:13 +0100 From: Robert Richter To: Ingo Molnar Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] perf, ibs: Fix waking up from S3 for AMD family 10h Message-ID: <20140115180313.GA8360@rric.localhost> References: <1389797849-5565-1-git-send-email-rric.net@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1389797849-5565-1-git-send-email-rric.net@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On 15.01.14 15:57:29, Robert Richter wrote: > @@ -816,6 +817,18 @@ static int force_ibs_eilvt_setup(void) > return ret; > } > > +void ibs_eilvt_setup(void) Grrr, this is not static. Could this be changed when the patch is applied assuming the rest is ok? Otherwise I will send an update. Thanks, -Robert +{ > + /* > + * Force LVT offset assignment for family 10h: The offsets are > + * not assigned by the BIOS for this family, so the OS is > + * responsible for doing it. If the OS assignment fails, fall > + * back to BIOS settings and try to setup this. > + */ > + if (boot_cpu_data.x86 == 0x10) > + force_ibs_eilvt_setup(); > +}