From patchwork Wed Feb 1 02:38:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 13123662 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 D4822C636CC for ; Wed, 1 Feb 2023 02:38:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjBACiL (ORCPT ); Tue, 31 Jan 2023 21:38:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229722AbjBACiK (ORCPT ); Tue, 31 Jan 2023 21:38:10 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8AE5410AE for ; Tue, 31 Jan 2023 18:38:08 -0800 (PST) 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 A387EB8201F for ; Wed, 1 Feb 2023 02:38:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0691C433D2; Wed, 1 Feb 2023 02:38:02 +0000 (UTC) From: Huacai Chen To: Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= Cc: linux-pci@vger.kernel.org, Jianmin Lv , Xuefeng Li , Huacai Chen , Jiaxun Yang , Huacai Chen , Tiezhu Yang Subject: [PATCH V3 0/2] PCI: Resolve Loongson's LS7A PCI problems Date: Wed, 1 Feb 2023 10:38:01 +0800 Message-Id: <20230201023803.660469-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This patchset attempt to resolves Loongson's LS7A PCI problems: the first patch remove pci_disable_device() in pcie_port_device_remove() to avoid poweroff/reboot failure; the second patch improves the mrrs quirk for LS7A chipset; V1 -> V2: 1, Update commit messages and comments. V2 -> V3: 1, Simply remove pci_disable_device() in pcie_port_device_remove() to solve poweroff/reboot failure. 2, Update commit messages and comments. Huacai Chen, Tiezhu Yang and Jianmin Lv(2): PCI: Omit pci_disable_device() in pcie_port_device_remove(); PCI: loongson: Improve the MRRS quirk for LS7A. Signed-off-by: Huacai Chen Signed-off-by: Jianmin Lv Signed-off-by: Tiezhu Yang --- drivers/pci/controller/pci-loongson.c | 44 ++++++++++++----------------------- drivers/pci/pci.c | 6 +++++ drivers/pci/pcie/portdrv.c | 1 - include/linux/pci.h | 1 + 4 files changed, 22 insertions(+), 30 deletions(-) -- 2.27.0