[ImageBuilder][PATCH v3 1/2] uboot-script-gen: Add XEN_STATIC_HEAP

2023-03-19 Thread jiamei.xie
From: jiamei Xie Add a new config parameter to configure Xen static heap. XEN_STATIC_HEAP="baseaddr1 size1 ... baseaddrN sizeN" if specified, indicates the host physical address regions [baseaddr, baseaddr + size) to be reserved as Xen static heap. For instance, XEN_STATIC_HEAP="0x5000 0x300

[ImageBuilder][PATCH v3 2/2] uboot-script-gen: add support for static shared memory

2023-03-19 Thread jiamei.xie
dress space. Both DomUs are the borrower domain, the owner domain is the default owner domain DOMID_IO. Signed-off-by: jiamei.xie --- Changes from v2: - Remove "domid" parameter - Use lower capital letters for local variables Changes from v1: - Rather than two separate p

[ImageBuilder][PATCH v3 0/2] uboot-script-gen: Add support for static heap and shared memory

2023-03-19 Thread jiamei.xie
00" - Use split_value function instead of opencoding it. jiamei Xie (1): uboot-script-gen: Add XEN_STATIC_HEAP jiamei.xie (1): uboot-script-gen: add support for static shared memory README.md| 21 ++ scripts/uboot-script-gen | 46 +

[PATCH v2 2/2] automation: arm64: Create test jobs for testing static shared memory on qemu

2023-03-16 Thread jiamei.xie
e/reserved-memory xen-shmem entry with the static shared memory range and id with which DOMUs were configured. If the memory layout is correct, a message gets printed by DOMU. At the end of the qemu run, the script searches for the specific message in the logs and fails if not found. Signed-off-by:

[PATCH v2 1/2] automation: arm64: Create test jobs for testing static heap on qemu

2023-03-16 Thread jiamei.xie
From: Jiamei Xie Create 2 new test jobs, called qemu-smoke-dom0less-arm64-gcc-staticheap and qemu-smoke-dom0less-arm64-gcc-debug-staticheap. Add property "xen,static-heap" under /chosen node to enable static-heap. If the domU can start successfully with static-heap enabled, then this test pass.

[PATCH v2 0/2] automation: introduce static heap and shared memory tests

2023-03-16 Thread jiamei.xie
test jobs for testing static heap on qemu jiamei.xie (1): automation: arm64: Create test jobs for testing static shared memory on qemu automation/gitlab-ci/build.yaml | 18 +++ automation/gitlab-ci/test.yaml| 32 .../scripts/qemu-smoke-dom0less

[ImageBuilder][PATCH v2 2/2] uboot-script-gen: add support for static shared memory

2023-03-16 Thread jiamei.xie
dress space. Both DomUs are the borrower domain, the owner domain is the default owner domain DOMID_IO. Signed-off-by: jiamei.xie --- Changes from v1: - Rather than two separate properties and just use one like follows: Change DOMU_SHARED_MEM[0]="0x5000 0x600 0x1000"

[ImageBuilder][PATCH v2 1/2] uboot-script-gen: Add XEN_STATIC_HEAP

2023-03-16 Thread jiamei.xie
From: jiamei Xie Add a new config parameter to configure Xen static heap. XEN_STATIC_HEAP="baseaddr1 size1 ... baseaddrN sizeN" if specified, indicates the host physical address regions [baseaddr, baseaddr + size) to be reserved as Xen static heap. For instance, XEN_STATIC_HEAP="0x5000 0x300

[ImageBuilder][PATCH v2 0/2] uboot-script-gen: Add support for static heap and shared memory

2023-03-16 Thread jiamei.xie
cript-gen: Add XEN_STATIC_HEAP jiamei.xie (1): uboot-script-gen: add support for static shared memory README.md| 21 ++ scripts/uboot-script-gen | 47 2 files changed, 68 insertions(+) -- 2.25.1

[ImageBuilder][PATCH 2/2] uboot-script-gen: Add support for static shared memory

2023-03-01 Thread jiamei.xie
uot;my-shared-mem-0", host physical address starting at 0x5000 of 256MB will be reserved to be shared between two domUs. It will get mapped at 0x600 in both guest physical address space. Both DomUs are the borrower domain, the owner domain is the default owner domain DOMID_IO. S

[ImageBuilder][PATCH 1/2] uboot-script-gen: Add support for static heap

2023-03-01 Thread jiamei.xie
From: jiamei Xie Add a new config parameter to configure static heap. STATIC_HEAP="baseaddr1 size1 ... baseaddrN sizeN" if specified, indicates the host physical address regions [baseaddr, baseaddr + size) to be reserved as static heap. For instance, STATIC_HEAP="0x5000 0x3000", if speci

[ImageBuilder][PATCH 0/2] uboot-script-gen: Add support for static heap and shared memory

2023-03-01 Thread jiamei.xie
Hi all This patch series is to enable to set the device tree for static heap and static shared memory by uboot-script-gen jiamei Xie (1): uboot-script-gen: Add support for static heap jiamei.xie (1): uboot-script-gen: Add support for static shared memory README.md| 22

[PATCH 2/2] automation: arm64: Create a test job for testing static shared memory on qemu

2023-03-01 Thread jiamei.xie
range and id with which DOMUs were configured. If the memory layout is correct, a message gets printed by DOMU. At the end of the qemu run, the script searches for the specific message in the logs and fails if not found. Signed-off-by: jiamei.xie --- automation/gitlab-ci/build.yaml

[PATCH 1/2] automation: arm64: Create a test job for testing static heap on qemu

2023-03-01 Thread jiamei.xie
From: Jiamei Xie Create a new test job, called qemu-smoke-dom0less-arm64-gcc-staticheap. Add property "xen,static-heap" under /chosen node to enable static-heap. If the domU can start successfully with static-heap enabled, then this test pass. Signed-off-by: Jiamei Xie --- automation/gitlab-c

[PATCH 0/2] automation: introduce static heap and shared memory tests

2023-03-01 Thread jiamei.xie
Hi all, This patch series introduces two test jobs: Jiamei Xie (1): automation: arm64: Create a test job for testing static heap on qemu jiamei.xie (1): automation: arm64: Create a test job for testing static shared memory on qemu automation/gitlab-ci/build.yaml | 18