Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4879724imu; Sat, 1 Dec 2018 05:00:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/XlTaridVn27tN3fpUOsPYxk2mdO9SDD4YUwF++rhHZm/9zPioyIY+4jtojpA1b6B7m33ih X-Received: by 2002:a17:902:9305:: with SMTP id bc5mr573817plb.86.1543669250191; Sat, 01 Dec 2018 05:00:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543669250; cv=none; d=google.com; s=arc-20160816; b=fWUef4SYvYcksiW2WrbFZoBAIFSodfUqx8Cz0MeAFfHXZuc3Oz7k7aN323V5KS9UhO fA+ePEdk/nJOz9FdYNee5pHZSS0UC6ubuobIl2MsAvu3tcMilqRj9/1NpNT32h4ttlmd qyX7ZLGc2Lbnd/+kxWh9KahgK73FviVToWbSAhxt7b4mxf/NcmVP3Z2FNR6gqlBwk2YO 3btHxnromOKLusHuw5BnpTcFsPNf+iXIqd/iB6ihGQySEJ31AFBWmThAWzV0YMRCWKdR JOQGlJue1diw5b0IZpqdR2O6pHuP1Hhm37N3Imc1ZCYr5aHuATM2vDe2WnGBBQUMvCea jIGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1AsEfYYtlwa7t/u0NC2Hzu2kN1SM+NwX8KlJixEg6ik=; b=hZn5Jgqja0HxSCzxoHomCO6C+yGE0G/Q6FYfeG5tMnCRs1bSgL7CaQ+aA+VnMSG6G+ VG/PHj/0ET5WciPcVtdSBG1Sl/ZOveuKtrTaZPCHNrgrXI8yKFyvnNydXYE6FlOqbAy4 +6aoIQffM7XrCAFoXWKnyMsOt2WBr07/i6Nm8ABb8cwsMs+B8Ku8bSOC9xQKrdfuRPJs r2VSrPQ28hsGU0TBdYIagv7SWvJ02DayU7jPGuX6qVuBa6ibp4fVILhSr5cuSv0oSCgm iGM29I6ZqKVMQrBk8QCtnZx3E3DbsAdAOf1wBIa7Ncuf4Gyn5NdncSJecFUaHItZWuBE PM9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 q5si7690678pgk.46.2018.12.01.05.00.33; Sat, 01 Dec 2018 05:00:50 -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; 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 S1726778AbeLBAMQ (ORCPT + 99 others); Sat, 1 Dec 2018 19:12:16 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53386 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbeLBAMP (ORCPT ); Sat, 1 Dec 2018 19:12:15 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id F0FB680A44; Sat, 1 Dec 2018 13:59:41 +0100 (CET) Date: Sat, 1 Dec 2018 13:59:44 +0100 From: Pavel Machek To: Lubomir Rintel Cc: arm@kernel.org, Olof Johansson , Arnd Bergmann , Eric Miao , Haojian Zhuang , Russell King , Robert Jarzmik , James Cameron , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 12/20] irqchip/mmp: do not use of_address_to_resource() to get mux regs Message-ID: <20181201125944.GA31631@amd> References: <20181128175324.163202-1-lkundrak@v3.sk> <20181128175324.163202-13-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <20181128175324.163202-13-lkundrak@v3.sk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2018-11-28 18:53:16, Lubomir Rintel wrote: > The "regs" property of the "mrvl,mmp2-mux-intc" devices are silly. They > are offsets from intc's base, not addresses on the parent bus. At this > point it probably can't be fixed. >=20 > On an OLPC XO-1.75 machine, the muxes are children of the intc, not the > axi bus, and thus of_address_to_resource() won't work. We should treat > the values as mere integers as opposed to bus addresses. >=20 > Signed-off-by: Lubomir Rintel Comment in the code and big warning in the dts description would be nice. Otherwise... Acked-by: Pavel Machek --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwChcAACgkQMOfwapXb+vIGRwCgkt68puXV/4p6zD7n8y890wZg 8wAAmgKzZcVWDKewWnNEyBCLolJhBNC4 =QRyg -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--