Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp663987rdb; Thu, 22 Feb 2024 16:03:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXSC8Zqtq/yMn59CuN5sCYoRNHM0+iJTAUmlKJ90kC4sj5SWYYkbSVWmmT4pO4eN5nMZC/D/S+TIL8WgiEggtGDjvjNGOl4ply3iHcjkg== X-Google-Smtp-Source: AGHT+IGcEFxScO+85c1jM+iMrTtO0BIZItr3z82ycnPKFcYxcuK0WXR2s1UPXbSHphd/psqD25jN X-Received: by 2002:a05:6a20:e68f:b0:1a0:9117:5892 with SMTP id mz15-20020a056a20e68f00b001a091175892mr566601pzb.15.1708646610932; Thu, 22 Feb 2024 16:03:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708646610; cv=pass; d=google.com; s=arc-20160816; b=dggpefcmwdUDtGoxVhQORwUGjne4LjPzpb+JbZ79OdSaKjrzSechgM9zoJHz65qvPX CBkj/jtTNWBpxYls0jJh9E4iDSdxy3jj1MV4Rm0qq+ahzTvLsKN+wdRJbg2rdWhx3IR3 EO5pJXQBMXIpkaF27TiLI4Ko7FQ6BSMsCHHMow85NMcs+UYz1QjCkWOOxtK7Eh60MD32 xvwXJ/5maNDyanX0j+5M6V2Cz49Ab5EKCL++aeVlQZvoM8ti8ifO9rfrL+rp26tHQj1a FAP6IyQHDX8a2MfxSK8ldIg2k3PcG5r36kddy+CnHOM0Y3M/rRbbCaImLVOaXtZu8zb4 Lyvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ptAOfULggNO+IbVxMprkwBs1rny0N9tVPVvrHf1XTiM=; fh=Y6faPTaF2izDfnEoccqVDuW5JLZ10dHpirISUsjX7W8=; b=FdXcxiE70yXoZAK9nY/znuujK9iR7yWnucaaCVxXebZ5jBmjnuGFIx3bWxvWLYfpbn diSno0fsUjuCIzB+rtXUzBh7m87aomgSTQxOLYI7cqTImZUFI3kk+TJA3Ku7LB2NPMDj bZlX+bq7aTron8fW6BPjyGJCh9FaS8BucmOV5pym9xEM46p9q0u3tvafJGKuCn48ZlA3 /djbppJmM7jeLxkNioxlzFeG/2Y8TVUQ7a2WUxgnKlDcMTdV8XfKkAgsldFRyx24FXUd LEkleQ/GrKgybQIb0IyBVAyKYQ7UDiI01PFOJWPdP7fx1S5D5SQdGN5A+UiIe/xMTumi 6j5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cic+Typd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z11-20020a170902cccb00b001dc693b4070si433962ple.334.2024.02.22.16.03.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 16:03:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cic+Typd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A242F283241 for ; Fri, 23 Feb 2024 00:03:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29FCD801; Fri, 23 Feb 2024 00:03:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cic+Typd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32AC618E; Fri, 23 Feb 2024 00:03:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708646603; cv=none; b=WRaFDp5Is14Rqxdy+I6j5pc3RSCtcU+DVP8M3jn6PwbvW+LMG8Ii0dA/S5MOSFghD217hLA0yOSujKmezBY4guL+m3nBWKlEFa3k6kxvIQOi3wgZgTwwz1/Vaqn9UqFEhz5M5/+FUuxpuw/lrdbMKAK97zd9s69hrgBFR5gq5Og= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708646603; c=relaxed/simple; bh=MoRpThz8BwfGmQI/tdKDwo2lq+nMd+Ual2CCuubziSk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YOEo4pZEbjN4DtV57r3U8HioMfVEOZw+1yTBVG49q6KM+eF2fQv/YvsPYw1WgHWvBCiuHVm7FL2tTtPIgqcfGIOCfeMRqupstFmuTqYXhmH/X+MCDInkJDKojhhu8DEKW0E89V/uzTn2mL29/zcu3pVfgZc7bvNsKFiv6bE65Es= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cic+Typd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02B1BC433C7; Fri, 23 Feb 2024 00:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708646602; bh=MoRpThz8BwfGmQI/tdKDwo2lq+nMd+Ual2CCuubziSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cic+Typd/Jo4A8aZdMWorj3V/IJph/j22l1PdN+nPGCHm4iZfwiLNl65BzABHjIxm Iqz2LIvb4Dg1cGZe3e9wB5lF3jTkEm14dH2k4Vm1W+JG0BS9XVXV7s2LD9qSqiy8l+ 4dX1FShLh+4XcOIf5X6i22kZ0XvVyRQZWMWB923qnu/lMp1brWdCmuGOWMf7J8B1Ic 0g2q737UYikU/jvWOKf8T+ebhFnAtVRYcWrMSHFHx8ZVBTzz20ajVetX/MiCuST/B4 CAJnvBDzwmRczVF9VicJZS48AQ6Q2ib4yJfGeZuq4Q8zEAYpg4QoxfJcdiDMAJmOl4 owPDQU0LZN0Bw== Date: Thu, 22 Feb 2024 17:03:17 -0700 From: Rob Herring To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-um@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, devicetree@vger.kernel.org, Frank Rowand , Catalin Marinas , Will Deacon , Mark Rutland Subject: Re: [PATCH v4 5/7] arm64: Unconditionally call unflatten_device_tree() Message-ID: <20240223000317.GA3835346-robh@kernel.org> References: <20240217010557.2381548-1-sboyd@kernel.org> <20240217010557.2381548-6-sboyd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240217010557.2381548-6-sboyd@kernel.org> On Fri, Feb 16, 2024 at 05:05:54PM -0800, Stephen Boyd wrote: > Call this function unconditionally so that we can populate an empty DTB > on platforms that don't boot with a firmware provided or builtin DTB. > When ACPI is in use, unflatten_device_tree() ignores the > 'initial_boot_params' pointer so the live DT on those systems won't be > whatever that's pointing to. Similarly, when kexec copies the DT data > the previous kernel to the new one on ACPI systems, > of_kexec_alloc_and_setup_fdt() will ignore the live DT (the empty root > one) and copy the 'initial_boot_params' data. > > Cc: Rob Herring > Cc: Frank Rowand > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland > Cc: > Signed-off-by: Stephen Boyd > --- > arch/arm64/kernel/setup.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Catalin, Will, Can I get an ack on this so I can take the series via the DT tree. Rob