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

Re: [PATCH] xen/arm: Handle empty grant table region in find_unallocated_memory()


  • To: Julien Grall <julien@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Thu, 24 Aug 2023 11:17:13 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=xen.org 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
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=sLLpsbOQFVd/b2l1oWdWwqVCSvZFu0aftlLTVCXcmOo=; b=oftdzyIO7QoILhMJucvjT1260S4dMfLJxQvGn8XrPMnxRNzrZYsTrrjcn5KCKQ2NlCm8g/J4aPyAiELkJsR7NJhFPNvdJvVMVwOV/rZE7sNdOGiKFxNeqMm/4W+Ui7jhV0O7CFN046Qa7EbIR8xp4f5HnsbWiT3+Yjtt/KkJMgOarImDYo3OIwL3smUfnbD/JJX2LtL4Uxu62+JXyQvkd6bNWL0/D66GGD+5BZZEpKwOwcE5SHrPRLVqOYFfTzmLLQj/jNPgpwFhrWOlNYj27NID1STwVbNYv0SsVtqlXhRAFWti4Tg6KLB2Al6rV3bUCLAGV5GfMeqkMIliyb37MA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j2XFmTBmzsOAlwZpg1C2Goa6dowNYe16IOMU81KgMZSPu69LVd2NYU/jSngYL3Wc3S7Kz/J6cBaGw9Gbp6ZJVJ4DFkivVQ2TLM+5JEqSNirb93B83Wk6YShliOJhGs6Pq6vf165ClG4IWfvUudiZ++ziLlyiuG7L0eYUJIMlS7qzqKvjB4WQwD8tWJGjfYk6rJltcuy0liDDbnKQ1B6tm/0I9FMc+fU8ZEoL1WC1IiQKalShD2tfZrR6X6ITyRgKPuaSOA823FUyLTLkyHSUMkqgXXu+oqskfUxc8u56TLo9GcGL9hfGM7Pg+HGct5ywqIlZa04V3H+MWc7YZBHqSg==
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 24 Aug 2023 09:17:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Julien,

On 24/08/2023 11:10, Julien Grall wrote:
> 
> 
> Hi,
> 
> On 24/08/2023 10:06, Michal Orzel wrote:
>> When creating dom0 with grant table support disabled in Xen and no IOMMU,
>> the following assert is triggered (debug build):
>> "Assertion 's <= e' failed at common/rangeset.c:189"
> 
> A partial stack trace would have been handy. This help the reader to
> understand how you came to the conclusion that the issue was in
> find_unallocated_memory().
Here you go:
(XEN) Xen call trace:
(XEN)    [<0000020000218568>] rangeset_remove_range+0xbc/0x2cc (PC)
(XEN)    [<00000200002c76bc>] domain_build.c#make_hypervisor_node+0x294/0x7c4 
(LR)
(XEN)    [<00000200002ca240>] domain_build.c#handle_node+0x7ec/0x924
(XEN)    [<00000200002ca7ac>] domain_build.c#construct_dom0+0x434/0x4d8

Can you append this to the commit msg while committing or do you want a respin?

~Michal



 


Rackspace

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