From patchwork Fri Dec 15 21:11:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13494924 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 9AEAE495E7; Fri, 15 Dec 2023 21:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZQsJlxhp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB1B5C433C7; Fri, 15 Dec 2023 21:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702674678; bh=Pz52bZEiMprhIzxQzx7OqDCYrqRjBlVKFlQrM+jTYv0=; h=Date:From:To:Cc:Subject:From; b=ZQsJlxhp+zwITeFPYwXsDVQhF9yaGKhCx2bfckBmAnXzcR/34DYJjznCqQaKWjpfL lnO+LjEGlbBdJF8bJ9DtT8wGgKyhAQVBf4sO2NCgjCSQe6Esd7rvfB56BZiptAG8YJ InQVUUJSGuXfxgeFnGpPAkyLysxTBRrZaO2mKicZNUYnNXPgiK5ehQQEmFnVdZclBv IYTMXezynPTiSmFPLoenuHvDVQaZhnAjpTHqeKVQzJ/5TXreOot4ihufrw6w8SCVVM I/1Z3qZpVnPJwcukaFAq0rXeAUjn2kZhMriVOWEbV4rFIu6OWS57DAAgiWrevCXCwn i81bCurFrZTFw== Date: Fri, 15 Dec 2023 15:11:15 -0600 From: Bjorn Helgaas To: Linus Torvalds Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?q?Wilczy=C5=84ski?= , Jiaxun Yang , Huacai Chen , Johan Hovold , Manivannan Sadhasivam , Igor Mammedov , Fiona Ebner , Dongli Zhang , Jonathan Woithe Subject: [GIT PULL] PCI fixes for v6.7 Message-ID: <20231215211115.GA1141361@bhelgaas> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git tags/pci-v6.7-fixes-1 for you to fetch changes up to 5df12742b7e3aae2594a30a9d14d5d6e9e7699f4: Revert "PCI: acpiphp: Reassign resources on bridge if necessary" (2023-12-15 14:55:10 -0600) ---------------------------------------------------------------- - Limit Max_Read_Request_Size (MRRS) on some MIPS Loongson systems because they don't all support MRRS > 256, and firmware doesn't always initialize it correctly, which meant some PCIe devices didn't work (Jiaxun Yang) - Add and use pci_enable_link_state_locked() to prevent potential deadlocks in vmd and qcom drivers (Johan Hovold) - Revert recent (v6.5) acpiphp resource assignment changes that fixed issues with hot-adding devices on a root bus or with large BARs, but introduced new issues with GPU initialization and hot-adding SCSI disks in QEMU VMs and (Bjorn Helgaas) ---------------------------------------------------------------- Bjorn Helgaas (1): Revert "PCI: acpiphp: Reassign resources on bridge if necessary" Jiaxun Yang (1): PCI: loongson: Limit MRRS to 256 Johan Hovold (6): PCI/ASPM: Add pci_enable_link_state_locked() PCI: vmd: Fix potential deadlock when enabling ASPM PCI: qcom: Fix potential deadlock when enabling ASPM PCI: qcom: Clean up ASPM comment PCI/ASPM: Clean up __pci_disable_link_state() 'sem' parameter PCI/ASPM: Add pci_disable_link_state_locked() lockdep assert drivers/pci/controller/dwc/pcie-qcom.c | 7 ++-- drivers/pci/controller/pci-loongson.c | 46 +++++++++++++++++++++--- drivers/pci/controller/vmd.c | 2 +- drivers/pci/hotplug/acpiphp_glue.c | 9 ++--- drivers/pci/pcie/aspm.c | 65 ++++++++++++++++++++++++---------- include/linux/pci.h | 3 ++ 6 files changed, 100 insertions(+), 32 deletions(-)