Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2624778ybh; Fri, 24 Jul 2020 18:48:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyRWnqHwxsDFBidhrHFwcDAfJPHg8f9UcNsP5r+8isMiMgPjq1IHat+sfS3q2fM7LVWS1Q X-Received: by 2002:a17:906:c083:: with SMTP id f3mr11270912ejz.530.1595641705439; Fri, 24 Jul 2020 18:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595641705; cv=none; d=google.com; s=arc-20160816; b=MZ+sgSjH/gWXsEreqiofIjnukhnpdZNsjLLeGA955EzRbUq3PQJb5EOBvh+YQKnYLz OKopsFgu3drEkKHyupPEyeRXOSJzQoPm5mhAuy1rzbnoVz/1n/YGakbplZQNBkj20Tik 36j99cbLkf5BeihiSZIqCMlsBrOp3NcvqZkqUUcgvrbP5L1Wc8LO9bx8RfG+6WDEDACC 1FvjQTtqaZAC/xHpH7W5GuA8hD3HCXvcoX2DIAbEJ572OnJWrLPUN9N4euDVCdX80Fyc wUYO86KFCWGWyiCu2DoRLO/sAvf+I7tAW6hcHRYokvaX6amrtjDuFdQRXRXKE1GJyUg0 WFag== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1OZhF0lPEIp1x9IElmIIZeigrXqEImiysjqY3EpeqCw=; b=COjpxba3a1jMVbbdg307nmzoUmMu+CLgZ1dr6mh2a5sNp/nIp9gHYtkkpamoEIEkrZ edmVliHkQUtjcvbilKwSnxnytpFa66yG1HDcza1xETm/Vb+8tPEFt6YTr2knG2K0w9q/ +ZRZEPEUottTc6ofsTJKofTm+tLm+ke2jjhv5oqY9zXgvYFGdHIveoDLfrGDD+oJ6ql6 UrUb49FGCG8eylJtp3r+1EcS8+nmnPFmkfGSUDn6SWmUUHb4CoDnoVToJULpKtV7rUGw 3bJBMCLSz/5QAdDL1a+yOq+AZbcbGksXKZIZtpiq+bxB2vo6j6Ykuet1w/Fk1IV1KIke NDng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=OH5xh1gO; 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 j5si1549200edk.83.2020.07.24.18.48.02; Fri, 24 Jul 2020 18:48:25 -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=OH5xh1gO; 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 S1727019AbgGYBpo (ORCPT + 99 others); Fri, 24 Jul 2020 21:45:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726777AbgGYBpo (ORCPT ); Fri, 24 Jul 2020 21:45:44 -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 44C32C0619D3; Fri, 24 Jul 2020 18:45:44 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 80E1A1FEB5; Sat, 25 Jul 2020 01:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1595641541; bh=Muz2PBVuH9A6ao4K97AbsMazl1wb9FoYWWWK9At/vvk=; h=From:To:Cc:Subject:Date:From; b=OH5xh1gOv4u+kZXVQktiYRMMYH3AnIRLvb1IX4K31E1LqNaNwy/1tYuxV30nuc9kv I5C+UJn3i4dI08OHy0uJrIWryFNcTN/jhWoaGby61BJ1qTV15Bc+cI6g+Y2wuak8fp bTEznDKJBUnnEaKhqGBo0VsjOP1TSlO71177B8hqlFDoS5BttPIZrBap1pvmabqLfC iTXuSs57L9hJ71cVc5E3x7mqJEQ9tN5gcnTITUM0QNaOwEwN0Hh8kc/l0KQ5tVBGGT pCU5ncBOd9X8PzaJSVMeuJeODm05k9gIec2HuSQmy+zsqcKvvrCmkoMmsoWOTfLWr1 cZxa42cQXnocg== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Rob Herring , Thomas Bogendoerfer , Huacai Chen , Frank Rowand , Paul Burton , Arnd Bergmann , Nick Desaulniers , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/5] MIPS: Loongson64: Process ISA Node in DeviceTree Date: Sat, 25 Jul 2020 09:45:14 +0800 Message-Id: <20200725014529.1143208-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.28.0.rc1 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 Hi, This series convert reservation of Loongson64 Logic PIO into DeviceTree based method. It can be used to replace Huacai's "MIPS: Loongson64: Reserve legacy MMIO space according to bridge type". Thanks. v2: - Address Rob and Huacai's review comments. v3: - Address Rob, Thomas's review comments. Jiaxun Yang (5): of_address: Add bus type match for pci ranges parser MIPS: Loongson64: Process ISA Node in DeviceTree MIPS: Loongson64: Enlarge IO_SPACE_LIMIT MIPS: Loongson64: DTS: Fix ISA range for RS780E PCH MIPS: Loongson64: Add ISA node for LS7A PCH arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 ++ arch/mips/boot/dts/loongson/rs780e-pch.dtsi | 2 +- arch/mips/include/asm/io.h | 2 - arch/mips/include/asm/mach-generic/spaces.h | 4 + .../mips/include/asm/mach-loongson64/spaces.h | 3 +- arch/mips/loongson64/init.c | 87 +++++++++++++------ drivers/of/address.c | 29 ++++--- include/linux/of_address.h | 4 + 8 files changed, 96 insertions(+), 42 deletions(-) -- 2.28.0.rc1