Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5605141rwb; Tue, 17 Jan 2023 16:23:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXv4xnin2Tj4plkISjxaAQq214SszSnByhFVxO69v9xSlCA1vu09CXLs7ndX8H6UyYDCL4T1 X-Received: by 2002:a17:906:95d2:b0:7c1:37:6d5e with SMTP id n18-20020a17090695d200b007c100376d5emr4573080ejy.2.1674001392615; Tue, 17 Jan 2023 16:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674001392; cv=none; d=google.com; s=arc-20160816; b=mPhfhFwPwnVSKU9jyL632YHqXjgoPR4TJosTQ0df4yEBly3C+NZKrqFwzpF4HTmX+a bmjyPXo+HKn1nBhrSUEabmdXj72KMgkQuK6HHJpduxQL8Pvez22XZ17mseXQlqu1eJ8A t4mX8cIWaEO7S8o59WJ95v9RVOu3tHriS5tuepRaVHslcF3jHYZqlqlFglTIJwoIf1jI SwN7sjwyPnX397FtUSptEk6AGjVUr5kUOn+DVPrKvHhFXG+wQYDJFBW+iLdx8Oc7rj1G tQfvvV34KH0311el8Yg4N71VZrggJTs7513yZJoNid5E4cf7eDiskUkVStVEvB+yUNPH R1WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=BjaglbwCvnZnwmMeD7pL3pl4+GpRXeZpLRJ7fvdqrkI=; b=k+zHc3mZDxNsCLHkou5BPWMalhIEaXN5QW4DcMiv4mGLxJUlKOB1PLlhV/bShsTzwt nKSlH6TAKl0feAGdu6aO0zQRk4ae/yZ/37xfbf5Tjw84064q9NWynViPscJZYt81+qrH u73AkOSc4zY9cqQoZ5Qe/GQ0N4FT9UcWkdHrElsOXdMCyleor3ytK3c5QRrd7QGp2VUR FajwQvHHl8DpVcOpo/dQkvyd95f7kiPkT6f7eoPDyB4TMX8hw1dFS2c17DJwKSa+FAgi YXZh9rC1hFcR7k+p3vxo52i0tq8IizRG1hFGEYv38XroVyPt3wNdlg+aYZL1wkj8UXuF jQhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=prWGvCBK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a170906264a00b00871b6dea6b2si5065960ejc.890.2023.01.17.16.23.00; Tue, 17 Jan 2023 16:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=prWGvCBK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbjARAAO (ORCPT + 48 others); Tue, 17 Jan 2023 19:00:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjAQX7c (ORCPT ); Tue, 17 Jan 2023 18:59:32 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E02C1893CC; Tue, 17 Jan 2023 15:14:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 53FABB81A62; Tue, 17 Jan 2023 23:14:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7012C433D2; Tue, 17 Jan 2023 23:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673997258; bh=UyCduLUKDHMuOlRKdVS07Ic8VuPeGTimn3Gjp7iIcuQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=prWGvCBKzqqnRYOonvhjMq6+HuXZbQ2bfu69j6jTopGc49O7slkoNWl99+J3sTOOv fqpj0RKNXt9Fm/40r3Th2EjwutW6hokYmVsQpnNMBDaBIIO+5qQ24qhMVkFY/cYezZ 3w9sh5VsObHXNzDod1HUKS5obzITXfKfbY6JI4JgsntOOULF/alKpv0szDoiOT7sbT HJ1Qkj/Yu8/o/QR/q4DeRFj85RJPR9GnJVdP8MK3UwWtEvPTmsWK+Tz5XTNpGCn2b5 BEPGKuw6GqJ3DgkhLhboFjXXfl1s0ZUV7fuPncg9oQJDREU3lRngcQdIzt/qmLRCEU k0Oj0YW3kfYGw== Date: Tue, 17 Jan 2023 17:14:16 -0600 From: Bjorn Helgaas To: Kai-Heng Feng Cc: bhelgaas@google.com, Mario Limonciello , Mika Westerberg , Keith Busch , Kuppuswamy Sathyanarayanan , Pali =?iso-8859-1?Q?Roh=E1r?= , Stefan Roese , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI/portdrv: Avoid enabling AER on Thunderbolt devices Message-ID: <20230117231416.GA158056@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221226153048.1208359-1-kai.heng.feng@canonical.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 26, 2022 at 11:30:31PM +0800, Kai-Heng Feng wrote: > We are seeing igc ethernet device on Thunderbolt dock stops working > after S3 resume because of AER error, or even make S3 resume freeze: > pcieport 0000:00:1d.0: AER: Multiple Corrected error received: 0000:00:1d.0 > pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Transaction Layer, (Receiver ID) > pcieport 0000:00:1d.0: device [8086:7ab0] error status/mask=00008000/00002000 > pcieport 0000:00:1d.0: [15] HeaderOF > pcieport 0000:00:1d.0: AER: Multiple Uncorrected (Non-Fatal) error received: 0000:00:1d.0 > pcieport 0000:00:1d.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID) > pcieport 0000:00:1d.0: device [8086:7ab0] error status/mask=00100000/00004000 > pcieport 0000:00:1d.0: [20] UnsupReq (First) > pcieport 0000:00:1d.0: AER: TLP Header: 34000000 0a000052 00000000 00000000 > pcieport 0000:00:1d.0: AER: Error of this Agent is reported first > pcieport 0000:04:01.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID) > pcieport 0000:04:01.0: device [8086:1136] error status/mask=00300000/00000000 > pcieport 0000:04:01.0: [20] UnsupReq (First) > pcieport 0000:04:01.0: [21] ACSViol > pcieport 0000:04:01.0: AER: TLP Header: 34000000 04000052 00000000 00000000 > thunderbolt 0000:05:00.0: AER: can't recover (no error_detected callback) Is this a regression? E.g., is this something that started after f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native") or something similar? Bjorn