Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp863902rdb; Fri, 23 Feb 2024 02:24:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUoEK2nW8Y4oFkT7Jt1G+NMOS4fzFdojmQLkG+tCn4Wd/CCCS8WiomlTzGzNag11nhoOXBxzL2vfRmveeWi6yq7+N90Fo6/RswWN1nKtA== X-Google-Smtp-Source: AGHT+IFP0XfY4ExMOkUAQObAPoSDkmzQVDC0CXLIXEZoUSxXX2KGgjR5BXqKLX4MjNKs4GhJWdRP X-Received: by 2002:a17:906:fac5:b0:a3e:50ac:c5c9 with SMTP id lu5-20020a170906fac500b00a3e50acc5c9mr984030ejb.72.1708683841241; Fri, 23 Feb 2024 02:24:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708683841; cv=pass; d=google.com; s=arc-20160816; b=XwUEbMXrAhSQsC133lBZs5nAntPhN1kNaCNrhwBRKuNNbE58cqpbYoCq8479+MkUUm 8Utd/jQiRI9P/nLZumuwUa6PErZMqxKS1LZ3OY+IpH2kFA9dwfpfOANZCUco4nQCEbDf Yui53PUmJLsNNPDj9POoAR9OXPnK3slaBhTN4wMkSaNKMimr6EMAx7Uq+PVr8cL7k3zQ RPkRLdcyXZ85S6REzF4wVy6O92L6cUfogzf4Ki8V0EkpJkvXK04PtMEw5lsS7gGrj+ka 5+ozantRybKU/dyvQtQq6ZYelzb26x204/ozV1jdJBSmIZOGNCkGg3DmAvq7HHAQ7byZ WczA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=GGQwoUedCg6SDZwo1edcNmRqrJZx6k4MPaiQZLBrczA=; fh=clNbJDAeCO+w72JulW7A8r4KkivEckpIyAFwZ5fJxls=; b=QxekRF/kpmP0Q90kyukvSJmxcaszoN/NFeLDpLyHsLZZsbcL4pjxymFHTkprgzw5vt 2tcElRxMRq/rlTGF7yxxgsJmifUH8AVEW4s0MRCkYtbsT5l5ePgK/yMGEEPpiPq08bSJ 0+vna+idOkmrPF4dOq3NFUiQzXrsnMon1U86U4dhFwO+RHBG8BTph0z/vrZDTfCGRMrR WaB5fmSbDlEO2FqqePZSFRE9VPSXI1WROy7seto7foyf7v4bqjLbY83f2hm01C5oznu4 lt1O11uPo/PASjqFarUYh5AkJipWbNSOc6S6tlGOipkG8WhkhSzA0n0Q8ZyUNtgcKnyJ 4Maw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hbubaLcQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u12-20020a170906124c00b00a3e36bcb156si5510274eja.114.2024.02.23.02.24.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:24:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hbubaLcQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78118-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 00F5F1F24E77 for ; Fri, 23 Feb 2024 10:24:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D12805D467; Fri, 23 Feb 2024 10:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hbubaLcQ" 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 E8B705C8FC; Fri, 23 Feb 2024 10:23:51 +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=1708683832; cv=none; b=lrOcMasv8xiWth/l8KfrBMt4XgAq2bPvZlMpDq4WRMiH3B6s/Q7DYTa1eJ53UzCpPznIxtCsHeVgDcyJsC8o5IIj0T3Mp2PNwNRg/JPymEE48dBBZibLh7UmpxnyxrW2cbjWL6mgtSxB+jRDtJxPvpHnro6Lb2zKdRmGmJJQSOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708683832; c=relaxed/simple; bh=POfdF2ZcozXmc94NwYnJXw5bpLHLF02/HCONX/hP5F0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=onZCautQVr1puDV9zTA+lVj3gi6v0TZMrg/KKF6zMIVkR94Epl0ICYe9Z9J6gH9Zwq9zLaFKiDNkU4/8/ct5t0djBuBhVFWaW5MMzzrR7fy1uU3R8f9aHgOwZ2gBNUJoIPUDIVL9ZqsX/sNYhVHUPgeAYg7JIQJdaiYRRlcv3Dg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hbubaLcQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FD81C43390; Fri, 23 Feb 2024 10:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708683831; bh=POfdF2ZcozXmc94NwYnJXw5bpLHLF02/HCONX/hP5F0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hbubaLcQoaLHfcbIAVPWfexu6j5RRj/AGj/NMVXOc/9b0VdmsSZOcrzf7L6EeL8M0 6HkSzwrO1awO6Lc72BAtPx2c7mvsqGYRp+l9ILMHDvNVkEH9+jTf78oycSXiotHnNz We2l0WXMP9CJWjNAP+Qn0JiOxpl8FPQkfwUVpVexEn1UVGkxUZNqmmBMS+fA1MSzK+ d22/rT0z8/5f2Cc3TSxCjMjQDdtonOZAOtaDUWZ04DLlq/eDvwflAGBeI/EhXhvhV/ tnxOpVp+CqZU0GSmAW0hWWada3Te5lm0y2nBTbC171yGJIA/YW01mIrCeLW2KEDNvO K393QH8TJpxig== Date: Fri, 23 Feb 2024 10:23:45 +0000 From: Will Deacon To: Rob Herring Cc: Stephen Boyd , 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 , Mark Rutland Subject: Re: [PATCH v4 5/7] arm64: Unconditionally call unflatten_device_tree() Message-ID: <20240223102345.GA10274@willie-the-truck> References: <20240217010557.2381548-1-sboyd@kernel.org> <20240217010557.2381548-6-sboyd@kernel.org> <20240223000317.GA3835346-robh@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: <20240223000317.GA3835346-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) On Thu, Feb 22, 2024 at 05:03:17PM -0700, Rob Herring wrote: > 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. Mark had strong pretty strong objections to this in version one: https://lore.kernel.org/all/ZaZtbU9hre3YhZam@FVFF77S0Q05N/ and this patch looks the same now as it did then. Did something else change? Will