Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp349339ybk; Wed, 20 May 2020 00:58:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4H1TO2vi9HPipsWJoEup0vHq6Y4Ld58QA8bN4nai1xqHWIyBZ8MCeqY+qWs5OM3DK8bX3 X-Received: by 2002:a17:906:2b96:: with SMTP id m22mr2839949ejg.330.1589961533154; Wed, 20 May 2020 00:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589961533; cv=none; d=google.com; s=arc-20160816; b=I83oaB46KSu5R6c176vNXulsdzjO/9DbDc090UuYOA7WXA3sq/iO9pwSi7FDAYesXg RU2KNF8BgD73otam8FS2FqadvXTgY1H1X7+uIYZP2YlYKkIdaScXCvqjVxeRGYF6G2wy b1k3YiHfJeHaT7y/1/SDNwTds1nX6KGFhx2H5vysC7i6ebBZxAKlvtWTSvFR5q+ydV5m KVbWXy1ZgpJvEMspbpwdZ2kz8ASKBkcv3il6QB8ZZHS5deWaRuKNWaZ5LKhiIQ+KR8B2 9KD6BPG7E3iHTqApXL6KAOrX4+3KPB5UdsqIcLgu/086zEPQIvvaqaZPwrZYDbo0vLt1 Wzrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TM96ZHCzhyp+IMhZ6Z75lYPm5gdlMX8BZHHPWt0v1GU=; b=HDtW+H0qLI7Yo+LEEJieLgDK8xNSWqr6U0/2QTHgRPqyDFGfLBLnGPbO0rsbUHlE57 oD6lQMfOvUGL9AgV7P8VV3uieG8CwYImrDVigZlC1HBbHaaEKm+CgCBEFeUAkhIYvoUM pV1i7FIgCOK/L0I+eBe3CUKnErkK0un2Z1DjryhWA3L5K+G4yDOL0iHdJubz8X9yeNAr dM6fUfBl9XuEELJh+6caB2hXVKjpJomC+Sr5QocNVPS60Vf1c0WZjUjuOiL/WLQIPVRs WXo9eRkb/fFQYhvdsG8tFKXuamGGIy72MKkWiKuWf0saRRAkOwuEf4dNDb4tkBY0eSF8 vYAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=Hg+A7Gzg; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u25si1375092ejr.1.2020.05.20.00.58.30; Wed, 20 May 2020 00:58:53 -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=pass header.i=@jms.id.au header.s=google header.b=Hg+A7Gzg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726729AbgETH4u (ORCPT + 99 others); Wed, 20 May 2020 03:56:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgETH4u (ORCPT ); Wed, 20 May 2020 03:56:50 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8543FC061A0E; Wed, 20 May 2020 00:56:49 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id se13so2350236ejb.9; Wed, 20 May 2020 00:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TM96ZHCzhyp+IMhZ6Z75lYPm5gdlMX8BZHHPWt0v1GU=; b=Hg+A7Gzg/Q9IUJWAhYj6TttJDCfB71JAEvU9yzBrmtI6MQ4j9SdaK+8Cb0ueOvShUk ZeILkCdW14a69wCKx8GYO2pKAOx9NQEqQJs6NWj6WfR03GplnDe1ohP9uKBZHbS63JQi RCyeiMvnFFO6wKuundvxgbJVWBLr2u/W6XzSs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TM96ZHCzhyp+IMhZ6Z75lYPm5gdlMX8BZHHPWt0v1GU=; b=Pg8u0cOj574ZZw2JFKtSxzvwpz2WbDFGYqVM8GZztcRpZwx7fWm99IZGlhvNi9kqKq RGUnLSKvbtHMnyNUvmGpQjMD95M4rNXS5QAIHE5/adLYMmVldMPFv9e9SnMBDN7vEJW6 j6ZAVZwueEJC43a42mhr+9FdrOcalcj55yGDyNMrYCLtX4aRKu4XToHEThgnn/T1O607 5MpEe/G0G+hJ3SRYMtMjHBLpD0M1ok9b9FFEes+aFJ9ZlLLEGyh25XNp+eGsrG0CSdpT mnn/R1wX0GXLNAKDTnn41bSWq8lbiQMlKFIDKea4ckDaSYlFZbSfgTYw0gc0abn55k/Q b7HA== X-Gm-Message-State: AOAM531MW/oYe6fYXxFgFrb1qS+ibCMfSazwpN/1A52unTGlNKGa/FAz xpy/2fgHVJ3CTR8tzIhL4kvVqXLZ2QpFQOmhiUc= X-Received: by 2002:a17:906:ce39:: with SMTP id sd25mr2771415ejb.477.1589961408183; Wed, 20 May 2020 00:56:48 -0700 (PDT) MIME-Version: 1.0 References: <20200507091008.1bd38185@canb.auug.org.au> In-Reply-To: From: Joel Stanley Date: Wed, 20 May 2020 07:56:36 +0000 Message-ID: Subject: Re: linux-next: build warning after merge of the aspeed tree To: Rob Herring , Arnd Bergmann Cc: Stephen Rothwell , devicetree , Devicetree Compiler , Linux Next Mailing List , Linux Kernel Mailing List , Manikandan Elumalai , Andrew Jeffery , Vijay Khemka Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 May 2020 at 15:19, Rob Herring wrote: > > On Fri, May 8, 2020 at 1:40 AM Joel Stanley wrote: > > > > On Wed, 6 May 2020 at 23:13, Joel Stanley wrote: > > > > > > Hi Rob, > > > > > > On Wed, 6 May 2020 at 23:10, Stephen Rothwell wrote: > > > > > > > > Hi all, > > > > > > > > After merging the aspeed tree, today's linux-next build (arm > > > > multi_v7_defconfig) produced this warning: > > > > > > Thanks Stephen. > > > > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:126.11-130.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@80/ipmb1@10: I2C bus unit address format error, expected "40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:128.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@80/ipmb1@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:137.11-141.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@100/ipmb3@10: I2C bus unit address format error, expected "40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:139.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@100/ipmb3@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:148.11-152.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@180/ipmb5@10: I2C bus unit address format error, expected "40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:150.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@180/ipmb5@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:159.11-163.4: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@300/ipmb7@10: I2C bus unit address format error, expected "40000010" > > > > arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts:161.3-30: Warning (i2c_bus_reg): /ahb/apb/bus@1e78a000/i2c-bus@300/ipmb7@10:reg: I2C address must be less than 10-bits, got "0x40000010" > > > > > > These are IPMB nodes with the SLAVE_ADDRESS bit set: > > > > > > +&i2c5 { > > > + //Host3 IPMB bus > > > + status = "okay"; > > > + multi-master; > > > + ipmb5@10 { > > > + compatible = "ipmb-dev"; > > > + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; > > > + i2c-protocol; > > > + }; > > > > > > This is a correct entry, so dtc should not warn about it. > > > > I sent a patch for dtc here: > > https://lore.kernel.org/lkml/20200508063904.60162-1-joel@jms.id.au/ > > Patches for dtc need to be against upstream dtc. There's already a > similar patch posted for it which I commented on and never saw a > respin. Can I suggest some instructions in scsripts/dtc explaining that you don't take patches in the kernel tree for this code? I've sent the patch so it applies to the dtc tree. It would be good to see that change propagate over to -next as others have reported this warning. Cheers, Joel