Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3355923pxb; Tue, 19 Jan 2021 22:42:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeF/5VXgFyPeYFpS88VFu+Wg/he8lXG3dm3XQMYcKha2OKLsw5BbZ5NH6zXwmmac/SemQv X-Received: by 2002:a17:906:5585:: with SMTP id y5mr875827ejp.486.1611124972659; Tue, 19 Jan 2021 22:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611124972; cv=none; d=google.com; s=arc-20160816; b=Etcx0abM0v93dvo7x6SGh2ITVPnMKIDwe6MJUwGo32QTpf1IX9m8SLvcklRZGgZJR/ mBnAP4s6RGdPeQjArECTczKkqYoFlQu99OENKQTvbmN5tRDk/zzAPeU1zHwLVmjBjYXF ol1JJTC3xDelzheY9+isuedkQIBy86Mzqs+MsSQOOkBqzqa3avHv90lBU6cO44okB2JB CB9zCh5QHRXdW7osNtN3lS20Buosa9Ebb57yB9e9pWAci3oFVf7Fu4HEmct4TvDbLE5W nvNd90cK4vGi92DgqnTy7TnpyN1a9FKPs/4J1VfCin9YSpdLM7B2mAkEMleRvrhvr0If GBsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=s6C+mbhedQCP+zudi5mxquluGRK7D+VGS5SgYthRSds=; b=pMyFTnzedi8V4CbI7WTTC1LlrBPSPZFCLezstn8cb+d0ZPOvIZQWmqwEOf5dxLh7lb 0df8RG72CCr65wSE3ISJR0mvkIxg/1xlteGPCy4mgBQBbJleS2np9yDul7kqIRnd16eT +zb2Ezl5BqLePJQo5p1lEmy0oMusvpXlcsZdg7Qvh5/+l/0wckHPP/4KA/sEYQ+Ef+2G 7yIK5JlDmprwTluy3kXhpm98m/k0qY5P1QCtUfufWdC90Ey1yL10kwrwCl/0pmTY4+7L 0MNDZ9C152gRy19XvUgoEKx+Y3JY9zCUeQ3oKDbCUpPA1w0GtclKSA2z2pmsK/IOU7MM qaCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WgYhoD8y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc5si379934ejb.193.2021.01.19.22.42.28; Tue, 19 Jan 2021 22:42:52 -0800 (PST) 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=@linaro.org header.s=google header.b=WgYhoD8y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729735AbhATG1o (ORCPT + 99 others); Wed, 20 Jan 2021 01:27:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728982AbhATGVK (ORCPT ); Wed, 20 Jan 2021 01:21:10 -0500 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B140C0613CF for ; Tue, 19 Jan 2021 22:20:23 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id m6so13863339pfm.6 for ; Tue, 19 Jan 2021 22:20:23 -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=s6C+mbhedQCP+zudi5mxquluGRK7D+VGS5SgYthRSds=; b=WgYhoD8yxocJ85iXXmVyCBnc24BrEivMRF1Tb8iCP7Uda5K63BkrHdCjTqppP/WbCA zI2onxF6t3pfa2MTQMPIVzMcCtPfE3zhIoEdsNh5CWE8uECvpKXRewnhVQnjT7B/+mwk rIU0TpWE/YqQyWwzP/xTAmTQRTndEF+vK/v0ymWR/DQtzwqz9XzYQICA11Y70fBgYS+l 8g8JeQeEjmtg0veHXZRqAuTosQUaByNm8iLNxxIn4YXf5Ps8YsIvk+TJNdwOqyW5so8p LyYZrYiF4x0MdQx0tl35ZBr1N4mKau2k/l4ae+N57NAJzrysiCr1uENk7QPQI+WgPqLd O5RA== 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=s6C+mbhedQCP+zudi5mxquluGRK7D+VGS5SgYthRSds=; b=k96Ql19odd+v9viiMAGvPcTU1eWBhzaQNWQAF/AzrFONyyPvcnpOjXH1qCpQ2pGYns QwgQMmjNwb4GVgNroT44s2cnBlFXgFEaOphylrC11T1AlrZ9VgtFI4VV5NvVMIdvXALs CdXHHzWnmz+5wPOmGunDKdF/mQdtO1rntpfKZYYy8T71TmJu2I3dcFURPFPDMaCfHLBG 2+VHQuF0d6+tMRMbKbgW+HeoCZ3Qr1UHTSLkOWp5bATZfz4vCdHmLLOzg+lXEHwqFm/F Z7cvvyw8l5Delcp27kuJiHhRKQJl3AjZPejDH+45WCXBGhmwWzSDince8nCenph2PlO3 JIvg== X-Gm-Message-State: AOAM530I7gs9qH5OPjp0sOVcgYZEROUfciTQWZHzgvHqC/deiSlvlLha 6Z/QZ2X8tb1Y5KbEEyw0IqHuPQ== X-Received: by 2002:a65:458e:: with SMTP id o14mr7834909pgq.444.1611123622455; Tue, 19 Jan 2021 22:20:22 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id n8sm1015976pjo.18.2021.01.19.22.20.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2021 22:20:21 -0800 (PST) Date: Wed, 20 Jan 2021 11:50:19 +0530 From: Viresh Kumar To: Frank Rowand Cc: Rob Herring , pantelis.antoniou@konsulko.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Vincent Guittot , Bill Mills , anmar.oueja@linaro.org, Masahiro Yamada Subject: Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay Message-ID: <20210120062019.itpakykj2ah5oxp3@vireshk-i7> References: <1e42183ccafa1afba33b3e79a4e3efd3329fd133.1610095159.git.viresh.kumar@linaro.org> <20210119022154.2338781-1-frowand.list@gmail.com> <20210119080546.dzec3jatsz2662qs@vireshk-i7> <20210120050606.b2m4jssh73wexybx@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120050606.b2m4jssh73wexybx@vireshk-i7> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-01-21, 10:36, Viresh Kumar wrote: > On 19-01-21, 09:44, Frank Rowand wrote: > > No. overlay_base.dts is intentionally compiled into a base FDT, not > > an overlay. Unittest intentionally unflattens this FDT in early boot, > > in association with unflattening the system FDT. One key intent > > behind this is to use the same memory allocation method that is > > used for the system FDT. > > > > Do not try to convert overlay_base.dts into an overlay. > > Okay, but why does it have /plugin/; specified in it then ? > > And shouldn't we create two separate dtb-s now, static_test.dtb and > static_overlay_test.dtb ? As fdtoverlay will not be able to merge it with > testcase.dtb anyway. > > Or maybe we can create another file static_overlay.dts (like testcases.dts) > which can include both testcases.dts and overlay_base.dts, and then we can > create static_test.dtb out of it ? That won't impact the runtime tests at all. Hmm, I noticed just now that you have kept overlay.dtb out of the build, probably we should then drop overlay_base.dtb as well ? -- viresh