Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp426171rdb; Thu, 18 Jan 2024 07:37:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVd4qrTCQUYTPtst6f7ohyNWW1ukUqE/1SjUV1VDdSDK3EWKwGtnUPNTn0FbdlHUIKlzqs X-Received: by 2002:aa7:d514:0:b0:559:bdf5:82b5 with SMTP id y20-20020aa7d514000000b00559bdf582b5mr641403edq.72.1705592235871; Thu, 18 Jan 2024 07:37:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705592235; cv=pass; d=google.com; s=arc-20160816; b=z75HJCEUvdSEPSFbY5FiSA+wQB0Vkxh2vqAm4c8fgqhNVjOv8132uvRJx2PME5AJo0 6ih1r0MKnSlFDvfc4MGce2uIvSYCuGZDs14G6ppYChGS8E882TIOP8wcCxiUP22AyF7+ y93IfVu4rmTL4ik6mExVHSGLvXglw+sTbfOkNtruhGj33mM2i7Df8VXehQ2axu2gWkn2 1IjhNXojARUA1f1tQnCejYlnugbAJqnI67cbSGtHP2e0IBr56nmaEF42MuObtuVNJiiV 6YKrmcqRvoFBCegc4zItp5A4iR/MTxqBUV1OdhZNVOZv3Ye5XqnKY9pC9HkIX0Rx4pLz /8Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=mUNsFenW2kQSpQ9qdN8ct6BhVd3x1bbOo8FyxyRW/LU=; fh=6sNaFeVgBCHUyWsi5NTDxXoevJ3JedMuc8TKxhfe9jM=; b=Q8LDOLlCiLKMn8LSOym4/WB6vi+7PcT5WHfU2Po3QglHLxCcXAQBC85Ogxrm3ZWQF5 JIF4DG2hqOV6boK9kcHVcFmzV6S/vdcMkQsw0uNIg4Ri8CxgE3lWBbxDp1xtERLRmbTt vNlKBVbPcN7x4QzuYOEa30TUk+M6JtLbH322tqxMHOlbwHNjjZKTNsQhBFR0mrxrXe5A FexqvJWhXeiQCxVvCccglgBbj6XMn7d7jIv5zcDoBAaz3yUERnZDFsBqOU2rBfqI4T0l sQhpO3nHx759ELrv6oEcSdHc7XoiCjF1djMOmrYMpPqRF99jHE1TrXjQ29E43DyDwio1 StIA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-30270-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 9-20020a508749000000b00559048a3c17si5402616edv.197.2024.01.18.07.37.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 07:37:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30270-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-30270-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 22C0A1F2A3D6 for ; Thu, 18 Jan 2024 15:27:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14E2E28DB6; Thu, 18 Jan 2024 15:23:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB4EF28DA4; Thu, 18 Jan 2024 15:23:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591422; cv=none; b=j/7HH/C8nh9vKSZDyxgYAetq1SKbD581DTagUWtwqSqNM7EhYjXA++K87gW5BE1oS9LGjm22+wjTlmJ5VPvqWBDhrvTjbeojP4Bfe5d1SVKeiUfONYbxWPBAS6L5mO6HHAEPxeuzd7xOlAXD5F7E3nhKjyxuTXSLeDUF4dXpQ5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705591422; c=relaxed/simple; bh=icNsLcoeq2o0/4o3AFJv51eCsoCGswIf7Ldk3RqNmPo=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=GebY0/zbm6T27rZdz+kJNB4EJ5G1k9K8VXqjMFbUUoy6a52CftOE0i6dc8pSZIee64MKrB4rIMlRvme/ickUe9iAhb1+0XNOaY0uG/MvcE2T411rs7SjP0cDWP17gcco/67m3rnPp0xJ7Q0Cw+XuYZliq3cw/wZ6PCvKHx19mBc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 42C441042; Thu, 18 Jan 2024 07:24:25 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.28.174]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF5303F73F; Thu, 18 Jan 2024 07:23:35 -0800 (PST) Date: Thu, 18 Jan 2024 15:23:30 +0000 From: Mark Rutland To: Geert Uytterhoeven Cc: Stephen Boyd , Rob Herring , 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 Subject: Re: [PATCH 1/6] arm64: Unconditionally call unflatten_device_tree() Message-ID: References: <20240112200750.4062441-1-sboyd@kernel.org> <20240112200750.4062441-2-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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Jan 16, 2024 at 03:13:42PM +0100, Geert Uytterhoeven wrote: > Hi Mark, > > On Tue, Jan 16, 2024 at 12:51 PM Mark Rutland wrote: > > On Fri, Jan 12, 2024 at 12:07:44PM -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. > > > There's no harm in calling unflatten_device_tree() unconditionally. > > > > For better or worse, that's not true: there are systems the provide both a DTB > > *and* ACPI tables, and we must not consume both at the same time as those can > > clash and cause all sorts of problems. In addition, we don't want people being > > "clever" and describing disparate portions of their system in ACPI and DT. > > We'd get to the latter anyway, when plugging in a USB device where the > circuitry on/behind the USB device is described in DT. I don't understand what you mean there; where is the DT description of the USB device coming from if the DTB hasn't been unflattened? Mark.