Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp622059rdb; Tue, 23 Jan 2024 09:28:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5u+nFhl0NImcdam4Ju9H6YlAUyn88ddwqN9cgRtamGcuElXWFl+nHXA87wd195iYW4qYd X-Received: by 2002:a05:6358:16ce:b0:176:5855:d557 with SMTP id r14-20020a05635816ce00b001765855d557mr3206375rwl.3.1706030913419; Tue, 23 Jan 2024 09:28:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706030913; cv=pass; d=google.com; s=arc-20160816; b=RY7bJqBzD+Ty7cdZlzlPdYMn1PJkiUL+O0s5NxVXQWacUYw4Iw18y8WW9tzVozZdIB l8j5gW+PNeB61lnkJdi3bumyOKWFTSMQY6ptiO6aWwWzeRcW83Lmjn8lUp9Ca5J7fCHN 0T0y4sJ8NFdtOyAGezsec3VS9at9HLUs6iPK6ODiB03KLRO66Nk38gZwf9Fu9MT6E7CV yXKcw3Nit1ANzj3jvtseml2gSMjOvUX44bTc5gxrKlDfNCrqexp5HGJlgPWkng7gWugE ixDDtXmK5U6gBHAALbaXuAhAHYJyKPO5xkeH8iXh838jmVfh8wgITUlYebij5l2ooGwM P3NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tZ4HlQyk9bOCJVjVJOjBFl9RTwxKU04fdYbFUGnZOAY=; fh=Bf0UpK1TG4IEJEEu1QJEkVDYIk8VZdBoz6ZgBLKYZf8=; b=oL/fMJXeqtuWPim8FCWKrK0aDxMcs32yZj1AxtDiij1ObqGs/B103TExKYMi1Rijjd KWIlRm62Akg3G+lBUuHJR8j7MCTIksWcftI428K8Krr1y835a/t69QywQNki7yKrAUnQ h4/ILQ+8LfDN5BsE5SKTK5N9OibNYVolxO0wAWTWRlKZXAHGhl9hCxw5WzFQ7dEKhzqK VW3+ZIeBIW7EcBBm85P6/FeAEObVm8aJEP6o1S6sXq1bTo4L97BHZCg1IiLnQs7bjQ6D M20QTMUpt4adzVEu4CPlG4LiRwBQWHhIaZkrtpHnqTTZFnO8q9IyzTcBuldngv5iCTGF q5yQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVeaiKmt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35776-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35776-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d20-20020a656b94000000b005c66e020c9fsi10347515pgw.718.2024.01.23.09.28.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 09:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35776-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVeaiKmt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35776-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35776-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 39C5028C9B5 for ; Tue, 23 Jan 2024 17:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5462780058; Tue, 23 Jan 2024 17:25:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gVeaiKmt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73CCF7FBB7; Tue, 23 Jan 2024 17:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706030740; cv=none; b=koILiff/dGsVsvCgpeelak+Qt054br/bDXu26m/VawdV2Q9fmGKju1/8TOnTk2dqcVbmfpQjMCO8fdwF+xlCitZP2jIv590rdETsG1J5ltIdn4jq6clqpYlJjd9FKRHAGF3TZ9VnJqsuzin1/lVvJ2rqbGY/t3FzSJtOCd1WvB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706030740; c=relaxed/simple; bh=owFnlOk5Q+Eu97Jy5r3Vid9vDSX0Lx7bNco6ENdRQVA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QzuO/UnXyFOrC+o3AiOlntRsdzotIq3IKfLUsVKWx7j9tEV/NXA+Q0m/sMKc4M1ibyypGJwkv3jDbD/JRUj0ChdsG7LqO9AXo9vsAy3dlkIxwRJ0hkC1Xm8WDwr9paiMqukr+8Hy/tU8Hn4fQyXn64Otx3Wre+JnUie0yGyBVKk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gVeaiKmt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9132C433F1; Tue, 23 Jan 2024 17:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706030739; bh=owFnlOk5Q+Eu97Jy5r3Vid9vDSX0Lx7bNco6ENdRQVA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gVeaiKmtcDgGgLP2BYukxjpQuCpS7FHhAOVvGmITyqQmxJjHmQAmJSho2kK9qbYys N7hnRBqP593yishGnCQ2Xz1+0IgedKNu5UsjM99Bedc+EvL1a5PEnJ7kuyAiBSfMgO IYrpWRJ3AStrid4TzT4QGOB9RSFiuEKjVn5sYjWp4of9NnGTw+540q6CvXzkD2ijJx uHvfmY/+viLzh5Sl+SFyT6C9r5AAozbEuIk5ix/4UhqCSaLSZvWLzmjfdv1PklNkJG vpM4YbB3kQkJC2ZBc9XKQakq+HPWXOBOZLI6ttq2KRhQp9W7pneReTea9xsPNzHWfz CzMX1q7Rt+pGg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rSKX2-0000000007X-1K2C; Tue, 23 Jan 2024 18:25:53 +0100 Date: Tue, 23 Jan 2024 18:25:52 +0100 From: Johan Hovold To: Bjorn Helgaas Cc: Michael Schaller , Kai-Heng Feng , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, "Maciej W . Rozycki" , Ajay Agarwal , Kuppuswamy Sathyanarayanan , Greg Kroah-Hartman , Heiner Kallweit , Johan Hovold , Bjorn Helgaas , stable@vger.kernel.org, regressions@leemhuis.info Subject: Re: PCI/ASPM locking regression in 6.7-final (was: Re: [PATCH] Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()") Message-ID: References: <20240122182615.GA277100@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240122182615.GA277100@bhelgaas> On Mon, Jan 22, 2024 at 12:26:15PM -0600, Bjorn Helgaas wrote: > On Mon, Jan 22, 2024 at 11:53:35AM +0100, Johan Hovold wrote: > > I never got a reply to this one so resending with updated Subject in > > case it got buried in your inbox. > > I did see it but decided it was better to fix the problem with resume > causing an unintended reboot, even though fixing that meant breaking > lockdep again, since I don't think we have user reports of the > potential deadlock lockdep finds. That may be because I fixed the previous regression in 6.7-rc1 before any users had a chance to hit the deadlock on Qualcomm platforms. I can easily trigger a deadlock on the X13s by instrumenting 6.7-final with a delay to increase the race window. And any user hitting this occasionally is likely not going to be able to track it down to this lock inversion (unless they have lockdep enabled). > 08d0cc5f3426 ("PCI/ASPM: Remove pcie_aspm_pm_state_change()") was a > start at fixing other problems and also improving the ASPM style, so I > hope somebody steps up to fix both it and the lockdep issue. I > haven't looked at it enough to have a preference for *how* to fix it. Ok, but since you were the one introducing the locking regression in 6.7-final shouldn't you look into fixing it? Especially if there were alternatives to restoring the offending commit which would solve the underlying issue for the resume failure without breaking other platforms. I don't want to spend more time on this if the offending commit could simply be reverted. Johan