From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FA88C4167B for ; Sun, 10 Dec 2023 12:35:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232223AbjLJMft (ORCPT ); Sun, 10 Dec 2023 07:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232195AbjLJMfr (ORCPT ); Sun, 10 Dec 2023 07:35:47 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E46110A; Sun, 10 Dec 2023 04:35:52 -0800 (PST) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rCJ2E-0002b3-Qg; Sun, 10 Dec 2023 13:35:50 +0100 Message-ID: Date: Sun, 10 Dec 2023 13:35:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] PCI: Fix deadlocks when enabling ASPM Content-Language: en-US, de-DE To: Linux kernel regressions list Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231128081512.19387-1-johan+linaro@kernel.org> From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1702211752;201925f3; X-HE-SMSGID: 1rCJ2E-0002b3-Qg Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 07.12.23 14:25, Johan Hovold wrote: > On Tue, Nov 28, 2023 at 09:15:06AM +0100, Johan Hovold wrote: >> The pci_enable_link_state() helper is currently only called from >> pci_walk_bus(), something which can lead to a deadlock as both helpers >> take a pci_bus_sem read lock. >> >> Add a new locked helper which can be called with the read lock held and >> fix up the two current users (the second is new in 6.7-rc1). >> >> Note that there are no users left of the original unlocked variant after >> this series, but I decided to leave it in place for now (e.g. to mirror >> the corresponding helpers to disable link states). >> >> Included are also a couple of related cleanups. > >> Johan Hovold (6): >> PCI/ASPM: Add locked helper for enabling link state >> PCI: vmd: Fix deadlock when enabling ASPM >> PCI: qcom: Fix deadlock when enabling ASPM >> PCI: qcom: Clean up ASPM comment >> PCI/ASPM: Clean up disable link state parameter >> PCI/ASPM: Add lockdep assert to link state helper > > Could we get this merged for 6.7-rc5? Even if the risk of a deadlock is > not that great, this bug prevents using lockdep on Qualcomm platforms so > that more locking issues can potentially make their way into the kernel. > > And for Qualcomm platforms, this is a regression in 6.7-rc1. > > #regzbot introduced: 9f4f3dfad8cf Fixes are now here: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=for-linus #regzbot fix: 075268be58232b0a2ae #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.