Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1408181rwi; Wed, 19 Oct 2022 10:11:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4i+UG+UmJLCMfIpmbEmkDpAxLa3lCooUJdjXG8Scl3TCX+zGGT+eytn9KVCAZKlRtI6MdN X-Received: by 2002:a17:902:c946:b0:183:4bdf:9478 with SMTP id i6-20020a170902c94600b001834bdf9478mr9111878pla.139.1666199488529; Wed, 19 Oct 2022 10:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666199488; cv=none; d=google.com; s=arc-20160816; b=I+E4nCfsDrlU2k+BlgjjaqurrSmKSk3QjvvYuCRBdM/JPUezEYtIJeX6poxehIxDbx TCUr+2SAMHsIAuzZQFBOS1opAKArFE1t6z0vz2MCD5lUBk93cFbJeMSJFF5oigQNveNC rARa8b2VK6S/CnYX59w0d9ktYn4UuHTNw4rgO4A3nutP/eCtoXuyDPMJdKj+ki6X+Yhk Y2Qud/fTo825NRXMaD9/84Wn0aerIF6k5qbPr+ekkBM7R+ZSSBwX858xXkZKrzn8k710 gtmW8fxG9r2ZmlFNNFlJgj4uCtMesnOSZY0xmNtwvwtYAA98hX8rnZ6mjDE0Fd4MZRu9 +b+g== 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-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=eZxj/669bmKGqWQQawOiTV8x5WXumOUNcYKl7HyxnGI=; b=WriQchUQ4/vBgouaju21/RVMuEYy0Viz3YKwZn7EGGCRzlcc428z76xPNUx4KEUoTV /ygdfbt4rAHEs66PnpNmxk2PobYwvFAcloB7aiLvraKutdoAAOndznbqhDYnREWSiRzD SeIFZ7uoEAVhQfLzxeJtKFZiuWQB2/KXG5dmH3+OLKyO0U7r/AGN4J2nCQCCGH1s0+Jr 6FW1Mcw5TmtYMGiseZE0dcS5n+hvzomKqpdIQSs6ZMe3DO9LC/Xp/xgSwKaPHHTjkWRC 0xeMeXYFo81updhgaEWO6T4xkGz1iZqxrKOKEjNFl8SBJNJer79Z6oNN5IELKj1ZWnsd rMoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kmt3orH4; 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 a25-20020a631a19000000b0045166930a46si19938756pga.609.2022.10.19.10.11.13; Wed, 19 Oct 2022 10:11:28 -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=kmt3orH4; 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 S230073AbiJSQxj (ORCPT + 99 others); Wed, 19 Oct 2022 12:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230087AbiJSQxf (ORCPT ); Wed, 19 Oct 2022 12:53:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F403F1CFC49; Wed, 19 Oct 2022 09:53:30 -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 ams.source.kernel.org (Postfix) with ESMTPS id 6C606B8255B; Wed, 19 Oct 2022 16:53:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00B93C433C1; Wed, 19 Oct 2022 16:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666198408; bh=CcxxdBNLquWAvQuxxAVTBNwSWT4Oakw4Mfsj/G7HkPc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=kmt3orH4To87BfkQnfQ+feGOILFX3RpqshvYDJ/IKABB6pQh/hf25S9Q33hb8pSJu ewltIeQ74YE7n8T2XReqB6bOGsKstF/IayHX5+5JXVBQXRkRDi12Nm2qt2w3CkS+EQ lbqQCqwENVF0yCu7GMMbM0s473VtVEJJa4OEhkRptLwQuIc7tQv2H1cXxSvhQMq0FL DE2evCZvp2IxcLI47ODg8ElQJfmnpeGcrvyV8TnBlJ2SmjBRgprj0vdxEPjbIdOUS0 GbVgwPwZjIWzAtX/VBYoCunJ/oPy8wRS2Yz2QGGeXMWnMP40+1XEZPz7IRYtaa/YI+ FcH53+VcXqjYQ== Date: Wed, 19 Oct 2022 11:53:26 -0500 From: Bjorn Helgaas To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: "Rafael J. Wysocki" , Linux PCI , Linux ACPI , LKML , Greg Kroah-Hartman Subject: Re: [PATCH] ACPI: PCI: Fix device reference counting in acpi_get_pci_dev() Message-ID: <20221019165326.GA23726@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.4 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 Wed, Oct 19, 2022 at 11:54:42AM +0300, Ville Syrj?l? wrote: > On Tue, Oct 18, 2022 at 07:34:03PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Commit 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()") failed > > to reference count the device returned by acpi_get_pci_dev() as > > expected by its callers which in some cases may cause device objects > > to be dropped prematurely. > > > > Add the missing get_device() to acpi_get_pci_dev(). > > > > Fixes: 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()") > > FYI this (and the rtc-cmos regression discussed in > https://lore.kernel.org/linux-acpi/5887691.lOV4Wx5bFT@kreacher/) > took down the entire Intel gfx CI. From 1000 miles away and zero background with the gfx CI, this sounds like "our CI system, whose purpose is to find bugs, found one", which is a good thing. Bjorn