Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2476134ybc; Sun, 17 Nov 2019 22:46:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxP0N5R93zJPkdVjRBVdgpYtJISXiKNIWq4NbuMUlKrUMYEHWMcplzVRqzmJM+Bm0SMYgQj X-Received: by 2002:a17:906:d96e:: with SMTP id rp14mr23872011ejb.14.1574059604014; Sun, 17 Nov 2019 22:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574059604; cv=none; d=google.com; s=arc-20160816; b=oejhRvJOenqTPM6X3OXGc+K24Eq5UqnR0gY/KtpTsxaHcI9oJOa1OUvMq8TATFDF1p ic/5AWbFCBh5T1RgIuUjcBAjE0rKJn6jLZOYH2TOLAhNOglqcIHKJtd6+Q0MnNHokg2M 8G8pwErE1mEXoOqoaI2CYs2P8Q1/QCWQI80bAFOLnYVXSL2Zf3YcVxBzrPjUgUjAgrGS oArDnuPZuSZMfgJzQMcBNaO1hJIZXxpGwpNIxlsoWBCillkkwua88Z5ccssiQc0qLfZu zhVd9FAh0ouA9NoVMKS88fsnDnNvgVv6a26/SKhCICJdUujd2kkW36R8qiUSiA032w2b T7Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature; bh=LGjEOc2Uq4EzGAwidJPNPmV2egU1OA5O5b43mdeWJn0=; b=rl6sS+Ev05YiU5/qx57HdFO3XPfAXN6NdRh4G1ZEOfY76BksrmMgH22q2O8ih92kx2 SPsIMJq2tnllrHFvOMPKWiFT++Kz0EYv/nB2HsrUl6KKhItDOUAG1qKE73sU8DzrNLqg ZNiJVfW4qjExIna48LeAfdfGPir3kkZhof5e8/EEDRhua919kKY7U2g36SBjADKaEBsL FTssWKOjENG7E35ArY9gLf7/g5YwMbf2ROyV1h+ApfIrEXu8ZtUECRwMwgDHgD24IuVP zrruQHTlPKZrBGTy5V6Y4jOYDPZnMls80ORQ/7X5YQvYDXZO8HeycRq3Hmu3a8yaKnLr DVeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=ME75umwC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si11427924edv.97.2019.11.17.22.46.19; Sun, 17 Nov 2019 22:46:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=ME75umwC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbfKRGpJ (ORCPT + 99 others); Mon, 18 Nov 2019 01:45:09 -0500 Received: from ozlabs.org ([203.11.71.1]:38589 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726455AbfKRGpJ (ORCPT ); Mon, 18 Nov 2019 01:45:09 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 47Gfb56XwSz9sPj; Mon, 18 Nov 2019 17:45:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1574059506; bh=r7sXskfw+I7WzRaYq+oEFXXykLljQQeZd2JcPodyWDY=; h=Date:From:To:Cc:Subject:From; b=ME75umwCtcE9U0v7gK+Ovx08dSVyw15A1oc1EFNU2fRDjLN5vT1GdM5eBXrGhVNwX 98Zni4YyuScNHqJiqHTiQ5gGG9DybTrvuNK/ppN4KBzPH1H8KLXdawJAT2J1Pl8XC8 2ULYmhnXzoZCMekbvQz9EKZEhp+Ya5LHz383Ive0AeEzvbuC41KZe7CpNKqmfn8WH7 eFWBNNv/hXC4UddClDgdMtdPTrRh0d2HxjTc4QYhEzwdaWKTYWdMdU7AC6Gl/MUTS3 5Exwi52ImU/cjhSh9UZktwby/tcOu0i/pecMa2t6eQmCWHnCqxb2hXfSKzZHK7Q7dq Uom1U34jFYf3A== Date: Mon, 18 Nov 2019 17:45:01 +1100 From: Stephen Rothwell To: Christoph Hellwig , Palmer Dabbelt , Paul Walmsley Cc: Linux Next Mailing List , Linux Kernel Mailing List Subject: linux-next: manual merge of the generic-ioremap tree with the risc-v tree Message-ID: <20191118174501.73050c78@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MmA=ucNM_PbkF5BIz9tamiY"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/MmA=ucNM_PbkF5BIz9tamiY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the generic-ioremap tree got a conflict in: arch/riscv/include/asm/io.h between commit: 0c3ac28931d5 ("riscv: separate MMIO functions into their own header file") from the risc-v tree and commits: d092a8707326 ("arch: rely on asm-generic/io.h for default ioremap_* defin= itions") 38af57825313 ("riscv: use the generic ioremap code") from the generic-ioremap tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. From: Stephen Rothwell Date: Mon, 18 Nov 2019 17:42:04 +1100 Subject: [PATCH] fixup for moved code in riscv Signed-off-by: Stephen Rothwell --- arch/riscv/include/asm/mmio.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/arch/riscv/include/asm/mmio.h b/arch/riscv/include/asm/mmio.h index a297a835e402..a2c809df2733 100644 --- a/arch/riscv/include/asm/mmio.h +++ b/arch/riscv/include/asm/mmio.h @@ -14,20 +14,7 @@ #include #include =20 -#ifdef CONFIG_MMU -void __iomem *ioremap(phys_addr_t offset, unsigned long size); - -/* - * The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we c= an't - * change the properties of memory regions. This should be fixed by the - * upcoming platform spec. - */ -#define ioremap_nocache(addr, size) ioremap((addr), (size)) -#define ioremap_wc(addr, size) ioremap((addr), (size)) -#define ioremap_wt(addr, size) ioremap((addr), (size)) - -void iounmap(volatile void __iomem *addr); -#else +#ifndef CONFIG_MMU #define pgprot_noncached(x) (x) #endif /* CONFIG_MMU */ =20 --=20 2.23.0 --=20 Cheers, Stephen Rothwell --Sig_/MmA=ucNM_PbkF5BIz9tamiY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl3SPe0ACgkQAVBC80lX 0Gzr9gf/U7Q56bk6ZDZgxf3EDieDVYqdkb0vU1MR5brDHbwfgGkgKTWDH3KVpHI0 +i4eJY9PHk2lzecs1x9XunAdLnPKPvCC+jetF/qvlpeU+StzJm+5eK2HT9UaVE5K Zn1vinfNHUYZFDFE+oTRH1WmTPpSiYlADy++VRQW96ql3e8PJlNs0iRl102om1r8 yQYqKWxRppuG9a+w140/obM4jmk63YQQzrKKJoXC723qy9mOTpXjXwy9FRc4ab4b OzllHAaKvX/lEoUmLZQOY+HNOqIBVuYLZ4NQ6E568Azj5u+v82GnM2gvXMLUGpe/ NGmDj6itndtVKmuBe7C8arRTK8i4Ag== =xxUm -----END PGP SIGNATURE----- --Sig_/MmA=ucNM_PbkF5BIz9tamiY--