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

Re: [PATCH v4 00/10] Follow-up static shared memory PART I


  • To: Michal Orzel <michal.orzel@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <penny.zheng@xxxxxxx>
  • Date: Mon, 11 Sep 2023 18:04:29 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=amd.com smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.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=0NtjLYmq9vxIWtzkKY7mL+aVtr1lVfNHH2Olef4zjSE=; b=i8trXC72MaA8yiV7yysNht9B/TTT+zCeWbUppdTKZv6UrKg3OaIIO6u2l7KtOVnpJ/0SrxpB8HzTza6fF7snvHm/ewf7oYWj102O+qQEvN/9DLsezdNRNZQ3Bjxtam088/LeEMFKmkvddSupKxeIW2CQ1f4ofTtXzr0Ug6mNTXNpN/Z4PKBDEsThfFWPTwoAcIagAhyPjS0RjGFOEeMxBjGGMRmVO+T+VA2Ij8X2gbV18HCfleMbQhsf+KHRW7M+vj2ra991oAuaJTLSWYiP4k8iNGrpFlu08R0tqWSoxZxsZdvtUxiA+oGvvD3irFLw6N0U84TXVbsPEnF/eO6YMA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cCdNMKes35wKHqd06aMSXnfpvYh/Xl+TXOJmHw3G3uNnY7qhPYLQM8jhu/Ern+I0UbRVpEVksftFQCJX6haOaDliEXCUxYg/5bthLGUaBZkzH3cB3XRtEC1CBmecB/4uGd9w9PdrgvMSfglyGW3zpVVonSOFIy+BCTBWP6m++RCNnhdJ9i3KC0KnUrT45zfY1z9Sc0sNYJVe8puOjfPz1PCzUmeFI4VM9nXYXeyiWWDQem2DZ9U4dP1c5tKc9cHGl7U2ApzdW5BxRc9Wxa3WmUg38+gZ5gx8UmzAgYBgtFFkJrZ+ibKxEexj4fPj4qenxkf/hPHGDBKmri6uWK4Ytw==
  • Cc: <wei.chen@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Mon, 11 Sep 2023 11:00:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true

Hi Michal

On 2023/9/11 17:01, Michal Orzel wrote:
Hi Penny,

On 11/09/2023 06:04, Penny Zheng wrote:


There are some unsolving issues on current 4.17 static shared memory
feature[1], including:
- In order to avoid keeping growing 'membank', having the shared memory
info in separate structures is preferred.
- Missing implementation on having the host address optional in
"xen,shared-mem" property
- Removing static shared memory from extended regions
- Missing reference release on foreign superpage
- Fix duplicated /reserved-memory node on Dom0
- Missing static shm node declaration on guest /memory node
- Missing "xen,offset" feature, which is introduced in Linux DOC[2]

All above objects have been divided into two parts to complete. And this
patch serie is PART I.

Just like I pointed out in the previous revision, there is a gitlab CI failure 
on shared-memory jobs:
https://gitlab.com/xen-project/patchew/xen/-/pipelines/999098293
Did you change the interface that could lead to this (I cannot spot any change 
in the docs refinment) ?
No Xen logs meaning the early boot failure. Please check.


Soooooo sorry. I miss-looked that comment. I found that bug exists in bootfdt.c.
```
diff --git a/xen/arch/arm/bootfdt.c b/xen/arch/arm/bootfdt.c
index 7d86dffd45..290dd27bf4 100644
--- a/xen/arch/arm/bootfdt.c
+++ b/xen/arch/arm/bootfdt.c
@@ -532,6 +532,8 @@ static int __init process_shm_node(const void *fdt, int node,
                            size, tot_size);
                     return -EINVAL;
                 }
+
+                break;
             }
             else if ( paddr_assigned )
             {
```
I accidentally delete a `break;` here, and I will also comment in the related commit and fix in next version!

~Michal



 


Rackspace

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