Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3907277ybl; Tue, 21 Jan 2020 09:12:28 -0800 (PST) X-Google-Smtp-Source: APXvYqwiHZ7FZooKjeGI5iGAqIIYMDqMyCvzzSTpG/+PneXty9XKsZUJJvmD/ywraWCiw6Ix42xf X-Received: by 2002:a05:6808:8e5:: with SMTP id d5mr3613112oic.154.1579626748610; Tue, 21 Jan 2020 09:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579626748; cv=none; d=google.com; s=arc-20160816; b=PIQn8O5/Zi5WQh2DR2CiexC6Y5uZAjxg/Wq1PqKkCm33oMyWoRbpWHPd+P+sZZzQjH QMmszSjUXmDkzm/krgqVSxKjgrJgNob0Hg5fpCwxfhDcdeknaEPax5LdSqngQXPBl2Jy nzwwtEXY03qClBInbtLmbB8RaKqS+YUMaf/XXQTq7Q4LqD91aXcy+GtWMBQ9QyPIUkDZ ad49LwS+iDfMXsciWMZxue02b9GuQNe3eikPnUX/HpGfjOcOvJacgAAB8w13Mn/61oGj 7PFotsPtyWrz7pUQrdHQ4hSw0EbR+9GwVUNH5ldxk1JSgmVk+ctH1puYABTL8HjImkOE B0Ow== 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:dkim-signature; bh=ZGs+4DUJDSvBqJ//fVqMbttGqRoxAKV0f+ErvAbm5L8=; b=hAElUGuXlMTAl4kkvnxFT5o6a/pQpbQGRIUQticgyi1r9qIgKOk/M5esMVTDPvYWdt emj6cwd5H3jGJ4zKKOoz3mJHH1Ya8cfzJzW4UmSedUCgj4uRI7ZL3cDPtW5W4LPaMcUE v1LTTpnBXjXTg1X87VXO73rO3SYebJ3lv6+Y3y9iVzJpnLcmBdizl68rHdr50r3lh+Kh WWATrgESgEn8bDSBFfrHUNcj1dzG54DOCD7sKV6iO+n/+7ZGWmcWkZEypGPRpYzbNAI8 S5aRpZq/4KfWC03ET7ZOF6e3COSk2bM8Kx8vhJ1jg6/YymGuupALFdZa9beaet34RF99 +jWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EBsH58uX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c79si20338039oig.208.2020.01.21.09.12.15; Tue, 21 Jan 2020 09:12:28 -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; dkim=pass header.i=@linaro.org header.s=google header.b=EBsH58uX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729127AbgAURLN (ORCPT + 99 others); Tue, 21 Jan 2020 12:11:13 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34938 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728829AbgAURLN (ORCPT ); Tue, 21 Jan 2020 12:11:13 -0500 Received: by mail-wr1-f68.google.com with SMTP id g17so4144201wro.2 for ; Tue, 21 Jan 2020 09:11:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZGs+4DUJDSvBqJ//fVqMbttGqRoxAKV0f+ErvAbm5L8=; b=EBsH58uX53UDW9/nRW8udKKKe06jKEr+n8gx6G9QSL2/NkKdjeoB1bVKUP6O/x3ouq cTuUJxlAHY5gB1+bQaH0jRnZtsfVFtunbtbfIspa/qvNnhkdCnLlq/zmIMUQN05k1DDG q+2M++veTbrYCoMSPp8GUjGatjIR2yq4peoPTH1U3X1y5nbegNcANqKY37WwRQM90+6M xu2TVvJo6hrsAneOloOPEw01LAQk3lB+2RXhKTeZmVGrV5j7dNi+GjcilaACOkvK+ac9 SheTyjSLBZEoulkJdX9aGjip+T9fcLoaOtpf1XiEsfb9T0+56H8sqtuUxEdhNfUO8TmB kACQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZGs+4DUJDSvBqJ//fVqMbttGqRoxAKV0f+ErvAbm5L8=; b=mP/k8L0ARQ+fgo8c2CbhTe97R4C6cya7Zm6Kl3FLXMJuQgwA7uGjiOhISI6OAxYFFv SXh7TmoiAsJYH/5B4QExNRwmDzWLZUUlC++b0QcGEVvaRhtvGy3OvtETT0uZDLSsI4Ix RLY4idhPnB7wD4RNwD5isW4siuocHqR/Lc6UJfnk+m+0jDS/EMAS7xGfItUu6yogPiO/ GCZqdtpFUaw+Tq9iuBcsUQOSVoX3rLW/WiAZhpa+T9YLrWw5xtpbvBiQNkrlTiebsdJX UDUVCy+DXvOWqDl8cs2orPfu1s8lqoLQkFqqt/Jm6bJP6gnmmMe9uCMFSkHR5+qK9TbQ mRiQ== X-Gm-Message-State: APjAAAVifl8weU9e9Fz4TLaWBqULe8Oml6OEb8RC4ogYYTTAIvZswUB9 /PUctPD86WAKW4UkBnhywc5uyA== X-Received: by 2002:a5d:5491:: with SMTP id h17mr6324330wrv.374.1579626671678; Tue, 21 Jan 2020 09:11:11 -0800 (PST) Received: from cheddar.halon.org.uk (cheddar.halon.org.uk. [93.93.131.118]) by smtp.gmail.com with ESMTPSA id z83sm33634wmg.2.2020.01.21.09.11.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Jan 2020 09:11:11 -0800 (PST) Received: from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim 4.89) (envelope-from ) id 1itx3W-000263-Qo; Tue, 21 Jan 2020 17:11:10 +0000 Received: from steve by tack.einval.org with local (Exim 4.92) (envelope-from ) id 1itx3I-0001fB-Ld; Tue, 21 Jan 2020 17:10:56 +0000 Date: Tue, 21 Jan 2020 17:10:56 +0000 From: Steve McIntyre To: Frank Rowand Cc: Alexandre Torgue , robh+dt@kernel.org, Masahiro Yamada , Michal Marek , david@gibson.dropbear.id.au, sjg@chromium.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, devicetree-compiler@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 0/3] Add device tree build information Message-ID: <20200121171048.GF6796@tack.einval.com> References: <20200113181625.3130-1-alexandre.torgue@st.com> <233e0a5f-d38f-908c-5ca7-66ee87d0fcae@st.com> <7cfd0bc0-13fd-98ea-9bfd-6cfbbfd77b6d@gmail.com> <220e3aea-b273-417a-69c9-059236c888af@st.com> <20200120182837.GO3697@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-attached: none User-Agent: Mutt/1.10.1 (2018-07-13) X-wibble: sender_address steve.mcintyre@linaro.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Adding lakml to the CC list ] On Mon, Jan 20, 2020 at 09:20:55PM -0600, Frank Rowand wrote: >On 1/20/20 12:28 PM, Steve McIntyre wrote: >> On Mon, Jan 20, 2020 at 10:14:22AM -0600, Frank Rowand wrote: >>> On 1/20/20 4:56 AM, Alexandre Torgue wrote: >>> >>> Here is an example of the info from one of my builds: >>> >>> From Linux 5.5.0-rc2-dirty by frowand the Mon Jan 20 09:50:58 CST 2020. >>> >>> The information 'Linux 5.5.0-rc2-dirty' is precisely what was most objected >>> to in my proposal. >> >> ACK. :-( I'm surprised to see so much push-back on what looks like a >> simple piece of information here. > >Me too. So, looking at the comments back on the old thread... Alexandre is proposing somthing slightly different here: a patch to add a simple string to allow for a description of where the DTB came from. The particular example he uses here fills in build details from the Linux repo, but it could just as easily be filled in as part of a U-Boot build, or the build of a DTB included with EDK2, or whatever other firmware might include it. It might be useful to also add similar debug output into U-Boot, or for that matter any other DT-using project. As Rob says later, it's simply information for humans to help identify where a DTB came from. Nothing more. >> I've had users *specifically* asking for this kind of identification >> so that they can verify the version of the DTB they're using at >> runtime. Right now it can be a guessing game, which does not help >> people trying to debug problems. > >If the information was reported as debug information via pr_debug(), >would that work for your use case? Or would the users' kernels >not have debug enabled in the configuration? Quite possibly not - I'm not 100% sure to be honest. :-/ -- Steve McIntyre steve.mcintyre@linaro.org Linaro.org | Open source software for ARM SoCs