Hi Jan
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, May 18, 2021 3:35 PM
> To: Penny Zheng
> Cc: Bertrand Marquis ; Wei Chen
> ; nd ; xen-devel@lists.xenproject.org;
> sstabell...@kernel.org; jul...@xen.org
> Subject: Re: [PATCH 0
Hi Jan
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, May 18, 2021 3:39 PM
> To: Penny Zheng
> Cc: Bertrand Marquis ; Wei Chen
> ; nd ; xen-devel@lists.xenproject.org;
> sstabell...@kernel.org; jul...@xen.org
> Subject: Re: [PATCH 08/10] xen/arm: intr
GUEST_RAM0_BASE, GUEST_RAM1_BASE.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 157 +++-
1 file changed, 155 insertions(+), 2 deletions(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index 30b55588b7..9f662313ad 100644
--- a/xen
of allocate_static_memory is missing, and
will be introduced later. It just BUG() out at the moment.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 58
xen/include/asm-arm/domain.h | 3 ++
2 files changed, 56 insertions(+), 5 deletions(-)
diff --git a/xen/arch/arm
pages of static memory. Let page_to_list return reserved_page_list,
when flag is PGC_reserved.
Later, when domain get destroyed or restarted, those new values will help
relinquish memory to proper place, not been given back to heap.
Signed-off-by: Penny Zheng
---
xen/common/domain.c | 1
those pages to
one specific domain, including using page_set_reserved_owner to set its
reserved domain owner.
Signed-off-by: Penny Zheng
---
xen/common/page_alloc.c | 53 +
xen/include/xen/mm.h| 4
2 files changed, 57 insertions(+)
diff --git
Function parameter order in assign_pages is always used as 1ul << order,
referring to 2@order pages.
Now, for better compatibility with new static memory, order shall
be replaced with nr_pfns pointing to page count with no constraint,
like 250MB.
Signed-off-by: Penny Zheng
---
xen/arch/
) and free. It shall also do a set of necessary
initialization, which are mostly the same ones in alloc_heap_pages,
like, following the same cache-coherency policy and turning page
status into PGC_state_used, etc.
Signed-off-by: Penny Zheng
---
xen/common/page_alloc.c | 64
static memory regions overlap with memory nodes. The
overlapping memory is reserved-memory and should be
handled accordingly:
dt_unreserved_regions should skip these regions the
same way they are already skipping mem-reserved regions.
Signed-off-by: Penny Zheng
---
xen/arch/arm/setup.c | 39
` property to define static
memory nodes in device tree file.
This patch also documents and parses this new attribute at boot time and
stores related info in static_mem for later initialization.
Signed-off-by: Penny Zheng
---
docs/misc/arm/device-tree/booting.txt | 33 +
xen/arch/arm
page_get_reserved_owner and page_set_reserved_owner are
designated to get/set reserved page's owner.
Struct domain is enlarged to more than PAGE_SIZE, due to newly-imported
struct reserved in struct page_info.
Signed-off-by: Penny Zheng
---
xen/include/asm-arm/mm.h | 16 +++-
1 file changed, 15
features will be delievered through different patch series.
Penny Zheng (10):
xen/arm: introduce domain on Static Allocation
xen/arm: handle static memory in dt_unreserved_regions
xen/arm: introduce PGC_reserved
xen/arm: static memory initialization
xen/arm: introduce alloc_staticmem_pages
the page in need
Signed-off-by: Penny Zheng
---
xen/arch/arm/setup.c| 2 ++
xen/common/page_alloc.c | 70 +
xen/include/xen/mm.h| 3 ++
3 files changed, 75 insertions(+)
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 444dbbd676
Create one design doc for 1:1 direct-map and static allocation.
It is the first draft and aims to describe why and how we allocate
1:1 direct-map(guest physical == physical) domains, and why and how
we let domains on static allocation.
Signed-off-by: Penny Zheng
---
docs/designs
> -Original Message-
> From: Julien Grall
> Sent: Tuesday, January 5, 2021 8:41 PM
> To: Penny Zheng ; xen-devel@lists.xenproject.org;
> sstabell...@kernel.org
> Cc: Bertrand Marquis ; Kaly Xin
> ; Wei Chen ; nd ;
> Paul Durrant ; famzh...@amazon.com
> Subjec
Hi Julien
Thanks for the nice and detailed comments. (*^▽^*)
Here are the replies:
> -Original Message-
> From: Julien Grall
> Sent: Tuesday, December 8, 2020 5:07 PM
> To: Penny Zheng ; xen-devel@lists.xenproject.org;
> sstabell...@kernel.org
> Cc: Bertrand Marquis
== physical) domains.
This document is partly based on Stefano Stabellini's patch serie v1:
[direct-map DomUs](
https://lists.xenproject.org/archives/html/xen-devel/2020-04/msg00707.html).
Signed-off-by: Penny Zheng
---
For the part regarding allocating 1:1 direct-map domains with user-defined
> -Original Message-
> From: Julien Grall
> Sent: Monday, November 9, 2020 8:04 PM
> To: Penny Zheng ; xen-devel@lists.xenproject.org;
> sstabell...@kernel.org
> Cc: Andre Przywara ; Bertrand Marquis
> ; Wei Chen ; Kaly Xin
> ; nd
> Subject: Re: [PATCH] xen/
701 - 718 of 718 matches
Mail list logo