Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6254532rwb; Tue, 22 Nov 2022 10:43:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7IQjje4W11VeMC99adVSrCd3LR2a7GXBifWY5Pbo2xZiVKSnTBL65cWQ0QWsuOIeMbhz4C X-Received: by 2002:a17:907:76f0:b0:7ae:72ae:1f85 with SMTP id kg16-20020a17090776f000b007ae72ae1f85mr20034386ejc.133.1669142605654; Tue, 22 Nov 2022 10:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669142605; cv=none; d=google.com; s=arc-20160816; b=sB2pJe/u1lhxuuol+3ITtY6fvYHwmKc1/xMdAtPKeQw3/tTGAfrqH829k2CYKZqQZ9 esL9ydEAJEL/NEs7vmVU4VmfUmlW3wgudGmO2w0Qja1Dbz3TwE6PKrC7g9IfL/tQLXnC 9gqmOW0pdhKkJlhTCb/sckZcdHnR/fsZH/rj1gc3SVrr2uUWa734asrNQfZQyqfNjDdC HjKnVnHp79qYg4K7H3gJScXKuAQnD8nEvIKYmCBJCF2xcjBjCWZp1Q6HocZ8j1G9h18o kHgYWMw3q1lexkQXYlGBu0fa6Ejb1LBfWHsSvt/YHnOq+iq+4tuv322mmpXKzIF9xri1 lwhA== 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=dMLRaEWDJe7K8p9g5Jo47ZYuCdKSZd7sG7/O0A9Q5UA=; b=emkc6Hl3lvK5TDmFKqMnmNAjuf9vmo6+3ibXdD6vJgkBsGX4Fsr+lYgjIEBgNNUrVO h0tsXhvrid7ycrfCORF0Zns8XGJIWVrtQeXc/w5biqutpG34k217dCHk7lpVd4bBTeji uH6R6iglMc7GAcNA+17gVgqQveJLnHUBrmeQXphd541Oz3GIhPhqcyprrnhv2nH1PY/4 wcMiUKJPrOiR+OXPzV0GkiyNHaLvighIwjbln9AbrOnaQYmm4Rf1Ilq8wBTItSHlKJjv mC4x28vGVp/Gf4nLQyXGzAQ8KdZsNOpwdeKJ/7gVWUDNSS3l+nmVk/8fU5U9t6Al+MH7 oMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HFZM9LiA; 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 gz16-20020a170907a05000b0078dd12d0a9bsi9712589ejc.875.2022.11.22.10.43.02; Tue, 22 Nov 2022 10:43:25 -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=HFZM9LiA; 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 S234372AbiKVSGN (ORCPT + 91 others); Tue, 22 Nov 2022 13:06:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234337AbiKVSGJ (ORCPT ); Tue, 22 Nov 2022 13:06:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69944701B5; Tue, 22 Nov 2022 10:06:08 -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 24401B81CB3; Tue, 22 Nov 2022 18:06:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 803C8C433C1; Tue, 22 Nov 2022 18:06:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669140365; bh=trGcQYXIw7FCZR0G2TTT6YcWa8YSOS7zdjYdsUtAohI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=HFZM9LiAkikCRL47vyx7N5jtwHA+N2HMiJInCtUdV7X7FmmLJfeJzM1rcDPk3xoUU oBduSOw8SI3kSjW+MtjKzYd+oUXX0Y+Jay7RCM0AYolUog9eH0klA3R47srUxnGhbS 3W7e7lPk/GonlRWlsPy5ek8qKtXtFmO3QBnwPmkxelvw1suqSoUPM2pQphHP9BZVw0 WkgahnUzXCtjAAl+rCMZQ0y8yBJ553JEAHjGtZ4UqLvX9nqpS/DojkkpVmL/cUmsG2 VyN1y1+DRKeRtkvmp1qS6jno3Uli+JOFISBnX0rLpyXhYhCubVzo6qvu2WRuSEyQTW fLNk/zPKgAbcw== Date: Tue, 22 Nov 2022 12:06:03 -0600 From: Bjorn Helgaas To: "Rafael J. Wysocki" Cc: Rodrigo Vivi , Lukas Wunner , LKML , Linux ACPI , Linux PCI , Linux PM , Mika Westerberg Subject: Re: [PATCH v1 0/2] PCI: hotplug: Add checks to avoid doing hotplug on PCIe Upstream Ports Message-ID: <20221122180603.GA205176@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5623410.DvuYhMxLoT@kreacher> 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, Nov 21, 2022 at 07:13:15PM +0100, Rafael J. Wysocki wrote: > Hi All, > > PCIe Upstream Ports are not hotplug-capable by definition, but it turns out > that in some cases, if the system is configured in a particularly interesting > way, the kernel may be made attempt to operate an Upstream Port as a hotplug > one which causes functional issues to appear. > > The following 2 patches amend the code to prevent this behavior from occurring. Thanks, applied to pci/hotplug for v6.2. Lukas, I didn't presume to convert your LGTM to Reviewed-by, but would be happy add it. Bjorn