Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp574522ioo; Sat, 21 May 2022 07:29:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVyAkGvp8Q8sKyR+RXguwcI5SOTCr0nUBZxzhEKHRaLnrRmHxnYfffxR5wkoGEiVmnpAzr X-Received: by 2002:a05:6402:5409:b0:42a:a643:4eb8 with SMTP id ev9-20020a056402540900b0042aa6434eb8mr16201538edb.71.1653143384532; Sat, 21 May 2022 07:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653143384; cv=none; d=google.com; s=arc-20160816; b=rXJDk9IWYPPB0Jfok4jKgE3d6X9Fc2Vt8MGbPVYj7T4drPC0f4PJnjBXPCRqBFggNK pEKHAxHAFYd26zpZXE5N8arDJV6LJGODxFalY6j03nugjEYk8nLDrggzhKAUoUIPZH0I aKKGT/MJPVM4nsirSEzuEyMHUhBOGpv4Hop2/ZeysG26K2VkIKU3D8S/4b2shknQ70uB oPEcsozs5eCjsq2O1dFuGOUAwGOA253OBqscloLKv4OBCgaUEyAKBzcu98SIxYefmg7r n36YLtL7/eSz10nRgzrLCLATcyg0zMwZlP71vs2RFm5Y6DZtD9Kz++DdwB9jF9rdAtY3 4/EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kCCz1rMXqvASGt0+8nSWpqnr2BGj26XTAJy5dg5bcuc=; b=XB7+zVrSbNYRBm7vCdASa3WVeNkzDqdSjvd86pIQ8OVTLJzmyShpi+jZsGNe89F9uO d5eNUhfPQs6w+5UvvEJ7ZNDqlWS5v8qfat/m3ohj3a/rpoysQa5aRAP1DEt/RQx4fHLs azgyBCR6MV8NNdClPlhGFaXORbNJxel8eYA701MAoEjnnTZXTviLP/UbuEHYvrYsllu+ dnmHdjkdZ3I4qgwrDlvKA4kP7vmLSLhnXC1c1OJV5bYjttNaT/NjLka9YIFT8Xaorw0W 0v6RBQkc0KpEcVyuXufRn0XGpr5lz3k2yMEsnIQvxIr64DgdEGLTQyaXsW/0ddNRpJd9 SwVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="T6vWMnF/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy12-20020a1709069f0c00b006f4fc3b8b6esi8749324ejc.21.2022.05.21.07.29.18; Sat, 21 May 2022 07:29:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="T6vWMnF/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1346160AbiETHBd (ORCPT + 99 others); Fri, 20 May 2022 03:01:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346146AbiETHAz (ORCPT ); Fri, 20 May 2022 03:00:55 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C16A63D6 for ; Fri, 20 May 2022 00:00:46 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id bq30so12784973lfb.3 for ; Fri, 20 May 2022 00:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=kCCz1rMXqvASGt0+8nSWpqnr2BGj26XTAJy5dg5bcuc=; b=T6vWMnF/d7an2NvWN8T9wfDbjZ0S/C1KGYj28m1VzCYgGY5f1HGix23JczGG13/aiG +5OnaxodASZwGQqEMMDml+eBFiQfV67b56/1yihxw4/SvaPhhSk3ZuVAoAF1/7MBAeQD vnZAGayeo8aihjII7Pk1MoHO8mKyiAQ5DDhR0S6vwhT/ndkWHW47i+/SO9pO3OQ3lIr3 5ZcWbfeTMvfa/thU7pP5mbYkJe38zdfOlWxXJX/IHvYwCdJH9eO9dhCl4IOIxIB4Jn7k 8KupnvWLulymBKOT26GEqd6tiLEVDxUcQi0JY/J/zSsx7jY2WbneJQ0mDzWHyWi1tGl1 erOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kCCz1rMXqvASGt0+8nSWpqnr2BGj26XTAJy5dg5bcuc=; b=6P/81xTU7VBAcYpGqwiXTssbXuMdDpUtC/LCtkKPP1skkXgKnDxD0QfTNgfNpqI2PO Rp2KLFsxSrrUxKuK6h2Wb8ww+tlDAGvnSzToCWdq3feETrWnvCCa+Aym9UhPKmHVttyp 1LneacjK+SLY6vfqFP3HnlXn3Yq8++EOSrhyj4XY05YPTdU2EKouCumeEUn7JnQWSu/5 afAADsn8jObOZEIsu7NU6vOm7GVouyP8iYlhbRNQR8KL4fVYIR8vo4i56G0T+ih6jZLM BhPADDOKkI2z4ArtlRQuSZlfNzk+t6l31Z0Gu49JWnD46oi3Y0758DCG0q9gdA6gG/AH sCtQ== X-Gm-Message-State: AOAM5318Z4m+AWfwmQ2shOobj4kC6gLQYRqivDCiejOM5RG970lDzaeg gl55ptTXI+MQBpcbJz5xJ4BKGg== X-Received: by 2002:a05:6512:12d6:b0:473:b308:ae0e with SMTP id p22-20020a05651212d600b00473b308ae0emr6285355lfg.664.1653030044824; Fri, 20 May 2022 00:00:44 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id f22-20020ac25336000000b0047255d21190sm542661lfh.191.2022.05.20.00.00.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 00:00:44 -0700 (PDT) Message-ID: Date: Fri, 20 May 2022 09:00:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Removal of qcom,board-id and qcom,msm-id Content-Language: en-US To: Dmitry Baryshkov , Stephen Boyd Cc: Andy Gross , Arnd Bergmann , Bjorn Andersson , Olof Johansson , Rob Herring , "devicetree@vger.kernel.org" , linux-arm-msm , Linux Kernel Mailing List References: <35051bec-98ea-b4c5-f734-06b3f22f3562@linaro.org> <8a90ffbc-b376-9115-fb91-0b46d98873b7@linaro.org> <40f29157-52c0-001f-6c14-fb90b351756a@linaro.org> <20220519221227.B66D3C385AA@smtp.kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 20/05/2022 03:39, Dmitry Baryshkov wrote: >> I vaguely recall that the properties had to be extracted during the >> boot.img creation process to create a table of contents header. But >> after some time the bootloader started scanning the DTBs directly for >> the vendor properties and thus the header was deprecated/removed. If the >> bootloader is doing the scanning then I'm not sure what is preventing >> the properties from being documented and allowed. I think the main >> rejection was that the properties were added purely to be extracted >> during post processing and placed into the table of contents header, >> i.e. they weren't actually used by the kernel or the bootloader. If they >> are now used by the bootloader it sounds OK to me if they're kept >> around. > > Yes, as far as I understand, they are used by the bootloader directly. This solves only one part of concern form previous discussions - having entries not used by anything. Kernel still don't use them but some vendor bootloader (not U-boot) does. The second problem with these is still not solved - these duplicate what is already described by compatible. Basically, they do not add any new hardware description, because board or SoC revision should be encoded into the compatible. Imagine now adding such "vendor,device-id" properties to every device node in DTS! Best regards, Krzysztof