From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932583AbbDWI7y (ORCPT ); Thu, 23 Apr 2015 04:59:54 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42269 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757174AbbDWI7t (ORCPT ); Thu, 23 Apr 2015 04:59:49 -0400 Date: Thu, 23 Apr 2015 10:59:39 +0200 From: Borislav Petkov To: Jiri Kosina , Tony Luck Cc: linux-edac , "Rafael J. Wysocki" , Len Brown , Tomasz Nowicki , "Chen, Gong" , Wolfram Sang , Lv Zheng , Naoya Horiguchi , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Huang Ying Subject: Re: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader Message-ID: <20150423085939.GC28340@pd.tnic> References: <1427448178-20689-1-git-send-email-bp@alien8.de> <1427448178-20689-6-git-send-email-bp@alien8.de> <20150401134913.GB18523@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 23, 2015 at 10:39:58AM +0200, Jiri Kosina wrote: > Three weeks have passed, therefore I find this an appropriate time for a > friendly ping :) > > Rafael? Naoya? Huang? > > This fixes a contention spinlock problem in NMI observed on a real HW, so > it would be really nice to have it fixed. I think we should apply this. Here's why: nothing in the ghes_notify_nmi() handler does CPU-specific accesses. It iterates over the list of ghes sources which do NMI notification but those sources are the *same* regardless of which core does the access as their addresses are per-source, i.e. in that struct acpi_generic_address error_status_address; thing. And it is a safe bet to say that all that error information is serialized in the firmware for the error source to consume. So I'm going to route this through the RAS tree unless Rafael wants to take it. Ok? Tony, objections? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --