Received: by 10.192.165.148 with SMTP id m20csp1165468imm; Wed, 25 Apr 2018 13:42:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx48CTvyJbP71Qs3RJOMLcQFF/YmC3SQIu5MkWTQYGw7Ca/RpneB6Ccm+urR4oTfWvg4A0GGB X-Received: by 2002:a17:902:529:: with SMTP id 38-v6mr30912228plf.64.1524688967574; Wed, 25 Apr 2018 13:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524688967; cv=none; d=google.com; s=arc-20160816; b=Luy79CHuokSPA0HM0LcakdBvfyeyhiC1xUchezu3FaLCVrt94NeWsJMx46yxErS36I X3UzQ8MHWwIl+Udj54FJzTzK3hFxxX++2lJL5kxrVqWaFnlV0GdKiFHtqGDIW59ssJS9 qTsvREe4DZTkjlTL/ajGAdUQRQxbphuHtC/sqQk7F5+YfHwm3rVnjVEhSEYrMIo14QC4 FIE4uot0IiIURdotsSNOeRPgNCwnQXhJGHl04Db5MNR0i7Nchrcqf6k3j7RV74mTRbyo HA8SdJkP8UNE98RLSzQmK+xoj9K6Io8Gv7aSM5vnhN3vaDey8Ao3VNYvrqL/AgTnyAl+ AFng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=K+7lwDHB6rLJdmpcXWr+xKIBL6b+TVk8MPeeDTzDYm0=; b=uITYnvgKV2CvV8IiP1B2uOYb5SQNEZvKa9uxQNmpWNKWEfyyZPG3F7dvDCbCxmbQyw 79m39U6/6dVq9QK3vc+g1YOesDx6LJYDKujezg+NelTL+O7F8yOYWsZYoKT/YqUsyDpv 4OCfTlJSRK0JVEH4KgimgUbk5kSGORGFQetzRqIyKVO5zHDqJrumJFXXDpbZCPtU4H/9 QAWW+0tzqfcK5q4xeSuNTMSYISiHJ2iDiOmLSLGVpVPevXqtX7NUF/Z1Wkr28t2eCp/s ZLyjLxKeWWGUrX3xfMtDkToGQrtSz3Ti2IQG3EfNpdzfXguJYLI+HLikCBYyKrjf6Atp d5fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OMsO43QR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x64si13662338pff.196.2018.04.25.13.42.33; Wed, 25 Apr 2018 13:42:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OMsO43QR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751429AbeDYUkN (ORCPT + 99 others); Wed, 25 Apr 2018 16:40:13 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:40377 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751022AbeDYUkK (ORCPT ); Wed, 25 Apr 2018 16:40:10 -0400 Received: by mail-oi0-f65.google.com with SMTP id c203-v6so2143671oib.7; Wed, 25 Apr 2018 13:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K+7lwDHB6rLJdmpcXWr+xKIBL6b+TVk8MPeeDTzDYm0=; b=OMsO43QRUMjX7M9jV9v7T7dtU38uUAieeWSv5TThm6AbwAEsU9YjbLGvcP+NBTzD1j m/0W4EsRh2AJ+gUnvACbiXGcZFOB4bA7hSZMf/MjCMEVt9BRY9ZtFo+juEYQ2hlna05/ wx05TIoIdqSzgt99ZAbnYGaBXqY/TMPmWq9/pFDK2W4bQmA2wZFbsaQImWmV5kSv+6Hz A9m1NfRpPLMP82dxuaaC3xjI99dsd5iXffTUxQ1wU68SnpNC/GI3M/AsEs18hDHdOb5Z qGhrmwBF/H8ZEtDVJlkty7Bdus7RAu7JM9PNczs+gxkN1xq+7rLKg9iw3g7LAinjljBx yuhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=K+7lwDHB6rLJdmpcXWr+xKIBL6b+TVk8MPeeDTzDYm0=; b=XrAI0ihLxRC1WvttRfLCeaHW3gzhOrzG52u5uCBd5oNKg3ldAn1KQAcotlGdAs+8Qq UPo5aokCV2v946cJJ8yrkcaTAGC3wiC8Lmjie9nOoLEgyHmxcE5/XrTLSaG/sCvaeTSz 8FUXU69Y+h7sV7gmvaIuQMDxNlqlmI6PyBCIkV0NjFyUNf4J2uh2japUlDM9vdm7DBO+ wryeFarPTbWNDxkUFY89yFkTqwFawPOE4pYTwrG6UdrByJE/16YTAHid1OyskwihfOtX mXmlg0amtw72hvcO+qnlEJg3SIYzgKKkse0ORDD0xz2RomNs5KFWdFDq5DybOInqIOiY O27A== X-Gm-Message-State: ALQs6tAPiDdaNG9WrlV3J2j/nfY/wx2nvqi2BGF78WpXrQi3sWvx3bPh qQZo85+a1MIZAaj/J07yFD0REOrF X-Received: by 2002:aca:b03:: with SMTP id 3-v6mr4576598oil.69.1524688809410; Wed, 25 Apr 2018 13:40:09 -0700 (PDT) Received: from nuclearis2_1.lan (c-98-197-2-30.hsd1.tx.comcast.net. [98.197.2.30]) by smtp.gmail.com with ESMTPSA id o189-v6sm9729908oia.19.2018.04.25.13.40.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Apr 2018 13:40:08 -0700 (PDT) From: Alexandru Gagniuc To: linux-acpi@vger.kernel.org, linux-edac@vger.kernel.org Cc: Alexandru Gagniuc , "Rafael J. Wysocki" , Len Brown , Tony Luck , Borislav Petkov , Mauro Carvalho Chehab , Robert Moore , Erik Schmauss , Tyler Baicar , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , linux-kernel@vger.kernel.org, devel@acpica.org Subject: [RFC PATCH v3 0/3] acpi: apei: Improve PCIe error handling with firmware-first Date: Wed, 25 Apr 2018 15:39:48 -0500 Message-Id: <20180425203957.18224-1-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180416215903.7318-1-mr.nuke.me@gmail.com> References: <20180416215903.7318-1-mr.nuke.me@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Or "acpi: apei: Don't trust firmware any further than you can throw it" This is the improved implementation following feedback from James and Borislav. This implementation is much simpler, albeit less flexible than v2. I'm leaving this as RFC because the BIOS team is a bit scared of an OS that won't crash when it's told to. However, if people like the idea, then I have nothing against merging this. Borislav, if you don't like the third patch in the series, feel free to leave it out. THings will work beautifully with or without it. Changes since v2: - Due to popular request, simple is chosen over flexible - Removed splitting of handlers into irq safe portion. - Change behavior only for PCIe errors Changes since v1: - Due to popular request, the panic() is left in the NMI handler - GHES AER handler is split into NMI and non-NMI portions - ghes_notify_nmi() does not panic on deferrable errors - The handlers are put in a mapping and given a common call signature Alexandru Gagniuc (3): EDAC, GHES: Remove unused argument to ghes_edac_report_mem_error acpi: apei: Do not panic() on PCIe errors reported through GHES acpi: apei: Warn when GHES marks correctable errors as "fatal" drivers/acpi/apei/ghes.c | 56 +++++++++++++++++++++++++++++++++++++++++++----- drivers/edac/ghes_edac.c | 3 +-- include/acpi/ghes.h | 5 ++--- 3 files changed, 54 insertions(+), 10 deletions(-) -- 2.14.3