Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp743166imm; Wed, 25 Jul 2018 05:34:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjSZu+dSYjmhDEBu82QnSf9WVakixRO8GkU6OsUQlqidNmQbDWDZLp6SmLviMBKMe8XJu/ X-Received: by 2002:a17:902:8601:: with SMTP id f1-v6mr20805164plo.196.1532522068593; Wed, 25 Jul 2018 05:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532522068; cv=none; d=google.com; s=arc-20160816; b=AwzoTx1JGUAPCqC9KalUPL33k7Hgt3v9pSai8alGePRfTwbgvVrxGaIUWcDR08qJRu FJ8VPW1kx5HAhgowGtG3WeRlGAMfufUXUI39JYhDwHmrUVx0goojJ+4hsO/YDck4M3x2 sRuJZ/2ryekGnw1Gl/bqkIlnmTNKrWA57I0vxOUHuIq3JCFoj0xdmcMcCRRs2tpiir/j eF+ijstEsgfZZFy7mBUyWP8bqs9c2RYa4CS6q+TPbvY+4Wl5aVLI57TaVL2d2JPF+ASX qDMxE2kJ0jW7e6U5TEqJ8Q1IgeUpRuHqssyshuIQltyQao8big/KrgEJf4zzixkzp45h r4zA== 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:arc-authentication-results; bh=sOnuHCl5OGaFBTaXyyKkNk2RTXfeRx4pDZOCPON2L9I=; b=AqTzSUqksSLJxFMiXPdy+Kplo+r2UeQcyYTerzlyIdnCnNbLD3qbamLvVtzheFes1t KOOhEO7qY+ffkq3cEphEKfUDFkgD7OYEwk5Rals/hWfTBeY5qUPeS5Gkp892hjg6F75+ q1lrawsyJcw3mnyXSKfh6ZSJ7/uXNRUnf40SKgODywXlpMe/wVtD9/ZzlPcHXD8kj0jR tsJ233jKruKjnM+MdqTaFL52hqh+ld0VIWSsyXJ/nERAUaA623if1jL3SJ19xY+a2O07 pCY7/8N+ZHUm6sDjK51EHBOiSO287Ku85fX8j7ytKQQJdyXa/wOHJGeHXM3u1Pxgd5cO bPDQ== 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 x33-v6si12625289plb.512.2018.07.25.05.34.13; Wed, 25 Jul 2018 05:34:28 -0700 (PDT) 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 S1729115AbeGYNnp (ORCPT + 99 others); Wed, 25 Jul 2018 09:43:45 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33764 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728492AbeGYNnp (ORCPT ); Wed, 25 Jul 2018 09:43:45 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 9E0DA20876; Wed, 25 Jul 2018 14:32:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [80.255.6.130]) by mail.bootlin.com (Postfix) with ESMTPSA id 651FA2072F; Wed, 25 Jul 2018 14:32:04 +0200 (CEST) Date: Wed, 25 Jul 2018 14:32:04 +0200 From: Alexandre Belloni To: Quentin Schulz Cc: robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com Subject: Re: [PATCH] MIPS: mscc: ocelot: fix length of memory address space for MIIM Message-ID: <20180725123204.GD3539@piout.net> References: <20180725122132.31187-1-quentin.schulz@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725122132.31187-1-quentin.schulz@bootlin.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/07/2018 14:21:32+0200, Quentin Schulz wrote: > The length of memory address space for MIIM0 is from 0x7107009c to > 0x710700bf included which is 36 bytes long in decimal, or 0x24 bytes in > hexadecimal and not 0x36. > > Fixes: 49b031690abe ("MIPS: mscc: Add switch to ocelot") > > Signed-off-by: Quentin Schulz Acked-by: Alexandre Belloni > --- > arch/mips/boot/dts/mscc/ocelot.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi > index 4f33dbc67348..7096915f26e0 100644 > --- a/arch/mips/boot/dts/mscc/ocelot.dtsi > +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi > @@ -184,7 +184,7 @@ > #address-cells = <1>; > #size-cells = <0>; > compatible = "mscc,ocelot-miim"; > - reg = <0x107009c 0x36>, <0x10700f0 0x8>; > + reg = <0x107009c 0x24>, <0x10700f0 0x8>; > interrupts = <14>; > status = "disabled"; > > -- > 2.14.1 > -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com