Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp13810ybs; Tue, 26 May 2020 02:24:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkHPFH956rtkU/3zllaPT52bnnoOZfXRRvOLrJZcFXAnlHUoxjoEjs9pdrQSkakVjIK0nE X-Received: by 2002:aa7:d48d:: with SMTP id b13mr19218026edr.262.1590485062222; Tue, 26 May 2020 02:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590485062; cv=none; d=google.com; s=arc-20160816; b=jAvIpAgjU9fUPAQlL4SGE/8LLdUgWflfM+ythmikFDq/8Q9PldYlUrDCs55x9dEA3g 6IUpQm0lGGNqzYMDL2tfv049ywxTIHxwiuuIo0HrWCnPCoanHEpalcbu4ADT0FhCdUNi J/NHoG9n27C/zG23Zjc7cCkimOH0d1j4f53LRd8xCpPBiNXuwP18d/HQuTzvIQsU///8 Vv4KezO7N3YLk9N5N6qkVCPTckR3ZcHZDuriPDr+nsp3edUDXFTfy62KuvYc7+FUGixY NqBFs18hhTbrTljAudE2D3FKegQbwgo9RYJbeABjHHp5l46djT5Ag3on0Ds7hDFNZmUy /4jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DEliKWJ2Nf/4VrcTakp9wr7ROcwlC93Ik2zHNhOZ4Ws=; b=CbA+4CGk1+ZDf5U6Wt/po450DNjmaQpLV5RMM7pEa7HF0a8Nq58Q5F197Y/9oXp2n2 PzQ7qwhJKDmSY6VX3zIgrtc7eee/1m3a29HICIeCObwnDuBPmGMHjowonVSiWBQxODL3 dELfHPCi8XPiYDbYS7k/rr3Jez2SvkslA2Mmz8OZXlQJCxBdIEZBEmp60wzleDxkKM/y VkCOGxqIVOfZVJZR7leq+rRN6+DIJpuz04QmuejFW9USe8P+rxLJVoU5I4IjgQ1Wh/g0 p2Y7D2Xj23+dvcW+K346PAO1xz2YtLtmHUx3/PatADb6FWlRkBaqaO61rF4OSv5TUtbj OB6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=mF6Owjpo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo6si10848095edb.586.2020.05.26.02.23.58; Tue, 26 May 2020 02:24:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=mF6Owjpo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731805AbgEZJWG (ORCPT + 99 others); Tue, 26 May 2020 05:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728837AbgEZJWF (ORCPT ); Tue, 26 May 2020 05:22:05 -0400 Received: from vultr.net.flygoat.com (vultr.net.flygoat.com [IPv6:2001:19f0:6001:3633:5400:2ff:fe8c:553]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB85C03E97E; Tue, 26 May 2020 02:22:05 -0700 (PDT) Received: from localhost.localdomain (unknown [142.147.94.151]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 5A5C220CF0; Tue, 26 May 2020 09:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1590484923; bh=I46BI7cOgVu3y1OcELr0ljjJTjMQQeMOztYsGts+LgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mF6Owjpoz2JoaDhf357+NWiHhPpiad3mgAU/Y4KDD3KnNznbkfHcu9qIG/nmGAyIS BPI1oOHsC3TBOCSW6p5Qcp6e+bz9WSdvM8N31hGcjfDRs6WOtODJFhkQwufV/qLoS0 E/rsywvKaxEONzbAXDFCDlAm2G1dfWi9Hp1nb2jFdIfvvpyhbSzUDkbLZqIIgLcV9S yTbIj5I0MyCdF0HHwdSQw8VlYnQg87vPHV1XU5VPLU0G3LD+3CELJN9kfotGiY2GW3 yLn16oDAPcxx6RMIr1i4QkTLBVkbYAGD3qY+OU0zLNJlHXo7zOs1/CJ9cvrQHVmzBo LLwiMMcdVXJDA== From: Jiaxun Yang To: linux-pci@vger.kernel.org Cc: Jiaxun Yang , Bjorn Helgaas , Rob Herring , Thomas Bogendoerfer , Huacai Chen , Lorenzo Pieralisi , Paul Burton , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v11 0/5] Loongson Generic PCI v11 Date: Tue, 26 May 2020 17:21:11 +0800 Message-Id: <20200526092130.145550-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> References: <20200427060551.1372591-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v11 fixes a minor style issue in patch 2. Now it have got enough ack, Thomas, cloud you please apply it to mips-next? Thanks. Jiaxun Yang (5): PCI: Don't disable decoding when mmio_always_on is set PCI: Add Loongson PCI Controller support dt-bindings: Document Loongson PCI Host Controller MIPS: DTS: Loongson64: Add PCI Controller Node MIPS: Loongson64: Switch to generic PCI driver .../devicetree/bindings/pci/loongson.yaml | 62 +++++ arch/mips/Kconfig | 1 + arch/mips/boot/dts/loongson/rs780e-pch.dtsi | 12 + arch/mips/loongson64/Makefile | 2 +- arch/mips/loongson64/vbios_quirk.c | 29 ++ arch/mips/pci/Makefile | 1 - arch/mips/pci/fixup-loongson3.c | 71 ----- arch/mips/pci/ops-loongson3.c | 116 -------- drivers/pci/controller/Kconfig | 10 + drivers/pci/controller/Makefile | 1 + drivers/pci/controller/pci-loongson.c | 247 ++++++++++++++++++ drivers/pci/probe.c | 2 +- 12 files changed, 364 insertions(+), 190 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/loongson.yaml create mode 100644 arch/mips/loongson64/vbios_quirk.c delete mode 100644 arch/mips/pci/fixup-loongson3.c delete mode 100644 arch/mips/pci/ops-loongson3.c create mode 100644 drivers/pci/controller/pci-loongson.c -- 2.27.0.rc0