From patchwork Thu Apr 20 20:27:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 86037 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp603417vqo; Thu, 20 Apr 2023 13:40:58 -0700 (PDT) X-Google-Smtp-Source: AKy350YLvSmThyd1gh5TuHePzSHkkA+cw7Nq3eRzja9J16Wee/xzYc215QWV7oh3p/WHX+qV2csh X-Received: by 2002:a05:6a00:1143:b0:63d:3ae4:7c72 with SMTP id b3-20020a056a00114300b0063d3ae47c72mr3358145pfm.0.1682023257829; Thu, 20 Apr 2023 13:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682023257; cv=none; d=google.com; s=arc-20160816; b=KxWQpoJIHtaEHFaOKSy0Jg3gD6osZ7CgbmDb1ZyJiaQCh0U6hQ8y4nufP6NQJfgvIr kJ2ZV2HlH1rTfvphXsowLQZRQ4iUeXAQy4S2wlwmVcscX+H0olupYEKEoNfK3O7nQk6a 0PwSn6hfnaP59j+jtkEju3b9Nablyh/SvyqrUK4vr2qGDUTN/C2F+H6kRFFV45mBXU+w 8847+5fqjgiWh1NhKY7jsloj+/MMa3JArfq7vw/3olQIlKGH91sY+Dg/sxR81dr0rqwt edYtwHuifxo90R+jueEHzERIpRKhmVd4i3A8BoLWMibU49R2806q0jV3QpNjawwh2YFm lrHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=pQnwQ/wx3pVfUoOCoNhJ3BEO40NBWLER3u/E8jEUKx8=; b=A3YfrHRcaG5zh/Hr+0O7fNe2TUcyZ/9ks+ikDZl0ScgMTgeWIhaEyPU+PbqfiLRHsp iIhlUE5XAaZWlYv4pOfL5cWkH6IMEaCLJoCJeHzITRtYqIYai/idoLkLbPV+8u3l+ZYM jPPrtRIYIoByyjw9rBb4wVIWsy+wTqbsVVDfRtEB+WeAjFd6gQy2iohtOLGCfV97pT8S h8B8x6oKnWm+dbvDvHjSBpTbQkXhX+IIfGwrGpS22FJy7JMJ2nacYTEs0MslbsFWTCCh S3Q35PRmn2Bo8g1g1gg0gL5+1qkEsd7z+qcxRxxAnmxcIOHjWaQMwpyAoUys9p/pWr7G CcZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRRaKYUG; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 126-20020a620484000000b0063b251c885fsi2368119pfe.348.2023.04.20.13.40.44; Thu, 20 Apr 2023 13:40:57 -0700 (PDT) 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=kRRaKYUG; 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 S232353AbjDTU2J (ORCPT + 99 others); Thu, 20 Apr 2023 16:28:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232373AbjDTU1p (ORCPT ); Thu, 20 Apr 2023 16:27:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ADF33A8E; Thu, 20 Apr 2023 13:27:35 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id E280F64BBB; Thu, 20 Apr 2023 20:27:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1607BC4339B; Thu, 20 Apr 2023 20:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682022454; bh=cph4jY4sNf3bdO6jFfmDqQd5XkvrtKpUasG+G/EXRBA=; h=Date:From:To:Cc:Subject:From; b=kRRaKYUGeVj6HNsF9JdXDvoy5RNm8Tm1AnuCsNbsJX2EsoX0mbaxFsQBoSdwUO7D/ t9CsxVVd8Pd2cSsR7Vsbt8VgGtI2D7d0/2CcJeCzhuSmAfY5JHOG90agI67BJ5cDD0 jYTwxVjxFsQ9KP13z4FLd3rSK0oVewSlpzTCspGCWIw6TeIrkS6V7ICEfyeS2/Wnlc o5ibvpal0B4OlsXhlNpIBWPOjG+ecvXtefjS8j+qYVcO3yVjoYqmKLFMNnPGfcBO/n OZgmIXQD08POLhNtwblVgqb91uidKGTPadCI7zgmr77nIyMQYaQYb6ASUjWRxqxuAL h9nKdWL8Gauzw== Date: Thu, 20 Apr 2023 15:27:32 -0500 From: Bjorn Helgaas To: Linus Torvalds Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Krzysztof =?utf-8?q?Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Donald Hunter , Binbin Zhou , Liu Peibao , Huacai Chen , Vitaly Kuznetsov , Myron Stowe , "Rafael J. Wysocki" , Andy Shevchenko Subject: [GIT PULL] PCI fixes for v6.3 Message-ID: <20230420202732.GA322005@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline 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,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763729219533337487?= X-GMAIL-MSGID: =?utf-8?q?1763729219533337487?= The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6: Linux 6.3-rc1 (2023-03-05 14:52:03 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git tags/pci-v6.3-fixes-3 for you to fetch changes up to 0d21e71a91debc87e88437a2cf9c6f34f8bf012f: PCI: Restrict device disabled status check to DT (2023-04-20 13:30:14 -0500) This has only been in -next one day, but it fixes an important regression. It appeared in next-20230420 as a0814a0e8b5b, and I subsequently edited the commit log to add testing reports from Donald and Vitaly. ---------------------------------------------------------------- - Previously we ignored PCI devices if the DT "status" property or the ACPI _STA method said it was not present. Per spec, _STA cannot be used for that purpose, and using it that way caused regressions, so skip the _STA check (Rob Herring) ---------------------------------------------------------------- Rob Herring (1): PCI: Restrict device disabled status check to DT drivers/pci/of.c | 30 ++++++++++++++++++++++++------ drivers/pci/pci.h | 4 ++-- drivers/pci/probe.c | 8 ++++---- 3 files changed, 30 insertions(+), 12 deletions(-)