Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3315615pxb; Tue, 19 Jan 2021 21:14:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0IkRxU1CgLFVAJDP1JOYNStbc0q6frwhI1uFbqgosKie0T8BEJH0gLXKXavpQ0NK/WH7K X-Received: by 2002:a05:6402:5112:: with SMTP id m18mr6119094edd.129.1611119681527; Tue, 19 Jan 2021 21:14:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611119681; cv=none; d=google.com; s=arc-20160816; b=VZO2nVdrNKcjzebfEhLbsiKZKn4sfeKRyLxbtl4VDoIajyNbfJ+QKxgZEXeCtxaWqU aVoKrRiGeXUaC/DLScnS84efybi1rTwodHbfqcGcNWRCii5t/fVwLYwi9TUHsufZFnoc j5dXRaK5XsTdicfpb8x8kayCD6QlBMeLImXHHixenH7y4Vz+tNiMVohH1XwZtQJAPbHe v+4pCl+acWDMwXOJZ3PHeZYIlMbatQKpcIt3CUTASZiPXyU68rN7JiUAnwowStBtBicb EnHLhrI1yvswe5bBKdtvRupZ9dDb0DkDNkdmTSnNaqSE8iMjJ5+Oeza+2gtJOn/kglRT z4bg== 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=Hzg6y4zoFYD+EUAndxjbqw0YNJbPZQFi+C0cZWASRds=; b=gu1ULqj08D+qouwY0Q4NJBv1fODDNGp8uWDugqNodhmbaEAyKlru/hv+mD1gCTp7ve 9xYZ2Rk2A8Td8Sy3t6iCISTQLDhZv3CImU3qZakKvUhFczWTCM/XME3fGCTzI4H8lSpe P4j0kb1Bxj20A1oY1HlZbnu5zex3WC4QbZzHRdXfjeBKd5SrVuAgDpUYjnozDv0bnCaY faNLjK2zLrc0RjCNE2VA9yQUzwm6ddy2LXRLmucv66ywm2PV98HKLPZajLAQKkxVLeWy zBSO2ia+0QkTGvoaISFbzqlzujjJCzmr+Akhi+Vkp+pdhkWl+LhQU67LtUKFayERw9iY dXgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BugPfUCL; 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 f6si363579edq.152.2021.01.19.21.14.18; Tue, 19 Jan 2021 21:14:41 -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=BugPfUCL; 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 S1727773AbhATFKl (ORCPT + 99 others); Wed, 20 Jan 2021 00:10:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730000AbhATFGv (ORCPT ); Wed, 20 Jan 2021 00:06:51 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE4D4C061757 for ; Tue, 19 Jan 2021 21:06:10 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id u11so7569295plg.13 for ; Tue, 19 Jan 2021 21:06:10 -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=Hzg6y4zoFYD+EUAndxjbqw0YNJbPZQFi+C0cZWASRds=; b=BugPfUCLnUl2CU81CWTWpiBV2A2yz92kQdY4tGEddrQkOPkGVQcQ3gWjXKVlUw6lWT eqbT3jEnKOD/8Oxd+1WZHNlWblsehnn1ISaSrPhdV/BwOZotbwaTmye1S4X3WNMoZZVK z6OqUugNbK3fLsD5FAmyXU1bWa4WurbyF96lsi39TV830sUTKbnMbYMMSAYc5DpOuLEr 7E2+km1hzTiO73vhGGv0j/2M+m2J4kiBsTFzpzzkeeSRj/Uv/jfZVD6+OZd+Wp5EtyA5 poNnZUNvY8dl2WKk+FaunZf7hyzasd4uA+1UxmRf1t363ODeepjVJt5CPZQT1hZEH4wG ueIA== 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=Hzg6y4zoFYD+EUAndxjbqw0YNJbPZQFi+C0cZWASRds=; b=GJIP/m2rHEUuw1t/2o4sn+O6GL3ObnWV62PiHDrDvxs8bWgYecZszrD/rwoQcO+fGC m4KK8pe9dm6Hdrg4k0XvfxZMIMow/CjhoCqP+bdCaXMXonujE9Wf4odW84F50/CzxlcW OLrM98Ct0PObaLaYVykUMmQwMISnEDS1/QIkPmBsr6LAB42v4r+RCsIhTAYFxeNNn0lB 0WAVyz0vX8+uBqgm/9H45AJhx98LfO3BOXsSkyh191OiwxfrwbU9QF8x29DdL38GG5tz cvJxZkRo0rQdI06QnFdvdUykgSek8/jL9YmE2vCL9OD88f2y4q9Mx3TlDSSQHFFfrBvd n+fw== X-Gm-Message-State: AOAM532qU2wSwR5TyDILlFuSWpfu6CbGFPV6TOFQ3RkNf3WQvAeou9AI 3DejqBNvmF7S63SgzASqD8ZNGc/CFKn2Pg== X-Received: by 2002:a17:902:728b:b029:de:c843:1d4c with SMTP id d11-20020a170902728bb02900dec8431d4cmr5473202pll.84.1611119170246; Tue, 19 Jan 2021 21:06:10 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id r20sm658333pgb.3.2021.01.19.21.06.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2021 21:06:09 -0800 (PST) Date: Wed, 20 Jan 2021 10:36:06 +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: <20210120050606.b2m4jssh73wexybx@vireshk-i7> References: <1e42183ccafa1afba33b3e79a4e3efd3329fd133.1610095159.git.viresh.kumar@linaro.org> <20210119022154.2338781-1-frowand.list@gmail.com> <20210119080546.dzec3jatsz2662qs@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- viresh