Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759262AbXFSNec (ORCPT ); Tue, 19 Jun 2007 09:34:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751398AbXFSNeY (ORCPT ); Tue, 19 Jun 2007 09:34:24 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:33644 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751165AbXFSNeX (ORCPT ); Tue, 19 Jun 2007 09:34:23 -0400 From: John Keller Message-Id: <200706191334.l5JDYKWR253517@fcbayern.americas.sgi.com> Subject: Re: [PATCH] - Add IOAPIC NMI support on x86_64 To: andi@firstfloor.org (Andi Kleen) Date: Tue, 19 Jun 2007 08:34:19 -0500 (CDT) Cc: jpk@sgi.com (John Keller), linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, steiner@sgi.com In-Reply-To: from "Andi Kleen" at Jun 19, 2007 02:44:43 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 36 > > John Keller writes: > > > Add support for IOAPIC NMI interrupts on x86_64. > > > > Changes include the following: > > > > - Obtain the NMI IOAPIC info via an ACPI NMI SRC structure that is > > part of the MADT, and program the IOAPIC redirection register. > > The NMI SRC struct will contain the GSI of the NMI interrupt. > > > > - Setup irq_desc[] and irq_2_pin[] entries for the NMI interrupt irq, > > which will be used by the generic mask/unmask routines. This will > > allow a driver to enable/disable the NMI interrupt via > > enable/disable_irq(). > > What's the motivation for this patch? In our specific case, a loadable driver will register to process the NMI generated by a timer device on the IOAPIC pin. The driver will need to unmask/mask the NMI interrupt at init/exit time. The timer NMI interrupt will be used to synchronize cluster nodes. John > > -Andi > - 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/