[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 1/2] arm/mpu: Enable is_xen_heap_page and co for ARM_32
- To: Hari Limaye <hari.limaye@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
- From: Ayan Kumar Halder <ayankuma@xxxxxxx>
- Date: Thu, 14 Aug 2025 09:24:16 +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=OTZRlmrjVB346LvvpDuM1xxZqrvi3ClpQsGJNcNnxSw=; b=nj+Ci50fXUV3pHKSU0JLn5XUFVQCrQ1Rsjz0dtlEubV4Q2oLHn0U+MnEuo5Jylm1IeXCVcvF2f7AIAUHEG3oAfAGzoMfWb7kVsZOhlyrK+D5pmvR3IRCAEEJ5BW9NsOR7w+meDNkIXeenRD3gPEQ7yNZ2GN+dQFL6l9OKAsVYvvIKiKRO/b8kmMa0bPdz1RcMahwJ/S+Hh1Ae2nLpzQe034VAbcjAs9Yz064x3PHTDKswJb4hJjnk8l9TOPn6lZBWpwHqUrAr+j8UrLJirEBKrvj8mAUHHfmO18CEsxh5jJBCiBDl0yAY4IIDOuoiRrkO1zMBS9iw//BHWret8zYcQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HeuHauD+ZYxrgHe1vtZGC+GeDjjg9i3Ts0dwlyXyZqXxfLhFV/+gaMm85TA2I8GdyWW1z1pTAENUQFskWQtcUrT/1FSqne4g3ene2zvCwA58cC0RjIrN4QqKo2N/V4/bgs9PI1HgVA2ZTqvpBjaAEwhVo8nxAxufh2CVPJ6KnpkPr+Y3TsNqoML6ocC43TkwSpEUbxpQzFlxInkP4c50T9c1eDO/zCXrqeAfHZ8UaWWw/yys9JhKaFcGDJw+Mb8tOFJXPQdGM/XYZYOEN43ce2p+fh18RyocDkQkAkGCpenXReN+bJo++mrdz7kEImW+LN9cbyWqSW/W8sTOFXDJ8g==
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Thu, 14 Aug 2025 08:24:27 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 12/08/2025 11:30, Hari Limaye wrote:
Hi Ayan,
Hi Hari,
On Thu, Aug 07, 2025 at 06:45:28PM +0000, Ayan Kumar Halder wrote:
In case of ARM_32, all of the RAM will be covered by a permanent contiguous
mapping (where VA == PA) and there will be a single heap. Thus, the memory
allocated from Xen heap uses PGC_xen_heap.
This is similar to the scenario described for
"CONFIG_SEPARATE_XENHEAP=n W/ DIRECT MAP OF ALL RAM" in common/page_alloc.c.
Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
---
This patch breaks the build for ARM_32, CONFIG_MMU targets due to
multiple definition of `is_xen_heap_page` and `is_xen_heap_mfn`. The
pre-existing definitions are located at xen/arch/arm/include/asm/mmu/mm.h:30:9
Thanks for checking this and apologies for the build break. I should
have tested this before sending.
I have sent out
[PATCH v2 0/2] R52 MPU support (for "Third series for R82 MPU")
This time I tested
https://gitlab.com/xen-project/people/ayankuma/xen/-/pipelines/1982700286
<https://gitlab.com/xen-project/people/ayankuma/xen/-/pipelines/1982700286> :)
- Ayan
F
|