[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 00/12] Hyperlaunch device tree for dom0


  • To: <dmkhn@xxxxxxxxx>
  • From: Alejandro Vallejo <agarciav@xxxxxxx>
  • Date: Fri, 25 Apr 2025 12:58:01 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=proton.me smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VKOD5KjaEapNHz+btHLAnTl7OoP46BCObWtszpMDcDI=; b=J16JRk2c5fIiLdAZENGfQJ89Xd+niZ6iXhjcpKKhKDvMDWBwNYZ4U4bUFEykX3J9xvK9mhmb8CAShq+/KKiQWPF2FE8Fh3gIQ9UZ8GUhpe11ak4Hak3TVR0iprEQ52rChp7qDQp0Dr6OBGQTWUk/fa8jx3u69aa91bJMmGB7OeYI00KGTR7KP73gR9wLdGl7IzFd5e+FfBxp0ors+OYF9ogOrmefF1kWhBChNRIY9eD1n2neRbGgcilpXH6H+gFzymZJSQciFaNJJ44nMrdTF33XXiU0UNp3a147glV6phivtYe9kOXFm63967vR5KPM+XeAHcxNtfefpDyJk0jZvg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HgttrMIyk4rQX77V/i4jOaFmIHVC5r9ugw043Hkie2W1b6+aVCDMiaohWCiIFVYruFhk8NdDCdkySmX3JXyrp2ipJ3r+CrRap4AQVjiCGHkEC/+i2EuxkMPQ2GdDfC2I5hXx9JmRdYF27+JWIeWL91onmzUlcV/CF8Jtk69D1B7oC+N6ToyhWTgEi0RR6Hh1vYoR9Zq/u0V08pZDU53eomgfFF+0Op+XvhW3YvBJGvXtD6LKkr2QOu4uEZCc5dOU2ppe66N9SH693j7EPOG1InMAmeRbSZKWMHlkVzGt7BWuwam48HDicxq9Kzvzz2JPDs86M10jgVM3QUKnzoSvVw==
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Bertrand Marquis" <bertrand.marquis@xxxxxxx>
  • Delivery-date: Fri, 25 Apr 2025 11:58:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu Apr 24, 2025 at 11:19 PM BST, dmkhn wrote:
> On Thu, Apr 24, 2025 at 05:10:10PM +0100, Alejandro Vallejo wrote:
>> Hi,
>> 
>> v4: 
>> https://lore.kernel.org/xen-devel/20250417124844.11143-1-agarciav@xxxxxxx/
>> v3: 
>> https://lore.kernel.org/xen-devel/20250408160802.49870-1-agarciav@xxxxxxx/
>> v2: 
>> https://lore.kernel.org/xen-devel/20241226165740.29812-1-dpsmith@xxxxxxxxxxxxxxxxxxxx/
>> v1: 
>> https://lore.kernel.org/xen-devel/20241123182044.30687-1-dpsmith@xxxxxxxxxxxxxxxxxxxx/
>> 
>> ========= Original cover letter:
>> 
>> The Hyperlaunch device tree for dom0 series is the second split out for the
>> introduction of the Hyperlaunch domain builder logic. These changes focus on
>> introducing the ability to express a domain configuration that is then used 
>> to
>> populate the struct boot_domain structure for dom0. This ability to express a
>> domain configuration provides the next step towards a general domain builder.
>> 
>> The splitting of Hyperlaunch into a set of series are twofold, to reduce the
>> effort in reviewing a much larger series, and to reduce the effort in 
>> handling
>> the knock-on effects to the construction logic from requested review changes.
>> 
>> 
>> 
>> Alejandro Vallejo (1):
>>   x86/hyperlaunch: Add helpers to locate multiboot modules
>> 
>> Daniel P. Smith (11):
>>   kconfig: introduce domain builder config options
>>   common/hyperlaunch: introduce the domain builder
>>   x86/hyperlaunch: initial support for hyperlaunch device tree
>>   x86/hyperlaunch: locate dom0 kernel with hyperlaunch
>>   x86/hyperlaunch: obtain cmdline from device tree
>>   x86/hyperlaunch: locate dom0 initrd with hyperlaunch
>>   x86/hyperlaunch: add domain id parsing to domain config
>>   x86/hyperlaunch: specify dom0 mode with device tree
>>   x86/hyperlaunch: add memory parsing to domain config
>>   x86/hyperlaunch: add max vcpu parsing of hyperlaunch device tree
>>   x86/hyperlaunch: add capabilities to boot domain
>
> One general comment w.r.t. naming notation in:
>
>     xen/common/domain-builder/fdt.c
>     xen/common/domain-builder/fdt.h
>
> Sorry, overlooked that earlier.
>
> What do you think about using fdt_<something> notation for all functions in
> fdt.{c,h}?
>
> For example:
>
>     s/detect_fdt_kind/fdt_detect_hyperlauch_node/
                                         ^       
                                         kind?
>
>     s/find_hyperlaunch_node/fdt_find_hyperlauch_node/
>
>     s/walk_hyperlaunch_fdt/fdt_walk_hyperlauch_node/
>
>     s/process_domain_node/fdt_process_hyperlauch_node/
                                         ^
                                         domain?

Assuming the two nits above are mistakes on copy-paste, it sounds
reasonable. I'll wait for some acks on the rest and resend with those
adjustments if needed.

>
> Other than that:
>
> Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx>
>
> for the series.

Thanks a lot!

Cheers,
Alejandro



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.