All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Smith" <dpsmith@apertussolutions.com>
To: xen-devel@lists.xenproject.org
Cc: "Daniel P. Smith" <dpsmith@apertussolutions.com>,
	jason.andryuk@amd.com, christopher.w.clark@gmail.com,
	stefano.stabellini@amd.com,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>
Subject: [PATCH 04/15] kconfig: introduce option to independently enable libfdt
Date: Sat, 23 Nov 2024 13:20:33 -0500	[thread overview]
Message-ID: <20241123182044.30687-5-dpsmith@apertussolutions.com> (raw)
In-Reply-To: <20241123182044.30687-1-dpsmith@apertussolutions.com>

Currently the inclusion of libfdt is controlled by the CONFIG_HAS_DEVICE_TREE
kconfig flag. This flag also changes behvaior in a few places, such as boot
module processing for XSM. To support the ability to include libfdt without
changing these behaviors, introduce CONFIG_LIB_DEVICE_TREE. The inclusion of
libfdt is then moved under CONFIG_LIB_DEVICE_TREE.

Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
---
 xen/common/Kconfig  | 4 ++++
 xen/common/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 90268d92499a..5c592dbdc703 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -53,8 +53,12 @@ config HAS_ALTERNATIVE
 config HAS_COMPAT
 	bool
 
+config LIB_DEVICE_TREE
+    bool
+
 config HAS_DEVICE_TREE
 	bool
+    select LIB_DEVICE_TREE
 
 config HAS_DIT # Data Independent Timing
 	bool
diff --git a/xen/common/Makefile b/xen/common/Makefile
index b279b09bfb2b..ff1795de5dda 100644
--- a/xen/common/Makefile
+++ b/xen/common/Makefile
@@ -78,7 +78,7 @@ obj-y += sched/
 obj-$(CONFIG_UBSAN) += ubsan/
 
 obj-$(CONFIG_NEEDS_LIBELF) += libelf/
-obj-$(CONFIG_HAS_DEVICE_TREE) += libfdt/
+obj-$(CONFIG_LIB_DEVICE_TREE) += libfdt/
 
 CONF_FILE := $(if $(patsubst /%,,$(KCONFIG_CONFIG)),$(objtree)/)$(KCONFIG_CONFIG)
 $(obj)/config.gz: $(CONF_FILE)
-- 
2.30.2



  parent reply	other threads:[~2024-11-23 18:22 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 18:20 [PATCH 00/15] Hyperlaunch device tree for dom0 Daniel P. Smith
2024-11-23 18:20 ` [PATCH 01/15] x86/boot: introduce boot domain Daniel P. Smith
2024-12-02  9:57   ` Jan Beulich
2024-12-04 19:16     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 02/15] x86/boot: introduce domid field to struct boot_domain Daniel P. Smith
2024-11-23 18:20 ` [PATCH 03/15] x86/boot: add cmdline " Daniel P. Smith
2024-11-25 15:36   ` Jason Andryuk
2024-12-11  2:56     ` Daniel P. Smith
2024-12-02  9:49   ` Jan Beulich
2024-12-11  3:01     ` Daniel P. Smith
2024-11-23 18:20 ` Daniel P. Smith [this message]
2024-11-25 15:42   ` [PATCH 04/15] kconfig: introduce option to independently enable libfdt Jason Andryuk
2024-12-11  3:03     ` Daniel P. Smith
2024-11-26 10:03   ` Jan Beulich
2024-11-26 10:05     ` Jan Beulich
2024-12-11  3:05       ` Daniel P. Smith
2024-12-11  3:04     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 05/15] kconfig: introduce domain builder config option Daniel P. Smith
2024-11-25 17:55   ` Jason Andryuk
2024-12-11  3:13     ` Daniel P. Smith
2024-11-26 10:09   ` Jan Beulich
2024-12-11  3:15     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 06/15] x86/hyperlaunch: introduce the domain builder Daniel P. Smith
2024-11-25 17:52   ` Jason Andryuk
2024-11-25 20:23     ` Jason Andryuk
2024-12-02  9:55     ` Jan Beulich
2024-12-02 15:31       ` Jason Andryuk
2024-12-11 11:14     ` Daniel P. Smith
2024-12-02 10:10   ` Jan Beulich
2024-12-11 12:36     ` Daniel P. Smith
2024-12-12 11:06       ` Jan Beulich
2024-12-12 15:24         ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 07/15] x86/hyperlaunch: initial support for hyperlaunch device tree Daniel P. Smith
2024-11-25 20:11   ` Jason Andryuk
2024-12-11 12:49     ` Daniel P. Smith
2024-12-02 11:37   ` Jan Beulich
2024-12-11 12:55     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 08/15] x86/hyperlaunch: locate dom0 kernel with hyperlaunch Daniel P. Smith
2024-11-25 22:54   ` Jason Andryuk
2024-12-11 14:19     ` Daniel P. Smith
2024-12-02 11:53   ` Jan Beulich
2024-12-11 15:41     ` Daniel P. Smith
2024-12-12 11:25       ` Jan Beulich
2024-11-23 18:20 ` [PATCH 09/15] x86/hyperlaunch: obtain cmdline from device tree Daniel P. Smith
2024-11-25 23:12   ` Jason Andryuk
2024-12-11 15:46     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 10/15] x86/hyperlaunch: locate dom0 initrd with hyperlaunch Daniel P. Smith
2024-11-25 23:34   ` Jason Andryuk
2024-12-11 15:49     ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 11/15] x86/hyperlaunch: add domain id parsing to domain config Daniel P. Smith
2024-11-25 23:45   ` Jason Andryuk
2024-12-02 12:00     ` Jan Beulich
2024-12-11 16:07       ` Daniel P. Smith
2024-12-11 16:06     ` Daniel P. Smith
2024-12-02 12:02   ` Jan Beulich
2024-12-11 16:21     ` Daniel P. Smith
2024-12-19 16:40       ` Daniel P. Smith
2024-11-23 18:20 ` [PATCH 12/15] x86/hyperlaunch: specify dom0 mode with device tree Daniel P. Smith
2024-11-25 23:52   ` Jason Andryuk
2024-12-11 16:24     ` Daniel P. Smith
2024-12-02 12:05   ` Jan Beulich
2024-12-11 16:31     ` Daniel P. Smith
2024-12-02 12:06   ` Jan Beulich
2024-12-11 17:48     ` Daniel P. Smith
2024-12-12 11:31       ` Jan Beulich
2024-11-23 18:20 ` [PATCH 13/15] x86/hyperlaunch: add memory parsing to domain config Daniel P. Smith
2024-11-26  0:03   ` Jason Andryuk
2024-12-11 17:59     ` Daniel P. Smith
2024-12-26 16:16       ` Daniel P. Smith
2024-12-02 12:14   ` Jan Beulich
2024-12-11 18:02     ` Daniel P. Smith
2024-12-12 11:34       ` Jan Beulich
2024-11-23 18:20 ` [PATCH 14/15] x86/hyperlaunch: add max vcpu parsing of hyperlaunch device tree Daniel P. Smith
2024-11-26  0:05   ` Jason Andryuk
2024-12-11 18:05     ` Daniel P. Smith
2024-12-02 12:19   ` Jan Beulich
2024-12-11 19:49     ` Daniel P. Smith
2024-12-12 11:37       ` Jan Beulich
2024-11-23 18:20 ` [PATCH 15/15] x86/hyperlaunch: add capabilities to boot domain Daniel P. Smith
2024-11-26  0:09   ` Jason Andryuk
2024-12-11 19:51     ` Daniel P. Smith
2024-12-02 12:23   ` Jan Beulich
2024-12-11 19:56     ` Daniel P. Smith
2024-12-12 11:40       ` Jan Beulich
2024-11-26  0:11 ` [PATCH 00/15] Hyperlaunch device tree for dom0 Jason Andryuk
2024-12-11 19:57   ` Daniel P. Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241123182044.30687-5-dpsmith@apertussolutions.com \
    --to=dpsmith@apertussolutions.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=christopher.w.clark@gmail.com \
    --cc=jason.andryuk@amd.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=stefano.stabellini@amd.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.