Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1065184rwi; Wed, 19 Oct 2022 06:23:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70a3cX64WTwPz4WZ0Fq3lC4mD16MbH4zlb0zzYIR06f56U0YB9cujbEXPPbDwLCcj1k5n9 X-Received: by 2002:a63:8a42:0:b0:45f:f0f0:148f with SMTP id y63-20020a638a42000000b0045ff0f0148fmr7392419pgd.93.1666185788356; Wed, 19 Oct 2022 06:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666185788; cv=none; d=google.com; s=arc-20160816; b=sLQKiUOxT4O1Luhbzafg7/4KI6b/K/5yNNmV6YnBFJMKKCWQKTb9JG4NConcDNLsyY 4A2hAaeVMlij+Ck8OHpgriwcEetMHuSqIyKB8pYQDAFcJZC7olThynaKRlDiOjzwIVq0 kq+nLrKqT3F0Nz5qx+xZKIrSQpN4oxY333tGp28ssRZHgKVMHQcT0Y2vmOI0ruxobuHO DzHtkyp/Zkg5BFC477ElR54T16mp+8/VrgUaARbsgJW2Pz8RrhzfLVz3llWXv2qdj/9Y LX3eKj5c+rBOTWLhjIyhUkbRYnco8NqfCiIT7qi29T+GscD373KsVvIEx1vBIEMZXXMT WFVA== 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:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3C1pwRa7ljelzc64SF2r27U+NKMGnvzX/X7c5N89WW8=; b=nmFA4POYpT2+Td+i9Xb++2zw6u7HaqCLz/zotPTOP+L78ak2y+hA66WtwwGbO1gOJZ riDBCq8LX4cMqo/T8rI8SGJNNK9nSzV6mfR/apGb+LdlTfZlGd+AmGr1bUq9Cgt0ulMv Zt7kXnWFLMbtiGPoKO2ryMCQdrYcPX0sbpnJkeMRKphCVhEjLfVxXuWUQlzWmHZKd0i2 IURw1d3SbRZzG89EP5jvW6eQ/5xfgY7x4F2WkVixjfyaPyf/MWiN+a62BUEVQTIdpjac 5XOr1D4V4dzUsjRWkH7BpdrTHbWCi9Bc6bLH3kRLwbOV1G3z1ZZyHh7jsXDyOiQkLwKv wMyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RNNKEUwc; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d2-20020a63f242000000b004639c772888si18540286pgk.225.2022.10.19.06.22.55; Wed, 19 Oct 2022 06:23:08 -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=@intel.com header.s=Intel header.b=RNNKEUwc; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231947AbiJSNAS (ORCPT + 99 others); Wed, 19 Oct 2022 09:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233856AbiJSM7g (ORCPT ); Wed, 19 Oct 2022 08:59:36 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE31710EA0B; Wed, 19 Oct 2022 05:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666183403; x=1697719403; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=E2p35ATnNVue4S2XAAi/7LxZWtiUvtDcbfvFBxl94qs=; b=RNNKEUwcTAONFtb0H179Nuo6L7lN47dyyy4jdteRhSHt3I/bDFmtZMUz BLOYNY9lE+NklnP4ZSgBHvXxwvxHqFTvI9PwaObyhC1y3xPai4zb2/iY8 FfxJytjO3c2wNv0hFKc8z2PobDjqpIxO3wa6WvCPaMSEjdmYNieOhXSyp lrOuCxaQee9e/3QtPEAqmjTj6+fmwfNi4L8c/c8S2T+g0KY0kLke3YQDj HS++7W6dEFmxwb68QOgkidmCAvmuyibZz+/mYh8NbJ4gyrDuvY5CzwcuC m6lch8AvE+HAIOmmWaR6xfu9ohfgmH6YZ23S6Mtrqq7VoQRfWV3Awq3Eu w==; X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="308080448" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="308080448" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2022 05:22:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="662439218" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="662439218" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.191]) by orsmga001.jf.intel.com with SMTP; 19 Oct 2022 05:22:51 -0700 Received: by stinkbox (sSMTP sendmail emulation); Wed, 19 Oct 2022 15:22:50 +0300 Date: Wed, 19 Oct 2022 15:22:50 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Linux PCI , Linux ACPI , LKML , Greg Kroah-Hartman , Bjorn Helgaas , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: Re: [PATCH] ACPI: PCI: Fix device reference counting in acpi_get_pci_dev() Message-ID: References: <12097002.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Patchwork-Hint: comment X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 01:35:26PM +0200, Rafael J. Wysocki wrote: > On Wed, Oct 19, 2022 at 11:02 AM 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. > > Sorry for the disturbance. > > > I've applied both fixes into our fixup branch and things are looking much > > healthier now. > > Thanks for letting me know. > > I've just added the $subject patch to my linux-next branch as an > urgent fix and the other one has been applied to the RTC tree. > > > This one caused i915 selftests to eat a lot of POISON_FREE > > in the CI. While bisecting it locally I didn't have > > poisoning enabled so I got refcount_t undeflows instead. > > Unfortunately, making no mistakes is generally hard to offer. > > If catching things like this early is better, what about pulling my > bleeding-edge branch, where all of my changes are staged before going > into linux-next, into the CI? Pretty sure we don't have the resources to become the CI for everyone. So testing random trees is not really possible. And the alternative of pulling random trees into drm-tip is probably a not a popular idea either. We used to pull in the sound tree since it's pretty closely tied to graphics, but I think we stopped even that because it eneded up pulling the whole of -rc1 in at random points in time when we were't expecting it. Ideally each subsystem would have its own CI, or there should be some kernel wide thing. But I suppose the progress towards something like that is glacial. That said, we do test linux-next to some degree. And looks like at least one of these could have been caught a bit earlier through that. Unfortunately no one is really keeping an eye on that so things tend to slip through. Probably need to figure out something to make better use of that. > > > https://intel-gfx-ci.01.org/tree/drm-tip/index.html has a lot > > of colorful boxes to click if you're interested in any of the > > logs. The fixes are included in the CI_DRM_12259 build. Earlier > > builds were broken. > > Thanks! -- Ville Syrj?l? Intel