From patchwork Fri Jan 29 08:02:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 1433132 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DRqZp1fkyz9sVt; Fri, 29 Jan 2021 19:02:58 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1l5Ok1-0004L0-4S; Fri, 29 Jan 2021 08:02:53 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l5Ojy-0004Ku-A6 for kernel-team@lists.ubuntu.com; Fri, 29 Jan 2021 08:02:50 +0000 Received: from 1-171-224-33.dynamic-ip.hinet.net ([1.171.224.33] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l5Ojx-0005cJ-Ek for kernel-team@lists.ubuntu.com; Fri, 29 Jan 2021 08:02:50 +0000 From: Kai-Heng Feng To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.10] [PATCH 0/4] Fix unexpected AER/DPC on PCH400 and PCH500 Date: Fri, 29 Jan 2021 16:02:41 +0800 Message-Id: <20210129080245.979511-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1913691 [Impact] On PCH400 and PCH500, root port on S3 resume trips AER and DPC, dropping NVMe after a failed reset. [Fix] Disable AER/DPC interrupt on suspend. [Test] Apply the patch, run S3 stress test 100 times on CML/PCH400 and RKL/PCH500, issue is no longer reproducible. [Where problems could occur] If any device depends on tripping AER/DPC to reset after system resume to work properly, this patch series will break them. Kai-Heng Feng (4): Revert "UBUNTU: SAUCE: PCI: Enable ACS quirk on all CML root ports" Revert "UBUNTU: SAUCE: PCI: Enable ACS quirk on CML root port" UBUNTU: SAUCE: PCI/AER: Disable AER interrupt during suspend UBUNTU: SAUCE: PCI/DPC: Disable DPC interrupt during suspend drivers/pci/pcie/aer.c | 18 ++++++++++++++++ drivers/pci/pcie/dpc.c | 49 ++++++++++++++++++++++++++++++++---------- drivers/pci/quirks.c | 1 - 3 files changed, 56 insertions(+), 12 deletions(-)