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

Re: [RFC PATCH] xen/kconfig: allow LATE_HWDOM config for ARM


  • To: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Sergiy Kibrik <sergiy_kibrik@xxxxxxxx>
  • Date: Wed, 18 Dec 2024 12:04:07 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • 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=W7gau3jRIy4sC0FretvcCveuZ8q2tedAxLma2rOCacE=; b=P1Uoh4V9+3S1eFGPQsNeApxV0aMbKJk6TSLxF7CM/vM6MkRbv4r8SxjmCkpcu4qKfBBVla1dgZx+vO6xXxxvf578uvmJVaFya65kM+5b5qMWJIfpGuJ3/NohORiYAm1zM6OpPpsRWzO73KWypVThEqFnRE76behKmOeJsAmszpDwLLSyrkc5Z6AzeGCM6o1COTSehElgX8w7FyjHep83X6D8543oQ/L+UvjK5SEqRS35Qu8feZSG0EO09418tW/K1+LjWQY8CYnZlqN8MWalP2+guCFs8c4nBccfhQ6A3ZMrxyKPP+yaDGMga0Ypy7VlvVEYb5RiehqP0zrDAyMxlA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JYVmYhkpyp6+2yUM/UGfy2cvyeUIPLxupayKDb6erxwwcyNxPIgthdOxZhm1Noe2ROJhEUnQXTp8o0EGrH4DTVwRHmvjF/4p7p+QlG7tYr0sRRj6hyK5xowmHaMqNDjfQo71XHEUXmTVPuIm1LYqukVllqT6v5bNip2orCrzGY/+n7+xq4zVCa9ZyCG1BWfJYrq5X/3Lkg6X4GuwmKxcpAGQlHpYXSooQErFRHxTNa7KoV+HpbCiR1iSb506kd8Rs5DjNYw2MlmqwcV8Ix1UE8lZuHp+olSSOJ7sHHGpN154Dluh8/XTW2VF6BPyPgppnuto0uCNSFOoTAimV+lj8w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Julien Grall <julien@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 18 Dec 2024 10:04:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

18.12.24 03:17, Daniel P. Smith:
On 17/12/2024 11:47, Sergiy Kibrik wrote:
Allow to build ARM configuration with support for initializing hardware domain. On ARM it is only possible to start hardware domain in multiboot mode, so dom0less support is required. This is reflected by dependency on DOM0LESS_BOOT
instead of directly depending on ARM config option.


Just to make sure my assumption is correct, you are looking to do a multi-domain construction at boot time, with at least two domains. One of those two domains is the "control domain" and one is the "hardware domain", aka late hwdom except it's not constructed "late".

yes, you're correct


If you want such a configuration, I would highly recommend you first enable setting flask labels via dom0less (assuming it is not there) before lighting this feature up. This is because the dummy/base policy has no support for differentiating between a "control domain" and a "hardware domain". What you really would end up with is two control domains, with one also having control over hardware.


will check this out, thank you for suggestion!

  -Sergiy



 


Rackspace

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