Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752996AbbD3Ulw (ORCPT ); Thu, 30 Apr 2015 16:41:52 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:34708 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbbD3Ulu (ORCPT ); Thu, 30 Apr 2015 16:41:50 -0400 MIME-Version: 1.0 In-Reply-To: <1430405365-4473-3-git-send-email-Aravind.Gopalakrishnan@amd.com> References: <1430405365-4473-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <1430405365-4473-3-git-send-email-Aravind.Gopalakrishnan@amd.com> From: Andy Lutomirski Date: Thu, 30 Apr 2015 13:41:28 -0700 Message-ID: Subject: Re: [PATCH 2/4] x86/mce/amd: Introduce deferred error interrupt handler To: Aravind Gopalakrishnan Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Tony Luck , Borislav Petkov , Jiang Liu , Yinghai Lu , X86 ML , Denys Vlasenko , Jan Beulich , slaoub@gmail.com, Dave Hansen , Oleg Nesterov , Steven Rostedt , Rusty Russell , Prarit Bhargava , Rasmus Villemoes , jroedel@suse.de, Andy Shevchenko , "Maciej W. Rozycki" , Wang Nan , "linux-kernel@vger.kernel.org" , linux-edac Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1254 Lines: 27 On Thu, Apr 30, 2015 at 7:49 AM, Aravind Gopalakrishnan wrote: > Changes introduced in the patch- > - Assign vector number 0xf4 for Deferred errors > - Declare deferred_interrupt, allocate gate and bind it > to DEFERRED_APIC_VECTOR. > - Declare smp_deferred_interrupt to be used as the > entry point for the interrupt in mce_amd.c > - Define trace_deferred_interrupt for tracing > - Enable deferred error interrupt selectively upon detection > of 'succor' bitfield > - Setup amd_deferred_error_interrupt() to handle the interrupt > and assign it to def_int_vector if feature is present in HW. > Else, let default handler deal with it. > - Provide Deferred error interrupt stats on > /proc/interrupts by incrementing irq_deferred_count You're calling these "deferred interrupts" all over (e.g. irq_deferred_count, deferred_int_handler, etc). That seems like it'll be confusing. They're deferred errors, not deferred interrupts. --Andy -- 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/