Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1658491ioo; Sun, 22 May 2022 23:19:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGiU5xRFy6oeMVaSdDgzV+xmDjzrRIpI7jGU4HIDdeML/LKnRHalqDAgrIzYMsyEi+0BKk X-Received: by 2002:a17:90b:1298:b0:1df:2fb5:be35 with SMTP id fw24-20020a17090b129800b001df2fb5be35mr24572978pjb.198.1653286796475; Sun, 22 May 2022 23:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653286796; cv=none; d=google.com; s=arc-20160816; b=fLix74VhmpbbpNAjIztVcL5Lp6scHq2OIU0nzx9qrh9LVEiiZYufc1MMNHT1+x55l8 W1JI3ZYpoyTUOndK59zVwyhg4iQgbQfxxB7kKRPRpTHxyb5H77uybCaVj1TTCHWdBcYo 26S4XA36ZoNoaZtk56C3qPSO8TZUDFYfcI/jyVnldOsq1S8a2kBGbnCaE/RwtH9cGhw/ 58EMwG3Oo18X0RafyiNKUJI2HuIFTkBizlU99i3TPZeX17mpbN8B0+3KLzhjN0TJY8eb ock0aIKvkA/3t6gXf5ikRSgZMWTaN7d0HdCJEWBZfVA94kGKPRNYAZQxQsiOWqrefOjm mBRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rMSZBpH/H/FacBKevZwHpHrOVAuB9nAU7tsT6+kwvqc=; b=uWEKRTE5ae7g9JaLlZz8mVCsRUyPdkEKLVukaH0BmvAJzcmFjwKD+eVj9HEbCv8t+U q2rBnMlmn/M/0vVgbcGf+dZJpgfsu4I6wanMpSRnWewNyvoXnpT5Ark0TNKoYpELOjp8 ds+xGhABfY1FB7nQxUshZIga8uNAbyrhPxqmmedZ8thgdWzvoE1O0Ne8YqKHMWf0Rx5b 0hjI98Tccy+BUvG+w1cOhFe+nDutyNmfrLPpKFMHYCIgyj3Pcmv06O6pNXr0An7A/6KY O8a/Z/OHBjvvEvJB8DQ6spNPsiXCNhtFt1BVQqzjMHIf4weBYzYBH2uuxnFXDcWs5GqA Oqiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BHhQhEKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l11-20020a654c4b000000b0039db2bfc365si9509452pgr.161.2022.05.22.23.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BHhQhEKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6645743397; Sun, 22 May 2022 23:04:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242729AbiEVKu0 (ORCPT + 99 others); Sun, 22 May 2022 06:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244237AbiEVKuW (ORCPT ); Sun, 22 May 2022 06:50:22 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0EFB3AA53 for ; Sun, 22 May 2022 03:50:20 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id b9so4648160qtx.11 for ; Sun, 22 May 2022 03:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rMSZBpH/H/FacBKevZwHpHrOVAuB9nAU7tsT6+kwvqc=; b=BHhQhEKiqcWHuM0HR89BY+qJPcolFZNLLh03Ka5HN2m7kZu6lydvfwQ6O71CKOeLSk LxBDb+LyT3bIOqKn/d9Lxx2uGj3p+9y/Knl+ZN3xKpSzvo4YLpbX9Msc69gr1jP3SiUV h2AhIENOkR5dOXBQEElaz5rCRPToLw0vwvnBo1XHARudU7ApuJGe5FIeCWxu294giFw/ EZLyANJmErGToQVMeLjKKxIPdmrMY3c9z0xJYFd8N6KnCk6xfdsn560mVwhVa504JPP5 CAiXvWFuZ/9/0fUhNsBulDU4a0hzv7xYMTDwwe5qIzkYqYqCLDPFQo9sE0/EFS8HH06V Z7qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rMSZBpH/H/FacBKevZwHpHrOVAuB9nAU7tsT6+kwvqc=; b=uIi8ZWBTIHJb3o/vw5Jsk3mTDP0fKtShPRhsx7bqemErE67ek26izEIG+GwZXYRI4x f8HkMAe5onGRi+73VjZ5QDCUvJdi0tNsCfbMjwaOtOAsS/CYsaYxn3ploeWgIHSaUOyJ Kp7iRv1a683FNRSjjf8fanJg0wylyV6E223216/M59hmB6ixdGxxm3x3n4gWqGLQ6eTN ZzEM0nA4seG69N4zWnnGej9DPTqrEgeBNbipd33D91qhDQkySz4IJtnVMELwsYkc4uEP GgY4ob/8Z60Hk8k+Yr2bhLnH3DMCLmNm6L6D6hRQGpEqlRCfMyFs2RTQ8ZlMOAhgJgOK eBEA== X-Gm-Message-State: AOAM533kg3DIxcpFprz99Twfl9bwuYu+nQPFZvvTv49WPqjuSvdpkdK4 h7wY2svD1WUTz4zwPzQCneR/s05TQVmHHxKlbGOr3A== X-Received: by 2002:a05:622a:188e:b0:2f3:dc9f:946 with SMTP id v14-20020a05622a188e00b002f3dc9f0946mr13258860qtc.682.1653216619074; Sun, 22 May 2022 03:50:19 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Dmitry Baryshkov Date: Sun, 22 May 2022 13:50:08 +0300 Message-ID: Subject: Re: Removal of qcom,board-id and qcom,msm-id To: Krzysztof Kozlowski , Amit Pundir Cc: Stephen Boyd , Andy Gross , Arnd Bergmann , Bjorn Andersson , Olof Johansson , Rob Herring , "devicetree@vger.kernel.org" , linux-arm-msm , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Adding Amit to the CC list. On Sun, 22 May 2022 at 13:27, Krzysztof Kozlowski wrote: > > 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. > > > > I entirely missed one part - Stephen's patches from 2015 were actually > applied and since 2015 we expect all boards to follow convention: > > compatible = > "qcom,[-][-]-[/][-]" > > The patchset was accepted, although in the thread I do not see "Applied" > message. > > Stephen, > can you or anyone else confirm that the dtbTool Qualcomm uses (and/or > bootloader) are adjusted as well to these new compatibles? > > If yes, we can simply remove board-id and msm-id properties from new > boards, because 7 years was enough to switch to these new tools... Amit, can you please comment on the AOSP image build process and the possibility to drop the board-id/msm-id from the dts files in favour of using the dtbTool. -- With best wishes Dmitry