Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1851610rdb; Tue, 20 Feb 2024 08:47:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPsfm7S+SAAu1wFu67FOVVlHNDUYdisQbznnFa+JABErOgKaWEy+/zODs7Zrf8hgcSc/RdVNr9ePB+JTfmCqhTdb5/RBqFNlJscQBsJg== X-Google-Smtp-Source: AGHT+IF0kk/M6S71D5Lm7T3TYPIYInu+el+2pTeVXBY+zg0pdzPEQimooI91ezV9fGSZdrjCuEj+ X-Received: by 2002:a05:6402:38a:b0:563:dd8f:996d with SMTP id o10-20020a056402038a00b00563dd8f996dmr8723805edv.9.1708447661693; Tue, 20 Feb 2024 08:47:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708447661; cv=pass; d=google.com; s=arc-20160816; b=0b5VcTKRTfVapoQ9BJvJaslkxmTCjCPy4rP2WcWln879n6mkBktC4NFOfuFP5EHCNp +f9w353tLKxqK9e2T1k9DZsv2NhLZrKkRa14vD/5NgCk+SINP39U2jCFqpCo3fkC1eAR 1JuWDbp/GI5DRS6IwxGZcDQ1NmuAWVh65stlG2AGJlJJVRqGdeb6BOhuQqefNNZ6pSrO Eok9DlszCyf6CvSDDpvQR6vsxZvURGDz4iy37ilXWlq7yiywz93BE5V/WSGDnlULreTb BpNVNDUshTLZej+Vq1UDySlNqfdZKMWcxClamOPApWADWReIdaOjgB2ZkCwFd3OsYMSY SzVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:in-reply-to:autocrypt:date:cc :to:from:subject:message-id:dkim-signature; bh=TitDu4JpmfZ/7qJEMmaVqAn8MfJADFnxYX4kpsqvnXw=; fh=nzKkzVKnTgZsRBIiBHj2bmQLpdOLVjQDdCR53NYzZDs=; b=m1d6BFf8/GmNnGVvzvgJw22DE2Ayz86QnaIEn/fsLG7QSw9HMKKPCvv7RSf2ykrlQ/ A4hedx5+7af6U1usLRBSf26uk55o2X+WyX7tfD8ueRbjB95NY31QXo298QOaZvt+Rcsb pX8WJiVogB4wK/Y/aiLRZxdVWyMI+D8zdfJ8dq7QOjBotspUFZN7Ic0UptoTPyXW3n9b 3WcJFXHdsLQMfjHDimCFgTFm0qCbqb5Dl+qysjSCIcbuLgHGB7fw8/wcNadRXKI6/lxT WKE/LH/Ql4JMM01LBjLFmBD0ep/I/zUByyZ9wdDRONKBw58ttoFA1D5LUSpmW+q6tdHY bvVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=O0sWNxW1; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-73378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73378-linux.lists.archive=gmail.com@vger.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 u29-20020a50c05d000000b005643f112246si2830315edd.391.2024.02.20.08.47.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 08:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73378-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=@qq.com header.s=s201512 header.b=O0sWNxW1; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-73378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73378-linux.lists.archive=gmail.com@vger.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 47A121F228C1 for ; Tue, 20 Feb 2024 16:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F28447641C; Tue, 20 Feb 2024 16:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="O0sWNxW1" Received: from out162-62-58-216.mail.qq.com (out162-62-58-216.mail.qq.com [162.62.58.216]) (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 7F8A11C2E for ; Tue, 20 Feb 2024 16:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.62.58.216 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708447654; cv=none; b=ld69WxNl3ikRR3JTYEtAhEe/OoADlk3YoRCPUJwSRIT7EEwcSF6I/jQC9vpbHuZqUWStoV1NVKn7GMl6ttoV/5pozfSl/NDXHNK43sANgSH+2so9BJ1U3I/+Am1tZtkdiSpGF8iox7/+Oira+lr1QNnv5rtin5q2qysf5/wPs7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708447654; c=relaxed/simple; bh=0LvKmIUPRwuEz2jcAlq3CEY89/fdd3p2FZgDkP/mBns=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:Content-Type: MIME-Version; b=kyEP61JMtEsCY46rVUBFl+ruzFkOui9hkzuyUBUVCvRWXr4XwdaG3YOFBVL4jF8cEvcZUVdKVxeSvclTGlMzUDz8H3u9L8nDdq2ma94yRv2rAkcDZf0xCdfRRgOotx9UvUZUVpWPcdAAIz5KAPtrhlI/Krlg3ghig9ibeojCU1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name; spf=none smtp.mailfrom=cyyself.name; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=O0sWNxW1; arc=none smtp.client-ip=162.62.58.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=cyyself.name DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1708447648; bh=TitDu4JpmfZ/7qJEMmaVqAn8MfJADFnxYX4kpsqvnXw=; h=Subject:From:To:Cc:Date:In-Reply-To; b=O0sWNxW1sXUIvA6RbP+oR2swrCtItVgFU3YR+hiWNN9bfv58PEACg0AkRTa2GuQCS U0l8lcGCZbbmdwb2JnquNO8tbUfMiElUFNxzW7DsYZmWFrtvnzw57cMHN+WtaSKxEt 1wyxyT5ie/+9pYptP9x7We6d6kahMciRi5kg8LWE= Received: from [127.0.0.1] ([240e:379:2240:ef00:159c:db93:bdcd:c9c6]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id A518FE8B; Wed, 21 Feb 2024 00:41:17 +0800 X-QQ-mid: xmsmtpt1708447277tqq4blv6y Message-ID: X-QQ-XMAILINFO: NT7rUiK9Nffhy1f6HcbcLGUOFpezRBbWF4DLXrsJcDtiA+XeeIC1o7O6EzHiEj XwV+V7GjQpQyV1mq2dor7lr3PP95OOOcvKW+nYzMc8GK7eXYG+xY0V9EQsb5qz7zwGsn8rER1evB r3N0ecr8TO/JtZHk/PP83MKe52IQqNuy/wZfH1ylv2+8DfWwnOTwFHYfrEUjn9tRu2Ol3c6E20BP jgz3q6jm0m5DxvSFibxehLXEPSMZRB7F8fNEN4yf5v1nyUBbQDjsgcQGMKSpzco/HPibi+ej/nU8 KND5/WxWCCtA2IMYgGwmKjcSExqRnfI26gTUyeinVXbgFVkTQ8C6VGcVPSuC3VaAaEyqk+52Lu5M FeHbacBZqzXj5k1XdNoFJ1v3LA0mZ9uhO5vJ2ugWduvQ/ItQhdabaV6jGdgmkkeTFDxTWaMQa4v7 X2M7V59Ph2rREQCDIbXd2s4C7GlBA6yI66ZcsUocqQhfRk0kYVZJxaQc/tKsHpa0kKbYCOIIrhjM GDQyXb8pWym1N2UaZMJwUUCqLGrQgxfmTRAZZv+GDn12gNfMwANYNS/MG78rra3avMAh888nS95A l2VZyrZJOD3/x92dyjxQLC1kmnaQhLOGmxsuFmulFflWZj90QHC7jOvHifaSBsJ94f2F24LmTI4e wRJMGQoZinqwseNSkKFn5YJsVuAKEuQq2b3VckWseaqGT0vcCAIQEnWag2kZEnpyi2indqvmXMvN xl00rlA1HtWY5j7P1jW8uw69PHgDfDJWGuk/UzELCmi+NfGdaWxLcNFtPcvqWse8DujKMpQ+w1g5 ohyslCy9ci9RvPs5A6PCovJgW8prz0iH5CHbB0rlGIXA4j8U6H/HGcDTnaCMZc61f+/OMq5yBJAd 8bwLJ+63i8KILQt0YYxliYFbH+rCKzETps+mE7SERlINtTQMZTEefX4UuM/XObnkCrp9eY9d9X+s wN7eoQlW4x82VMxc3Z/sBBn5V6Ov1daYNih8LWjC5XcmjVkWwf9ChiLKr1uG2QK5O17aJeA79CMA LpOptLrmP/Rujlnn2X6ZMwNsM2Nvw= X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk= X-OQ-MSGID: Subject: Re: Question about BUILTIN_DTB support in RISCV From: Yangyu Chen To: masahiroy@kernel.org Cc: alex@ghiti.fr, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, conor@kernel.org Date: Wed, 21 Feb 2024 00:41:17 +0800 Autocrypt: addr=cyy@cyyself.name; prefer-encrypt=mutual; keydata=mQINBGUyQ6QBEACcszBmKyM/YNftBlIJSgi5/pQVPIJKtWhPLm3xvckfx0eIY4Qq0eVFPrW5mTCWohWEopUmXewd9mpXv1Q9DPxdhesf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K+KedJiQdfioO7ls+Sv48btLDIDiuc9fHp++CSAIpFeVURy3/xNsUBCRUG/lwLTuqILZjyYWISWDoWF4DD9XdP/uNGczJm3mo4rB7PPoCWC1MbjPWOSyDuf8JfbdV5+4O7jMXfZjdCeLRQhjsIUjvXk5qTPYdFNwvvnsUro2gKoeMijPkvSbuR8xCB2vwnfzYfmjb7z1JLya7DSrYdAZpZXFXGEcGsDRB1FJ5H8KLmNFTAT3eBmbdsrCxsdjC83zWpgpJA7fS5Cr94ae3MH9SHdj9eVKwwwhBu0dys7HQN2GS/fPAcZoy6hEuiHUAipoRaONI2YAzs8qkmA8unW0pIHwggi9z+TuG+WOZjw3ijbbS9PpM3uw5zFYqPzkyPRALPyklZO4naXC4kjQdZRSeNF7pbf4qgvIZtgdZONY09xwm5PSTJxblXaBjeGhhCpF+uPbXHOa4daV9y67EnSFeN3IwcO6JSc8AGzutKR 0mslfht1JyMf5dUi38RQI/fOO0 In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Same problem here. I review the code in the current mainline kernel. On arch/riscv/kernel/head.S:297: ```asm #ifdef CONFIG_BUILTIN_DTB la a0, __dtb_start XIP_FIXUP_OFFSET a0 #else mv a0, a1 #endif /* CONFIG_BUILTIN_DTB */ call setup_vm ``` Then, function `void __init setup_vm(uintptr_t dtb_pa)` will take this dtb address from a0, and consume the dtb_pa as the only one dtb to set dtb_early_va and dtb_early_pa. It will never change. Then, the `parse_dtb` function which will be called from start_kernel- >setup_arch->parse_dtb will only use dtb_early_va. I think there is something that might need to be changed. As CONFIG_BUILTIN_DTB depends on NONPORTABLE, we might need a config like BUILTIN_DTB_NAME / BUILTIN_DTB_SOURCE to specify what dtb to be linked to the kernel as loongarch / sh / xtensa does. Currently, we have only ARCH_CANAAN_K210_DTB_SOURCE to select when building the K210 kernel. Things to do is to make this configuration more general and let it be set on all riscv rather than k210 only currently. Thanks, Yangyu Chen