[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/5] xen/arm: map static memory on demand
- To: Hari Limaye <hari.limaye@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Ayan Kumar Halder <ayankuma@xxxxxxx>
- Date: Mon, 4 Aug 2025 14:05:15 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com 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=AyqMbx6RF2QMM1kzIOwOrAYT/PCGV3nj+5TDqGDxkGU=; b=ZcQ5kiDc7Z4hsFXf4xy4WjcDOJ1aQLfs+hSq7DbiKfNKbv662s6BTZQC+fG7USPvqST0gOmjdP07l7b4DiLEo0WaHfKDkAUvlu3dVAdZYb8IIf98LnnG8P/u6XhoIv+NtNREyIVE1PCHmn/ZPJHRCyyDNYbrvu5Ug9LxFH0o5O4FbM/fldjypYxOMZ9P4c4FwhiiSXYSeCs5tuc4Y2JU3PzYDcrnKkraC/AnYwgFbNB+f3heYHcmRofggdHh+5EFAJlSRqQJP4Ts8UPKiRp1AWqobvv6aZiPcNT6rI1cl66J+v1rFaiHs64yaw3H431e4HQUqUpkguHVDYWoUzgUFg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jt/+4CkBqZq9PfAvX4KmEU8ADTPulrtVm9w4B60fXn+5SmMYFg+9py1iD3+NqolwWgb+FNdqS9hiu65LJDsuopT1Q9dGgnJmkaErlPnmWktsnmZ6/Y6xiaw6ZocZSB+N/ofac8x4GqLS3DF2YonL7HHES+2GadvLhCPTL6egXBPIY+ZSlw+QuYsCgOeXLAzO0kkvqbR6mfTXcm6JIdt/vTXAUnaNgaWV9R0nEdIL1WtjNBRmFlyzZPHXrNfMSWjiyFV4p2C7ZHpGecCwx6sqw6aOS63Fxy7Sc3Z1XuM8CJfzNDsyb/VSql+w2HyrTL8VwAkEvvtvAQlvjAh9LjHrdA==
- Cc: <luca.fancellu@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, "Bertrand Marquis" <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>
- Delivery-date: Mon, 04 Aug 2025 13:05:28 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Hari,
On 30/07/2025 09:45, Hari Limaye wrote:
CAUTION: This message has originated from an External Source. Please use proper
judgment and caution when opening attachments, clicking links, or responding to
this email.
From: Penny Zheng <Penny.Zheng@xxxxxxx>
In the function `init_staticmem_pages` we need to have mapped static
memory banks for initialization. Unlike on an MMU system, we cannot map
the entire RAM on an MPU system as we have a limited number of MPU
memory regions. To solve this, transiently map the static memory banks
for initialization.
Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>
Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Signed-off-by: Hari Limaye <hari.limaye@xxxxxxx>
Reviewed-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
Tested-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
(On R82 and R52 with some additional patches)
|