Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp234609pxb; Mon, 13 Sep 2021 17:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaI6gX33ppmwP0M/yq64T4swHpqVmCy2AZZPUqgqOna3p3JbHkNkUXsilIAdjwrejyEO+u X-Received: by 2002:a17:906:558f:: with SMTP id y15mr15975735ejp.572.1631580972005; Mon, 13 Sep 2021 17:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631580971; cv=none; d=google.com; s=arc-20160816; b=xKhagOpN7zp1bZIQACaskyg3GPI1i8EkKfJ0/5mteSHWgibyQ7gmmtgj+Qm6fGEYIr csOapJJNy8DQeDq/174H+2Ux8S8EwqMD/mH4h8Rm0iYkV/aKjzKh7Tn0G8aOblulCnV+ Uf4RsiCSiTij3EeavMxakTnw1JVLSCPT30XMr+UpdtR/Pae8QX77X1v0GAOCw/Y+8Tps 4eE25RasgPc7UYprSdii0GyHFyjiQS4vQJnfHUOOJdLoJ70WtUGgxfo3BgiWPSWbKrrM OJRXVlPDqMQa+E2DiLhdmzKiImkU7WU0TS80hByjS0ltQQOXIFTFCwii4xDcdydpvbI6 5J2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:cc:from :references:to:dkim-signature; bh=5+LC83RmeuTS2KS2km7Yt9Gh9qYvhReIuEz7j6bACag=; b=a8tQuQfAuSMTYWGmK7N07qAU7NhhXAHBUiLhXXFQfXb4tlJ77zxGrgB+yFTR9bD1+q XB+89SjxINlWa14Z3mGcsJYW4SA2gV//hfTcPsGTNizsr7j8B/Hhed7kl4CFBedGKiPR q0C08rp4HRX58IBy881Ll74gKb/yY7O7hh6E2smW94KZ5OGFgFqEFFmh/uM4KksuJgGJ pA+pjdDGWi3wGktOX7N1L2vtHfwIvjVo2Q5V8Ds4+IwTGXFbTxfww2NpVTRRkMUilVtX Sko0MDmzoS3GAIxTCr8DLm2pHoYkOpyCYbMijp0teRukrWFQSjMY3qd4tDSUrzdTJFNf mVZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n+7U03F0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b5si9293529ejq.268.2021.09.13.17.55.48; Mon, 13 Sep 2021 17:56:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n+7U03F0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S240176AbhIMTBU (ORCPT + 99 others); Mon, 13 Sep 2021 15:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238493AbhIMTBT (ORCPT ); Mon, 13 Sep 2021 15:01:19 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 402AEC061574; Mon, 13 Sep 2021 12:00:02 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id u15so10196549wru.6; Mon, 13 Sep 2021 12:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:from:cc:subject:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5+LC83RmeuTS2KS2km7Yt9Gh9qYvhReIuEz7j6bACag=; b=n+7U03F0ZGURxI67egRWlNkdKMqkbLALs0cbKqkpr2YujLJz5f4WATC4Ny/nfkpJc4 rb3B7Bm6cZXiErlfTfNh/igwGBokuDQRrawLzrQIWNvYGdwLNz8jWEC3t5Mg1T7mK7oG Evvl1wdR3uSS4aF7Z79QYdq+CKdIMe1LKkODBYrY4b6v8hcYBLz4xd/Ze/r6fVjlMnIe sFaTumylx0us1eeEuQS8KRkVjKnE1Yd0ePAcDjaqCRjyr8zysRY0+Qkw3NAvvLUfr7// KOLTXa3XGmYic3AIZAi4pFw1MF3dFlxzwT07ydc4y6Re3SRq0C1gqSB/42UE2FdFvkNm beEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:references:from:cc:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5+LC83RmeuTS2KS2km7Yt9Gh9qYvhReIuEz7j6bACag=; b=CIcDLtn/RUnii0iFAkMbEXomTmjjGmSHJAGR8gbmU4diIw5TyyPGvsUVRBj/ftc37U MHR+RV3ovVQ2waBw1X8ihSUVzyPbuzJYg5R4Qjx/QeW6E2mH1d64tNkeKLUVuK+KuL0X 6rBmI+Hvq6zaZxFUweKa2NdrVzU8w1rKED96H6Unup+WKW7ipbRGYd2tTCEmu8nj4SEF WzY6RduLKnZUCqFkP0k9Ym7sd8JHpIXOOf1PLsuX2AzM99jHCZ0628y7MXAgwxQKSxFr swesKsJOnjXphLmNRzCeP+hhWEdDqAP0+tUFfHqAFhNQOx2SCbGhgVixlVLEinre+T/8 IuhQ== X-Gm-Message-State: AOAM531LRzC9hBYmm/Ozd8p41D58LNGK8SKASkPCicbBDQD5n1nQB+f4 s2zK4qQW8ProUXAIb/txpgXWeQWpLYM= X-Received: by 2002:a05:6000:1186:: with SMTP id g6mr14617821wrx.126.1631559600570; Mon, 13 Sep 2021 12:00:00 -0700 (PDT) Received: from ?IPv6:2003:ea:8f08:4500:2517:8cca:49d8:dcdc? (p200300ea8f08450025178cca49d8dcdc.dip0.t-ipconnect.de. [2003:ea:8f08:4500:2517:8cca:49d8:dcdc]) by smtp.googlemail.com with ESMTPSA id n7sm4225211wms.18.2021.09.13.11.59.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Sep 2021 12:00:00 -0700 (PDT) To: Dave Jones , Linus Torvalds , Linux Kernel Mailing List , Bjorn Helgaas References: <20210913141818.GA27911@codemonkey.org.uk> From: Heiner Kallweit Cc: "linux-pci@vger.kernel.org" Subject: Re: Linux 5.15-rc1 Message-ID: Date: Mon, 13 Sep 2021 20:59:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210913141818.GA27911@codemonkey.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.09.2021 16:18, Dave Jones wrote: > [ 186.595296] pci 0000:02:00.0: [144d:a800] type 00 class 0x010601 > [ 186.595351] pci 0000:02:00.0: reg 0x24: [mem 0xdfc10000-0xdfc11fff] > [ 186.595361] pci 0000:02:00.0: reg 0x30: [mem 0xdfc00000-0xdfc0ffff pref] > [ 186.595425] pci 0000:02:00.0: PME# supported from D3hot D3cold > [ 186.735107] pci 0000:02:00.0: VPD access failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update Thanks for the report! The stalls may be related to this one. Device is: 02:00.0 SATA controller: Samsung Electronics Co Ltd XP941 PCIe SSD (rev 01) With an older kernel you may experience the stall when accessing the vpd attribute of this device in sysfs. Maybe the device indicates VPD capability but doesn't actually support it. Could you please provide the "lspci -vv" output for this device? And could you please test with the following applied to verify the assumption? It disables VPD access for this device. --- drivers/pci/vpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/vpd.c b/drivers/pci/vpd.c index 517789205..fc92e880e 100644 --- a/drivers/pci/vpd.c +++ b/drivers/pci/vpd.c @@ -540,6 +540,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x002f, quirk_blacklist_vpd); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x005d, quirk_blacklist_vpd); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LSI_LOGIC, 0x005f, quirk_blacklist_vpd); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATTANSIC, PCI_ANY_ID, quirk_blacklist_vpd); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SAMSUNG, 0xa800, quirk_blacklist_vpd); /* * The Amazon Annapurna Labs 0x0031 device id is reused for other non Root Port * device types, so the quirk is registered for the PCI_CLASS_BRIDGE_PCI class. -- 2.33.0