Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3009558rdb; Wed, 15 Nov 2023 18:39:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCNGEfxavGtz+YDbQHH0omaZA3G4rN+U80xrhX5fkHeEY2zsJsqLS4kpgWcGUg8xDVgbuc X-Received: by 2002:a05:6358:914:b0:168:eded:d6c9 with SMTP id r20-20020a056358091400b00168ededd6c9mr8508324rwi.29.1700102368737; Wed, 15 Nov 2023 18:39:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700102368; cv=none; d=google.com; s=arc-20160816; b=ATyyawk/ZMTFXkKLwDEktZfBzwm8uJFSoTmT6/w2PfO4AcSjK8xMBAt28WdADWNKmK jo1zqxnDp13/25fRM2uFSDU5HisAmY/QDS3x/gRndO0lSv4vGuPEVUMZNo6NWL+d1EXT /Utx+JtUV2UjBcaqe/s+Kmf49dNgcCnQsyNRXfPuqJGC6BnH3LShi/83Jr1nuM31rhK6 //Qbt29Hoa8CpFafbgKghHtmd9vHKNNiuAkRFyD5eD+h0kWTdOBItDHtRpMG5Rz6Tjuk nTtuPMZoZ/TiCJi8hSVXgGGSlpj40FC7DKp0g+L6MJixB+FeBZ33S7hafIUTE+KXOXAn F3pg== 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; bh=4q1q7lhezpq/0nWCFgR7MsiQUEeQlSbd2dM5jhV/qog=; fh=TROyAMJjE9UXb8i44U/zbmAZ6Ctwem/2ZP4MD0X8Iro=; b=VA4kRN6PdDgbzdnDRel9h20wN/jCsmM0oEShwl8Qwy9D+m4/fKSTUXA8E2AWB4JCkE 1I4MLhEALTgHFjDfJQRzFspVmlR/gITQb+D2NM/79z+PB20ETHc0C8NIzCC9F4LPwNFx YZYSfkW8Klp9sHIUXs0es3xB2eX4JFXyKxi/QbRaOWO4he1kmiCi/M//xZZAAj5fC/z4 SWNLG+fozUoLvuadj4GlG8mH/0KzWKsaxXNkrSCyyLuK/GxCrhveAyemZUeC6/Mb/8KC i0XaeGyw7VD1fDRSYljvR5fSDq855dry2dKTnIz3ElaLfbnXCo1uJQ3V7klyHlvLKUVj qezA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=Ncnoulht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 21-20020a630b15000000b005b7c45c8acasi10830449pgl.238.2023.11.15.18.39.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 18:39:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=Ncnoulht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 72975811F938; Wed, 15 Nov 2023 18:39:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344286AbjKPCj2 (ORCPT + 99 others); Wed, 15 Nov 2023 21:39:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233593AbjKPCj1 (ORCPT ); Wed, 15 Nov 2023 21:39:27 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F05D199; Wed, 15 Nov 2023 18:39:23 -0800 (PST) Received: from hatter.bewilderbeest.net (unknown [IPv6:2602:61:7e5d:5300::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id C667442AF; Wed, 15 Nov 2023 18:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1700102363; bh=4q1q7lhezpq/0nWCFgR7MsiQUEeQlSbd2dM5jhV/qog=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NcnoulhtqbhUn5EZOFj7D+/JbKkpUwqvwcZxEHvD6aC/mZ341nKINT4OE0Eixip+T xZZNg47oC1rErtlZogQ5oequAzUi4qRH86nRuOsULxM+SxfE/sAaz6W88cBOxU9qzN iWBacofijjfo1Idm+DA2u1CNr2a6U9pT77cZ0KlA= Date: Wed, 15 Nov 2023 18:39:21 -0800 From: Zev Weiss To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH 2/2] ARM: dts: aspeed: Add ASRock E3C256D4I BMC Message-ID: <1e1c1493-d3f5-4c96-b85f-158d720b2ab5@hatter.bewilderbeest.net> References: <20231114112722.28506-4-zev@bewilderbeest.net> <20231114112722.28506-6-zev@bewilderbeest.net> <863a0fe2-c258-47d9-8563-6f12bb55b4ad@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <863a0fe2-c258-47d9-8563-6f12bb55b4ad@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 15 Nov 2023 18:39:27 -0800 (PST) On Wed, Nov 15, 2023 at 04:13:29AM PST, Krzysztof Kozlowski wrote: >On 14/11/2023 23:37, Zev Weiss wrote: > >> >>>> + }; >>>> + >>>> + memory@80000000 { >>>> + reg = <0x80000000 0x20000000>; >>>> + }; >>>> + >>>> + leds { >>>> + compatible = "gpio-leds"; >>>> + >>>> + heartbeat { >>> >>> It does not look like you tested the DTS against bindings. Please run >>> `make dtbs_check W=1` (see >>> Documentation/devicetree/bindings/writing-schema.rst or >>> https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ >>> for instructions). > >The node names are clearly wrong and you got output. It's easy to spot >if your patch worked in the first place: > > fatal error: dt-bindings/watchdog/aspeed-wdt.h: No such file or directory > The patch series was based on Linus's tree at the time I sent it; that file was added in commit 9931be2cfca3 ("dt-bindings: watchdog: aspeed-wdt: Add aspeed,reset-mask property"), which was included in the 6.7-rc1 tag, FWIW. After some debugging I discovered that the reason I wasn't getting any output from dtbs_check was that I had neglected to specify ARCH=arm when invoking it, and when that defaulted to x86 it silently did a whole bunch of nothing. It might be nice if something emitted some sort of warning when invoked with nonsensical parameters (especially if I've explicitly specified a dtstree=... argument pointing to arch/arm/...), but oh well. After re-running it with ARCH=arm, it produced a fairly voluminous spew of output, though after combing through it all as best I can tell only one or two lines of it actually pertain to the .dts in question itself (the vast majority being from a .dtsi it #includes). I've fixed the one remaining issue it reported (missing #address-cells and #size-cells on the FRU eeprom node) and will post a v2 in the next few days (and likewise on the spc621d8hm3 series). Zev