Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3309240pxx; Mon, 2 Nov 2020 05:46:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9u6OJrTfrR2G6oGhQVNQtPUESLbfafpRN8BMKX3Ctn5KZIO/msyvQH3mvfPo7osWIVtHj X-Received: by 2002:a17:906:e2c3:: with SMTP id gr3mr14972187ejb.471.1604324793421; Mon, 02 Nov 2020 05:46:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604324793; cv=none; d=google.com; s=arc-20160816; b=0GvdxYb+1LJOiTvvwRJtRIBiZrZTSrpLYeQzvsW2e8pimiwIJMjH2sUlkQpdFgzKTE lgoVifVj8lLlv/pn6iiJDTgFQRvKOmtNePHj5FmJTzxB29HiFAP4Yut/cg22RtqzDlSt ME7pIqeSYPy2sg6NMpHflS+4txLXTNLQ7JfrpHJaticSKdViIHXsks//lEsMV0GNQ88y E7HSeJ5jmiRSdhuLrve/ORZTvSdxC0gpOIXhNXvBq9UBqr6W9LqsrVEq9OW9EKluwyCd s1TcgkW/KLWKWBFIwSkOKsnFhayz9/g/Tef/MXRqvEmDu3Ldd21Dx07wZInK5ZSKvQGa LduQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=fE52HILFIEUYX8gSPdSyC8jCaH68aUucFwybO+du16k=; b=BuHTNrNtBmXRUcSiGYcQ313pwl7AcByO16QxCkPGkaeWatakLPHXOg1bHvWmFd8wbi 1kixhlS8zrjlgVtO+0pU6eQj/ckqbg8NgVcA44+IfP9N3MwaHWoXFqZlD+i9XZBewnUm Dt1csu8YUhcBkECJeEBmytDmXS4HM8+yTKRXex8o+c7HVYbtjYaODWHex64z0XsrX1v/ PAciUFYBTzlvZbzufSaHkmuA+teGba22V0PFqbIORuqnUc1HFUDidXylzUaQhcfjDSRT bIbpwPYN4b1mUBlS7nP40ecG+liBPzZwr6p8lXSSLcuZPYvllesv/wlqLgPFc7DqzMo0 goCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=T9FfJT1d; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ozO57LCJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si11066578edl.282.2020.11.02.05.46.10; Mon, 02 Nov 2020 05:46:33 -0800 (PST) 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=pass header.i=@cerno.tech header.s=fm1 header.b=T9FfJT1d; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ozO57LCJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725971AbgKBNoX (ORCPT + 99 others); Mon, 2 Nov 2020 08:44:23 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:36801 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbgKBNoX (ORCPT ); Mon, 2 Nov 2020 08:44:23 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9A9B3D30; Mon, 2 Nov 2020 08:44:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 02 Nov 2020 08:44:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=fE52HILFIEUYX8gSPdSyC8jCaH6 8aUucFwybO+du16k=; b=T9FfJT1d/rWjadkKk9V8jydL0dEEJ6WD319p8ZST6R6 SW8jwwxwff/uua1ZzcIBZuxrVpbrmVUPzVQ9wAmZrx8lxec1yGeo12mSAVupHXZ6 T8NbWuADmwMVprT15cTAvKBR6REBuTz6hEkyzapOYs+YDxA5EmIduE+YqQCSRVen ylJ19SPuJNMwrhuLLEnlV1CZXZGQbJmQ2HypKaRcUd7pbza541iSPV+lKtOO8lpX dSUnIgqooyIx0CyrvtYfcuIFwrw8usPOAsK2dyiE4sj0hKNzC7ta8cFK4lRxYOg0 vTAkb0NeuAd52lPnHojoKbhzUZqyfB8WXspnwlW2vFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=fE52HI LFIEUYX8gSPdSyC8jCaH68aUucFwybO+du16k=; b=ozO57LCJBj25oXnBaWDr5n P2JTOi8K8wLlr81WWAVnIeAsdHfGu+cUIeptcB2vzdkx9gKFK2sSYqGbUdqJ5mqv kxUrnHQbEhXopqwZhXSBWsUa2QG1e0eUx33cgZ69m+8JICT2onUBeJB66zDv0HsH mFuOjCCN8CKwLgZy08ElpycMMmw79CbajOm6EWcloS80o/tJpZzS0HEpPDG9Zrls zDChY75vxKDuGjBWne6P9zyyqqUPfGOgZverbpyustbzzSQK1axVTZmYKt6XzHCv 0/6qsnexVE525hIixY0PIiH7WI8DYVZtb75AyEBjpgkzD8yhIQwdJ9XKWKx7DZJw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtuddgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F2A6328005D; Mon, 2 Nov 2020 08:44:20 -0500 (EST) Date: Mon, 2 Nov 2020 14:44:18 +0100 From: Maxime Ripard To: Paul Kocialkowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Chen-Yu Tsai , Matteo Scordino , Icenowy Zheng Subject: Re: [PATCH 6/9] ARM: dts: sun8i-v3s: Add the V3s NMI IRQ controller Message-ID: <20201102134418.vn7i3e4gpwomxcnj@gilmour.lan> References: <20201031182137.1879521-1-contact@paulk.fr> <20201031182137.1879521-7-contact@paulk.fr> <20201102101211.wtkmgfm2rcm5gdyp@gilmour.lan> <20201102102522.GB11809@aptenodytes> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zradx5x6omb6x434" Content-Disposition: inline In-Reply-To: <20201102102522.GB11809@aptenodytes> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zradx5x6omb6x434 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 02, 2020 at 11:25:22AM +0100, Paul Kocialkowski wrote: > Hi, >=20 > On Mon 02 Nov 20, 11:12, Maxime Ripard wrote: > > On Sat, Oct 31, 2020 at 07:21:34PM +0100, Paul Kocialkowski wrote: > > > The V3s/V3 has a NMI interrupt controller, mainly used for the AXP209. > > > Its address follows the sytsem controller block, which was previously > > > incorrectly described as spanning over 0x1000 address bytes. > >=20 > > Is it after, or right in the middle of it? >=20 > That's up for interpretation actually: > - The V3 datasheet mentions that System Control is 0x01C00000 --- 0x01C00= FFF; > - In practice, sunxi_sram.c uses a regmap with max_reg set to 0x30 for the > V3s/H3 so this gives us some room. >=20 > Looking at other SoCs with the same setup (take sun8i-r40 for instance), > system-control is limited to 0x30 and the NMI controller follows it. > In the case of R40, the SRAM controlled is also said to be 4K-long in the > Allwinner docs. >=20 > So all in all, this leads me to believe that the system-controller instan= ce > stops well before 0x1c000d0 on the V3s as well. Otherwise, we should also > make the R40 consistent. That's a bit unfortunate, but yeah, I guess we want to remain consistent he= re. Maxime --zradx5x6omb6x434 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX6ANMgAKCRDj7w1vZxhR xeLVAQCfo9QP+iBi8lib7fzKbLt/6ce/jsOJTm1DL/3gqqV0TAD9HGLPZ0b5HPUl 9Xr7omeEc75bFxlNsDP66SFuUiLCSAM= =hsn7 -----END PGP SIGNATURE----- --zradx5x6omb6x434--