From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030421AbdAFRFN (ORCPT ); Fri, 6 Jan 2017 12:05:13 -0500 Received: from mga02.intel.com ([134.134.136.20]:42574 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933649AbdAFRFK (ORCPT ); Fri, 6 Jan 2017 12:05:10 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,325,1477983600"; d="scan'208";a="1079975490" Date: Fri, 6 Jan 2017 09:04:24 -0800 From: "Raj, Ashok" To: Borislav Petkov Cc: Alexander Alemayhu , Daniel J Blueman , Paul Menzel , tony.luck@intel.com, linux@leemhuis.info, len.brown@intel.com, Linux Kernel , "Pandruvada, Srinivas" , ashok.raj@intel.com Subject: Re: Dell XPS13: MCE (Hardware Error) reported Message-ID: <20170106170423.GA31128@otc-nc-03> References: <20170105201034.GA15245@gmail.com> <20170105203146.egi3kveypclmwllp@pd.tnic> <20170105232800.GA82321@otc-brkl-03> <20170105235611.yj4ayqpg2ysibeqy@pd.tnic> <20170106012617.GA28713@otc-nc-03> <20170106111617.jjgo2322byhuujvy@pd.tnic> <20170106155831.GA30814@otc-nc-03> <20170106165423.7xwdlnvjlfccsrqd@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170106165423.7xwdlnvjlfccsrqd@pd.tnic> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris This looks good to me! On Fri, Jan 06, 2017 at 05:54:23PM +0100, Borislav Petkov wrote: > On Fri, Jan 06, 2017 at 07:58:31AM -0800, Raj, Ashok wrote: > > Looks like we don't need a return value from therm_throt_process(), > > we can fix that as void as well. > > Right you are, here's v2: > > Signed-off-by: Borislav Petkov > --- > > v2: Ashok: make therm_throt_process() void. Acked-by: Ashok Raj > > arch/x86/include/asm/mce.h | 6 ------ > arch/x86/kernel/cpu/mcheck/mce.c | 25 ------------------------- > arch/x86/kernel/cpu/mcheck/therm_throt.c | 30 +++++++++++------------------- > 3 files changed, 11 insertions(+), 50 deletions(-) Cheers, Ashok