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 X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 606C3C2B9F4 for ; Fri, 25 Jun 2021 09:30:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 41C1F61423 for ; Fri, 25 Jun 2021 09:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbhFYJcV (ORCPT ); Fri, 25 Jun 2021 05:32:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:35216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230439AbhFYJcV (ORCPT ); Fri, 25 Jun 2021 05:32:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 106DA61409; Fri, 25 Jun 2021 09:29:58 +0000 (UTC) From: Huacai Chen To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Xuefeng Li , Huacai Chen , Jiaxun Yang , Huacai Chen , Huacai Chen , Tiezhu Yang , Jianmin Lv Subject: [PATCH V3 0/4] PCI: Loongson-related pci quirks Date: Fri, 25 Jun 2021 17:30:26 +0800 Message-Id: <20210625093030.3698570-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Huacai Chen This patchset resolve some Loongson-related pci problems (however, some of them affect not only Loongon platform). The first patch has been sent before, and nearly all reviewers' questions had been answered at that time [1]. The second patch move some LS7A quirks to quirks.c, where can be shared by multi architectures. The third patch improve the mrrs quirk for LS7A chipset, and the fourth patch add a new quirk for LS7A chipset. [1] http://patchwork.ozlabs.org/project/linux-pci/patch/1600680138-10949-1-git-send-email-chenhc@lemote.com/ V1 -> V2: 1, Rework the 4th patch; 2, Improve commit messages; 3, Remove the last patch since there is better solutions. V2 -> V3: 1, Add more affected device ids for the 4th patch; 2, Improve commit messages to describe root causes; Huacai Chen, Tiezhu Yang and Jianmin Lv(4): PCI/portdrv: Don't disable device during shutdown. PCI: Move loongson pci quirks to quirks.c. PCI: Improve the MRRS quirk for LS7A. PCI: Add quirk for multifunction devices of LS7A. Signed-off-by: Huacai Chen Signed-off-by: Tiezhu Yang Signed-off-by: Jianmin Lv --- drivers/pci/controller/pci-loongson.c | 69 --------------------------- drivers/pci/pci.c | 5 ++ drivers/pci/pcie/portdrv.h | 2 +- drivers/pci/pcie/portdrv_core.c | 6 ++- drivers/pci/pcie/portdrv_pci.c | 15 +++++- drivers/pci/quirks.c | 89 +++++++++++++++++++++++++++++++++++ include/linux/pci.h | 2 + include/linux/pci_ids.h | 10 ++++ 8 files changed, 124 insertions(+), 74 deletions(-) -- 2.27.0