Re: [PATCH] MAINTAINERS: Hand over the release manager role to Oleksii Kurochko

2023-12-07 Thread Henry Wang
Hi Julien, Oleksii, > On Dec 8, 2023, at 05:09, Oleksii wrote: > > Hi Julien and Henry, > > On Thu, 2023-12-07 at 18:46 +, Julien Grall wrote: >> Hi, >> >> On 07/12/2023 16:20, Henry Wang wrote: >>> I've finished the opportunity to do two release

[PATCH] MAINTAINERS: Hand over the release manager role to Oleksii Kurochko

2023-12-07 Thread Henry Wang
I've finished the opportunity to do two releases (4.17 and 4.18) and Oleksii Kurochko has volunteered to be the next release manager. Hand over the role to him by changing the maintainership of the CHANGELOG.md. Signed-off-by: Henry Wang --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 4/5] automation: Add the script for the FVP smoke test

2023-12-07 Thread Henry Wang
, the shell script will also start the TFTP service, and copy the binaries needed by test to the TFTP directory used by the TFTP server. Signed-off-by: Henry Wang --- .../scripts/fvp-base-smoke-dom0-arm64.sh | 117 ++ 1 file changed, 117 insertions(+) create mode 100755

[PATCH 5/5] automation: Add the arm64 FVP build and Dom0 smoke test jobs

2023-12-07 Thread Henry Wang
Add a job in the build stage to export the TF-A, U-Boot and the device tree for the FVP platform from the test artifact container. Add a FVP smoke test job in the test stage to do the same test as the `qemu-smoke-dom0-arm64-gcc` job. Signed-off-by: Henry Wang --- Although it does not affect

[PATCH 2/5] automation: Add the Dockerfile to build TF-A and U-Boot for FVP

2023-12-07 Thread Henry Wang
device will provide the networking service for FVP, and the virtio-rng device will improve the speed of the FVP. Signed-off-by: Henry Wang --- .../2023.10-2.9.0-arm64v8.dockerfile | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 automation/tests-artifacts

[PATCH 0/5] automation: Support running FVP Dom0 smoke test for Arm

2023-12-07 Thread Henry Wang
removed) can be found at: https://gitlab.com/xen-project/people/henryw/xen/-/pipelines/1098531057 Henry Wang (5): automation: Add a Dockerfile for running FVP_Base jobs automation: Add the Dockerfile to build TF-A and U-Boot for FVP automation: Add the expect script with test case for FVP

[PATCH 3/5] automation: Add the expect script with test case for FVP

2023-12-07 Thread Henry Wang
tly detect the IP of the host, then connect to the telnet port of the FVP, set the `serverip` and `ipaddr` for the TFTP service in the U-Boot shell, and finally boot Xen from U-Boot and wait for the expected results by Xen, Dom0 and DomU. Signed-off-by: Henry Wang --- .../expect/fvp-base-smoke-dom0

[PATCH 1/5] automation: Add a Dockerfile for running FVP_Base jobs

2023-12-07 Thread Henry Wang
and `tftpd-hpa` to provide the TFTP service for the FVP. Signed-off-by: Henry Wang --- .../debian/bookworm-arm64v8-fvp.dockerfile| 64 +++ 1 file changed, 64 insertions(+) create mode 100644 automation/build/debian/bookworm-arm64v8-fvp.dockerfile diff --git a/automation/bu

Re: [PATCH v3] xen/public: fix flexible array definitions

2023-12-01 Thread Henry Wang
headers) when the interface version is an old one. > > Replace the arr[1] instances (this includes the ones seen to be > problematic in recent Linux kernels [1]) with arr[XENPV_FLEX_ARRAY_DIM] > in order to avoid compilation errors. > > [1]: https://bugzilla.kernel.org/show_bug.cgi

Re: [PATCH v6 00/17] Device tree based NUMA support for Arm

2023-11-29 Thread Henry Wang
s://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms Kind regards, Henry > > Cheers, > > Stefano > > > On Mon, 20 Nov 2023, Henry Wang wrote: >> The preparation work to support NUMA on Arm has been merged >> and can be found at [1] and [2]

Re: We are not able to virtualize FreeBSD using xen 4.17 on Arm 32 bit

2023-11-27 Thread Henry Wang
+(xen-devel and Arm maintainers, including Julien) > On Nov 27, 2023, at 18:03, Mario Marietto wrote: > > Hello. > We have just virtualized Debian 12 on our arm (32 bit) Chromebook model > xe303c12 . As host / dom0 we have chosen Devuan 5,and for guest / domU,Debian > 12. It works great. But

Re: [PATCH v2 4/5] arm/efi: Simplify efi_arch_handle_cmdline()

2023-11-22 Thread Henry Wang
Hi, > On Nov 23, 2023, at 12:20, Henry Wang wrote: > > Hi, > >> On Nov 23, 2023, at 02:03, Andrew Cooper wrote: >> >> On 22/11/2023 3:49 pm, Luca Fancellu wrote: >>> >>>> On 21 Nov 2023, at 20:41, Andrew Cooper wrote: >>>> &g

Re: [PATCH v2 4/5] arm/efi: Simplify efi_arch_handle_cmdline()

2023-11-22 Thread Henry Wang
ee with xen,xen-bootargs = "console=dtuart dtuart=serial0:115200n8 noreboot dom0_mem=1024M bootscrub=0 iommu=no"; Xen can be successfully boot on the board with the series applied, and I got ``` (XEN) Command line: console=dtuart dtuart=serial0:115200n8 noreboot dom0_mem=1024M bootscrub=0 iommu=no […] ``` Also I can interact with the board: ``` n1sdp login: root root@n1sdp:~# ^C root@n1sdp:~# ^C root@n1sdp:~# ^C ``` So I think the first cmdline parameter is still usable. I will wait for Luca to confirm on his side as I believe he used a different board in his test. Tested-by: Henry Wang Kind regards, Henry > > ~Andrew

Re: [PATCH v2] stubdom: remove caml-stubdom

2023-11-21 Thread Henry Wang
s been > modified in 2014 the last time, it seems nobody cares for caml-stubdom > since at least then. > > Remove caml-stubdom from the build system. > > Signed-off-by: Juergen Gross > --- > V2: > - add CHANGELOG entry (Andrew Cooper) > --- > CHANGELOG.md

Re: [PATCH v2 4/5] arm/efi: Simplify efi_arch_handle_cmdline()

2023-11-21 Thread Henry Wang
Hi Both, > On Nov 22, 2023, at 04:41, Andrew Cooper wrote: > > On 21/11/2023 8:33 pm, Luca Fancellu wrote: >> + CC henry >> >>> On 21 Nov 2023, at 20:15, Andrew Cooper wrote: >>> >>> -Wwrite-strings is unhappy with assigning "xen" to a mutable pointer, but >>> this >>> logic looks

Re: [PATCH v9 0/8] xen/arm: Split MMU code as the prepration of MPU work

2023-11-20 Thread Henry Wang
Hi Julien, > On Nov 21, 2023, at 03:09, Julien Grall wrote: > > Hi Henry, > > On 16/11/2023 14:50, Henry Wang wrote: >> Based on the discussion in the Xen Summit [1], sending this series out after >> addressing the comments in v8 [2] as the preparation work to add

Re: Interest in Release Manager Role

2023-11-20 Thread Henry Wang
Hi Oleksii, > On Nov 20, 2023, at 22:06, Oleksii wrote: > > Dear Xen Community, > > I am keen on stepping into the role of a Release Manager for our next > release. Thanks for the email! This sounds good to me and as Kelly says, please mention this in December community call and we can

Re: Xen Project Releases Version 4.18

2023-11-20 Thread Henry Wang
munity for their efforts in getting this release > published. > > In particular, I'd like to express gratitude to @Henry Wang for his help as > the release manager, @George Dunlap for collating the downloads, and the > Advisory Board for their continued support and quotes in the article.

Re: [PATCH v6 17/17] docs: update numa command line to support Arm

2023-11-20 Thread Henry Wang
Hi Jan, > On Nov 20, 2023, at 16:55, Jan Beulich wrote: > > On 20.11.2023 03:54, Henry Wang wrote: >> --- a/CHANGELOG.md >> +++ b/CHANGELOG.md >> @@ -12,6 +12,7 @@ The format is based on [Keep a >> Changelog](https://keepachangelog.com/en/1.0.0/) >> -

[PATCH v6 16/17] xen/arm: Provide Kconfig options for Arm to enable NUMA

2023-11-19 Thread Henry Wang
CONFIG_DEVICE_TREE_NUMA option for ARM_NUMA to select when HAS_DEVICE_TREE option is enabled. Once when ACPI NUMA for Arm is supported, ACPI_NUMA can be selected here too. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without code changes. v1 -> v5: -

[PATCH v6 17/17] docs: update numa command line to support Arm

2023-11-19 Thread Henry Wang
From: Wei Chen Current numa command in documentation is x86 only. Remove x86 from numa command's arch limitation in this patch. Also add related entries in the SUPPORT.md and CHANGELOG.md. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v6: - Add the CHANGELOG.md entry, drop Jan's

[PATCH v6 09/17] xen/arm: introduce a helper to parse device tree NUMA distance map

2023-11-19 Thread Henry Wang
nce, hence rather than rejecting node distance values >= 0xff, saturate the distance at 0xfe, while keeping 0xff for NUMA_NO_DISTANCE, so overall we can keep things consistent with ACPI. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without code c

[PATCH v6 13/17] xen/arm: implement numa_node_to_arch_nid for device tree NUMA

2023-11-19 Thread Henry Wang
From: Wei Chen Device tree based NUMA doesn't have the proximity domain like ACPI. So we can return node id directly as arch nid. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without code changes. v1 -> v5: - Use numa_node_to_arch_nid i

[PATCH v6 11/17] xen/arm: keep guest still be NUMA unware

2023-11-19 Thread Henry Wang
de-id" property for these two types of nodes. However, some devices like PCIe may have "numa-node-id" property too. We have to skip them as well. Signed-off-by: Wei Chen Signed-off-by: Henry Wang Reviewed-by: Stefano Stabellini --- v5 -> v6: - Rebase on top of staging without code c

[PATCH v6 14/17] xen/arm: use CONFIG_NUMA to gate node_online_map in smpboot

2023-11-19 Thread Henry Wang
From: Wei Chen node_online_map in smpboot is still needed for Arm when NUMA is turned off by Kconfig. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v6: - Rebase on top of staging without code changes. --- xen/arch/arm/smpboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 12/17] xen/arm: enable device tree based NUMA in system init

2023-11-19 Thread Henry Wang
From: Wei Chen In this patch, we can start to create NUMA system that is based on device tree. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without code changes. v1 -> v5: - Fix coding style: label indented by 1 space. - repl

[PATCH v6 15/17] xen/arm: Set correct per-cpu cpu_core_mask

2023-11-19 Thread Henry Wang
this function at the boot time can ensure the correct cpu_core_mask, leading to the correct cores_per_socket to be returned by XEN_SYSCTL_physinfo. Signed-off-by: Henry Wang --- v6: - Rebase on top of staging without code changes. --- xen/arch/arm/include/asm/numa.h | 7 +++ xen/arch/arm/numa.c

[PATCH v6 08/17] xen/arm: introduce a helper to parse device tree memory node

2023-11-19 Thread Henry Wang
From: Wei Chen Memory blocks' NUMA ID information is stored in device tree's memory nodes as "numa-node-id". We need a new helper to parse and verify this ID from memory nodes. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without cod

[PATCH v6 10/17] xen/arm: unified entry to parse all NUMA data from device tree

2023-11-19 Thread Henry Wang
still need to scan whole device tree to find CPU NUMA id and distance-map. In this case, we include memory NUMA id parse in this function too. Another benefit is that we have a unique entry for device tree NUMA data parse. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Reb

[PATCH v6 06/17] xen/arm: Add boot and secondary CPU to NUMA system

2023-11-19 Thread Henry Wang
prepared cpu_to_node in dt_smp_init_cpus, so we don't need to setup cpu_to_node in numa_detect_cpu_node. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v2 -> v6: - Rebase on top of staging without code changes. v1 -> v2: - Use unsigned int instead of int for cpu id. - Use static inline fo

[PATCH v6 04/17] xen/arm: use arch_get_ram_range to get memory ranges from bootinfo

2023-11-19 Thread Henry Wang
From: Wei Chen Implement the same helper "arch_get_ram_range" as x86 for NUMA code to get memory bank from Arm bootinfo. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v2 -> v6: - Rebase on top of staging without code changes. v1 -> v2: - Use arch_get_r

[PATCH v6 03/17] xen/arm: implement node distance helpers for Arm

2023-11-19 Thread Henry Wang
value of x86 has been changed to unsigned char. Signed-off-by: Wei Chen Signed-off-by: Henry Wang Acked-by: Jan Beulich # non-Arm parts --- v6: - Rebase on top of staging without code changes. v4 -> v5: - Coding style (extra blank line and printk variable type) and in-code comment fi

[PATCH v6 01/17] xen/arm: use NR_MEM_BANKS to override default NR_NODE_MEMBLKS

2023-11-19 Thread Henry Wang
[1]. [1] https://lists.xenproject.org/archives/html/xen-devel/2021-09/msg02322.html Signed-off-by: Wei Chen Signed-off-by: Henry Wang Acked-by: Jan Beulich --- v6: - Rebase on top of staging without code changes --- xen/arch/arm/include/asm/numa.h | 19 ++- xen/include/xen

[PATCH v6 07/17] xen/arm: introduce a helper to parse device tree processor node

2023-11-19 Thread Henry Wang
D from any processor node, the device tree will be marked as NUMA information invalid. Since new helpers need to know the NUMA status, move the enum dt_numa_status to the Arm NUMA header. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v5 -> v6: - Rebase on top of staging without code chan

[PATCH v6 05/17] xen/arm: build NUMA cpu_to_node map in dt_smp_init_cpus

2023-11-19 Thread Henry Wang
, dt_smp_init_cpus will fetch CPU NUMA id at the same time for cpu_to_node. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v2 -> v6: - Rebase on top of staging without code changes. v1 -> v2: - Use static inline to replace macros to perform function paramerters type check. - Add numa_di

[PATCH v6 02/17] xen/arm: implement helpers to get and update NUMA status

2023-11-19 Thread Henry Wang
device_tree_numa status, but for arch_numa_setup we have not provided boot arguments to setup device_tree_numa. So we just return -EINVAL in this patch. Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v3 -> v6: - Rebase on top of staging without code changes. v2 -> v3: - Rename the first entry o

[PATCH v6 00/17] Device tree based NUMA support for Arm

2023-11-19 Thread Henry Wang
configs in device tree and one HPE x86 NUMA machine. [1] https://lists.xenproject.org/archives/html/xen-devel/2022-06/msg00499.html [2] https://lists.xenproject.org/archives/html/xen-devel/2022-11/msg01043.html [3] https://lists.xenproject.org/archives/html/xen-devel/2021-09/msg01903.html Henry Wang

[PATCH v9 8/8] xen/arm: mmu: move MMU specific P2M code to mmu/p2m.{c,h}

2023-11-16 Thread Henry Wang
pportunity to add the missing 'U' as a compliance of MISRA. Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Signed-off-by: Henry Wang Acked-by: Julien Grall --- v9: - Add Julien's Acked-by tag. v8: - Note: The renaming of p2m_flush_vm() is not done due to the unclarity of other maintain

[PATCH v9 7/8] xen/arm: Rename init_secondary_pagetables() to prepare_secondary_mm()

2023-11-16 Thread Henry Wang
t. Reword the in-code comment on top of prepare_secondary_mm() because this function is now supposed to be MMU/MPU agnostic. Take the opportunity to fix the incorrect coding style of the in-code comments. Signed-off-by: Penny Zheng Signed-off-by: Henry Wang Reviewed-by: Julien Grall --- v9: - No

[PATCH v9 4/8] xen/arm: Extract MMU-specific MM code

2023-11-16 Thread Henry Wang
to fix the in-code comment coding styles when possible, and drop the unnecessary #include headers in the original arm/mm.c. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Acked-by: Julien Grall --- v9: - No change. v8: - Add Julien's Acked-by tag. v7: - Move pte_of_xenaddr() to mmu

[PATCH v9 5/8] xen/arm: Split MMU-specific setup_mm() and related code out

2023-11-16 Thread Henry Wang
of the function implementation. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Acked-by: Julien Grall --- v9: - No change. v8: - Reword the commit message about making init_pdx() & co public. - Add Julien's Acked-by tag. v7: - No change. v6: - Rework the orig

[PATCH v9 2/8] xen/arm: Split MMU system SMP MM bringup code to mmu/smpboot.c

2023-11-16 Thread Henry Wang
-off-by: Henry Wang Signed-off-by: Penny Zheng Reviewed-by: Julien Grall --- v9: - No change. v8: - Drop the unnecessary cast in virt_to_maddr((uintptr_t) xen_pgtable); - Add Julien's Reviewed-by tag. v7: - Do not export cpu0_pgtable, replace the variable usage in arch/arm/mmu/smpboot.c

[PATCH v9 0/8] xen/arm: Split MMU code as the prepration of MPU work

2023-11-16 Thread Henry Wang
on: 6cd046c501 xen/arm: Enlarge identity map space to 10TB [1] https://lore.kernel.org/xen-devel/as8pr08mb799122f8b0cb841ded64f48192...@as8pr08mb7991.eurprd08.prod.outlook.com/ [2] https://lore.kernel.org/xen-devel/20231023021345.1731436-1-henry.w...@arm.com/ Henry Wang (6): xen/arm: Split page table

[PATCH v9 6/8] xen/arm: Fold pmap and fixmap into MMU system

2023-11-16 Thread Henry Wang
GE_SIZE-1);" of copy_from_paddr(). Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Reviewed-by: Julien Grall --- v9: - No change. v8: - Add a missing space before/after '-' in "s = paddr & (PAGE_SIZE-1);" of copy_from_paddr(), mention this change in co

[PATCH v9 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-11-16 Thread Henry Wang
the extra TLB flush and SCTLR dance. Signed-off-by: Henry Wang Co-authored-by: Julien Grall Signed-off-by: Julien Grall Signed-off-by: Ayan Kumar Halder Reviewed-by: Julien Grall --- v9: - Move pt_enforce_wxn() for arm32 up a few lines. - Add commit message explaining why WXN cannot be set early

[PATCH v9 1/8] xen/arm: Split page table related code to mmu/pt.c

2023-11-16 Thread Henry Wang
table related functions and macros from arch/arm/mm.c to arch/arm/mmu/pt.c. Take the opportunity to fix the in-code comment coding styles when possible, and drop the unnecessary #include headers in the original arch/arm/mm.c. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Reviewed-by: Julien

Re: [PATCH for-4.18] SUPPORT.md: Define support lifetime

2023-11-15 Thread Henry Wang
Hi Julien, > On Nov 15, 2023, at 20:35, Julien Grall wrote: > > Hi Henry, > > On 15/11/2023 12:27, Henry Wang wrote: >>> On Nov 15, 2023, at 20:16, Julien Grall wrote: >>> >>> From: Julien Grall >>> >>> Signed-off-by: Julien Gral

Re: [PATCH for-4.18] SUPPORT.md: Define support lifetime

2023-11-15 Thread Henry Wang
Hi Julien, > On Nov 15, 2023, at 20:16, Julien Grall wrote: > > From: Julien Grall > > Signed-off-by: Julien Grall > --- > SUPPORT.md | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/SUPPORT.md b/SUPPORT.md > index fff4b4c5bad6..c452635eb552 100644 > ---

Re: [PATCH for-4.18] SUPPORT.md: Define support lifetime

2023-11-15 Thread Henry Wang
Hi Julien, > On Nov 15, 2023, at 20:16, Julien Grall wrote: > > From: Julien Grall > > Signed-off-by: Julien Grall Thanks for the patch and all your effort during the release period! Release-acked-by: Henry Wang Kind regards, Henry > --- > SUPPORT.md | 8 ---

Re: [PATCH for-4.18] docs: Delete kconfig docs to fix licensing violation

2023-11-10 Thread Henry Wang
;> look at the Linux docs anyway. These, and more docs can be found at: >>>>> >>>>> https://www.kernel.org/doc/html/latest/kbuild/ >>>>> >>>>> which also have corrections vs the snapshot we took. >>>> Imo thi

Re: [PATCH for-4.18 2/3] docs/sphinx: Fix syntax issues in exclude-list.rst

2023-11-08 Thread Henry Wang
line emphasis start-string >> without end-string. >> >> Nested lists require newlines as delimiters, and * either needs escaping, or >> put in a literal block. >> >> Signed-off-by: Andrew Cooper >> --- > > Thanks for that. > > Reviewed-by: Luca Fancellu Release-acked-by: Henry Wang Kind regards, Henry > > Cheers, > Luca > > >

Re: [PATCH for-4.18 3/3] docs/sphinx: Fix indexing

2023-11-08 Thread Henry Wang
p-to-date index.rst in misra/ create an "unsorted docs" section at > the top level to contain everything else. They can be re-filed at a later > date. > > Signed-off-by: Andrew Cooper Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18 1/3] docs/sphinx: Fix syntax issues in hyperlaunch.rst

2023-11-08 Thread Henry Wang
h/hyperlaunch.rst:216: WARNING: Unexpected indentation. > > Nested lists require newlines as delimiters. > > Signed-off-by: Andrew Cooper Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18] docs/misra: Add missing SPDX tags

2023-11-08 Thread Henry Wang
ini > CC: Roberto Bagnara > CC: Stefano Stabellini > CC: Henry Wang > > CC Henry as this does ideally want backporting to 4.18 Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH v8 8/8] xen/arm: mmu: move MMU specific P2M code to mmu/p2m.{c,h}

2023-11-06 Thread Henry Wang
S” >> will need the >> double check from your side :) > > Oh yes :). > >> Here is what I have locally, to save time I will just show the content here >> for you to check, >> and I will push it in the next few days: >> commit ba72d6dc17fd7ce9a86

Re: [PATCH v4] x86/x2apic: introduce a mixed physical/cluster mode

2023-11-06 Thread Henry Wang
_bsp_APIC() has >> been removed, as with the newly introduced mixed mode this would require more >> fine grained printing, or else would be incorrect. The addressing mode can >> already be derived from the APIC driver in use, which is printed by different >> helpers. >> >> Suggested-by: Andrew Cooper >> Signed-off-by: Roger Pau Monné > > Reviewed-by: Andrew Cooper Acked-by: Henry Wang # CHANGELOG Kind regards, Henry

Re: [PATCH for-4.18 0/2] golang: Binding fixes

2023-11-05 Thread Henry Wang
Hi Andrew, > On Nov 4, 2023, at 03:50, Andrew Cooper wrote: > > [andcoo...@tibco.com appears similar to someone who previously sent you > email, but may not be that person. Learn why this could be a risk at > https://aka.ms/LearnAboutSenderIdentification ] (+Your work email address since

Re: [PATCH for-4.18 2/2] golang: Fix bindings after XSA-443

2023-11-03 Thread Henry Wang
> Signed-off-by: Jason Andryuk Release-acked-by: Henry Wang Kind regards, Henry > --- > tools/golang/xenlight/helpers.gen.go | 9 + > tools/golang/xenlight/types.gen.go | 2 ++ > 2 files changed, 11 insertions(+) > > diff --git a/tools/golang/xenlight/helpers.gen.

Re: [PATCH for-4.18 1/2] golang: Fixup binding for Arm FF-A

2023-11-03 Thread Henry Wang
Hi Jason, > On Nov 4, 2023, at 03:45, Jason Andryuk wrote: > > The new FF-A TEE type changed the go bindings. Update them. > > Fixes: 8abdd8d52862 ("tools: add Arm FF-A mediator") > Signed-off-by: Jason Andryuk Release-acked-by: Henry Wang Kind regards,

Re: [PATCH 1/2] xen/arm32: head: Rework how the fixmap and early UART mapping are prepared

2023-11-01 Thread Henry Wang
Hi Julien, > On Nov 2, 2023, at 07:30, Julien Grall wrote: > > From: Julien Grall > > Since commit 5e213f0f4d2c ("xen/arm32: head: Widen the use of the > temporary mapping"), boot_second (used to cover regions like Xen and > the fixmap) will not be mapped if the identity mapping overlap. > >

Re: [PATCH v8 8/8] xen/arm: mmu: move MMU specific P2M code to mmu/p2m.{c,h}

2023-11-01 Thread Henry Wang
Hi Julien, > On Nov 2, 2023, at 02:34, Julien Grall wrote: > > Hi Henry, > > On 23/10/2023 03:13, Henry Wang wrote: >> From: Penny Zheng >> Current P2M implementation is designed for MMU system only. >> We move the MMU-specific codes into mmu/p2m.c, and on

Re: [PATCH for-4.18] x86/time: Fix UBSAN failure in __update_vcpu_system_time()

2023-11-01 Thread Henry Wang
or to checking that > the underlying map pointer is good. > > Reorder actions so the NULL pointer check is first. > > Fixes: 20279afd7323 ("x86: split populating of struct vcpu_time_info into a > separate function") > Signed-off-by: Andrew Cooper > --- > CC: Jan

Re: [PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-11-01 Thread Henry Wang
Hi Julien, > On Nov 1, 2023, at 20:05, Julien Grall wrote: >>> >>> While debugging an MMU issue on Arm32, I wrote a patch to sprinkle prints >>> in the enable_mmu() code. I will clean-up the patch and send it. >> Just to make sure, your patch is for both Arm32 and Arm64, is my >>

Xen 4.18 rc5

2023-11-01 Thread Henry Wang
Hi all, Xen 4.18 rc5 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.18.0-rc5 For your convenience there is also a tarball at: https://downloads.xenproject.org/release/xen/4.18.0-rc5/xen-4.18.0-rc5.tar.gz And the signature is at:

Re: [PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-10-31 Thread Henry Wang
Hi Julien, > On Nov 1, 2023, at 02:29, Julien Grall wrote: > > Hi Henry, > > +Ayan > > On 23/10/2023 03:13, Henry Wang wrote: >> Currently mmu_init_secondary_cpu() only enforces the page table >> should not contain mapping that are both Writable and eXecutable

Re: Commit moratorium for branching 4.18

2023-10-31 Thread Henry Wang
Hi all, > On Nov 1, 2023, at 00:01, Henry Wang wrote: > > Hi, > >> On Oct 25, 2023, at 18:18, Henry Wang wrote: >> >> Hi committers, >> >> We will be branching the tree for Xen 4.18 in the next few days. Please >> avoid committing

Re: Commit moratorium for branching 4.18

2023-10-31 Thread Henry Wang
Hi, > On Oct 25, 2023, at 18:18, Henry Wang wrote: > > Hi committers, > > We will be branching the tree for Xen 4.18 in the next few days. Please > avoid committing any new patches to staging until further notice. The branching has been finished. The staging is reopened fo

Re: [PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 23:20, Andrew Cooper wrote: > > On 31/10/2023 2:49 pm, Henry Wang wrote: >> Signed-off-by: Henry Wang >> --- >> v5: >> - Rebase on previous patches. >> --- >> CHANGELOG.md | 8 >> 1 file changed,

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Henry Wang
Hi both, > On Oct 31, 2023, at 22:19, Julien Grall wrote: > On 31/10/2023 14:06, Andrew Cooper wrote: >> On 31/10/2023 1:45 pm, Julien Grall wrote: >>> If you want to go down that route, then please update the >>> docs/process/branching-checklist.txt. Otherwise, I will continue to do >>> as I

[PATCH v5 1/2] CHANGELOG.md: Finalize the 4.18 release date

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v5: - New patch --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca7969699..94dbd83894 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Notable changes to Xen will be documented

[PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v5: - Rebase on previous patches. --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94dbd83894..cbdc9bceac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ Notable changes to Xen

[PATCH v5 0/2] Finalize the 4.18 release date

2023-10-31 Thread Henry Wang
Hi all, This series finializes the 4.18 release date and starts a new unstable release after branching. Thanks. Henry Wang (2): CHANGELOG.md: Finalize the 4.18 release date CHANGELOG.md: Start new "unstable" section CHANGELOG.md | 10 +- 1 file changed, 9 insertions(+),

Re: [PATCH v4] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Hi, > On Oct 31, 2023, at 22:34, Henry Wang wrote: > > Signed-off-by: Henry Wang > --- > v4: > - Set the release date. > --- > CHANGELOG.md | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/CHANGELOG.md b/CHANGELOG.md >

[PATCH v4] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v4: - Set the release date. --- CHANGELOG.md | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca7969699..cbdc9bceac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,15 @@ Notable changes to Xen

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Henry Wang
Hi Julien, Andrew, > On Oct 31, 2023, at 21:45, Julien Grall wrote: > On 31/10/2023 13:38, Andrew Cooper wrote: >> On 31/10/2023 1:31 pm, Julien Grall wrote: >>> Hi, >>> >>> On 31/10/2023 13:19, Andrew Cooper wrote: Signed-off-by: Andrew Cooper >>> >>> Henry already provided a similar

Re: [PATCH for-4.18 2/3] CHANGELOG: More 4.18 content

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 21:19, Andrew Cooper wrote: > > Signed-off-by: Andrew Cooper Acked-by: Henry Wang Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18 1/3] CHANGELOG: Reformat

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 21:19, Andrew Cooper wrote: > > Collect all x86 and ARM changes together instead of having them scattered. > Tweak grammar as necessary. > > No change. > > Signed-off-by: Andrew Cooper Acked-by: Henry Wang Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Henry Wang
> optional") > Signed-off-by: Andrew Cooper Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18 v2] automation: fix race condition in adl-suspend test

2023-10-31 Thread Henry Wang
now that we branched, this patch should be committed to both staging and staging-4.18. For staging 4.18: Release-acked-by: Henry Wang I will remove the commit moratorium for staging once OSSTest does a successful sync between staging and master. Thanks. Kind regards, Henry

Re: Commit moratorium for branching 4.18

2023-10-25 Thread Henry Wang
(+xen-devel) Sorry I forgot to send to the list... > On Oct 25, 2023, at 18:18, Henry Wang wrote: > > Hi committers, > > We will be branching the tree for Xen 4.18 in the next few days. Please > avoid committing any new patches to staging until further notice. > > Kind regards, > Henry

Re: [PATCH for-4.19 v2] docs/arm: Document where Xen should be loaded in memory

2023-10-25 Thread Henry Wang
arm/booting.txt. > > [1] https://lore.kernel.org/20231013122658.1270506-3-leo@linaro.org > > Signed-off-by: Julien Grall > Reviewed-by: Michal Orzel Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.19] xen/arm64: domctl: Avoid unreachable code in subarch_do_domctl()

2023-10-23 Thread Henry Wang
switch is not very easy to read. So move > out the nested switch in a separate function to improve the > readability and hopefully address the MISRA violation. > > Reported-by: Nicola Vetrini > Signed-off-by: Julien Grall Reviewed-by: Henry Wang > --- > Only c

Re: [PATCH] MAINTAINERS: make Michal Orzel ARM Maintainer

2023-10-23 Thread Henry Wang
Hi Stefano, > On Oct 24, 2023, at 04:56, Stefano Stabellini wrote: > > Signed-off-by: Stefano Stabellini I saw I was CCed so: Release-acked-by: Henry Wang Kind regards, Henry > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINE

Xen 4.18 rc4

2023-10-23 Thread Henry Wang
Hi all, Xen 4.18 rc4 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.18.0-rc4 For your convenience there is also a tarball at: https://downloads.xenproject.org/release/xen/4.18.0-rc4/xen-4.18.0-rc4.tar.gz And the signature is at:

[PATCH v3 4/4] CHANGELOG.md: Start new "unstable" section

2023-10-23 Thread Henry Wang
Signed-off-by: Henry Wang Acked-by: Stefano Stabellini --- v3: - Also uses "xenproject.org". v2: - Add Stefano's Acked-by tag. --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca7969699..721c067309 100644 --- a/CHANGELO

[PATCH v3 2/4] CHANGELOG.md: Use "xenbits.xenproject.org" in links

2023-10-23 Thread Henry Wang
Compared to "xenbits.xen.org", "xenbits.xenproject.org" appeared later as a name, with the intention of becoming the canonical one. Therefore, this commit unifies all the links to use "xenproject" in the links. Signed-off-by: Henry Wang --- v3: - New patch. --- CHA

[PATCH v3 3/4] CHANGELOG.md: Set 4.18 release date and tag

2023-10-23 Thread Henry Wang
Signed-off-by: Henry Wang --- v3: - Don't set the release date. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25d29fe59d..3ca7969699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Notable changes to Xen

[PATCH v3 0/4] Final CHANGELOG changes for 4.18

2023-10-23 Thread Henry Wang
the release date and tag of 4.18 release and should be included in both the staging and stable-4.18 once we branch. The fourth patch starts a new unstable section, so should be in unstable master/staging only. Thanks. Henry Wang (4): CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

[PATCH v3 1/4] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

2023-10-23 Thread Henry Wang
Signed-off-by: Henry Wang Acked-by: Stefano Stabellini --- v3: - No change. v2: - Rewording to be more specific, correct the number of rules. - Add Stefano's Acked-by tag. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f2694afbe

[PATCH v8 8/8] xen/arm: mmu: move MMU specific P2M code to mmu/p2m.{c,h}

2023-10-22 Thread Henry Wang
pportunity to add the missing 'U' as a compliance of MISRA. Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Signed-off-by: Henry Wang --- v8: - Note: The renaming of p2m_flush_vm() is not done due to the unclarity of other maintainers' ideas. - Also move P2M_ROOT_LEVEL, P2M_ROOT_ORDER and P2M_

[PATCH v8 4/8] xen/arm: Extract MMU-specific MM code

2023-10-22 Thread Henry Wang
to fix the in-code comment coding styles when possible, and drop the unnecessary #include headers in the original arm/mm.c. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Acked-by: Julien Grall --- v8: - Add Julien's Acked-by tag. v7: - Move pte_of_xenaddr() to mmu/setup.c and mark

[PATCH v8 6/8] xen/arm: Fold pmap and fixmap into MMU system

2023-10-22 Thread Henry Wang
GE_SIZE-1);" of copy_from_paddr(). Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Reviewed-by: Julien Grall --- v8: - Add a missing space before/after '-' in "s = paddr & (PAGE_SIZE-1);" of copy_from_paddr(), mention this change in commit message. - Add

[PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-10-22 Thread Henry Wang
secondary CPUs jumping into the C world. For arm64, set the SCTLR_Axx_ELx_WXN flag right when the MMU is enabled. This would avoid the extra TLB flush and SCTLR dance. Signed-off-by: Henry Wang Co-authored-by: Julien Grall Signed-off-by: Julien Grall --- v8: - Change the setting of SCTLR_Axx_ELx_WXN

[PATCH v8 7/8] xen/arm: Rename init_secondary_pagetables() to prepare_secondary_mm()

2023-10-22 Thread Henry Wang
t. Reword the in-code comment on top of prepare_secondary_mm() because this function is now supposed to be MMU/MPU agnostic. Take the opportunity to fix the incorrect coding style of the in-code comments. Signed-off-by: Penny Zheng Signed-off-by: Henry Wang Reviewed-by: Julien Grall --- v8: - Change t

[PATCH v8 2/8] xen/arm: Split MMU system SMP MM bringup code to mmu/smpboot.c

2023-10-22 Thread Henry Wang
-off-by: Henry Wang Signed-off-by: Penny Zheng Reviewed-by: Julien Grall --- v8: - Drop the unnecessary cast in virt_to_maddr((uintptr_t) xen_pgtable); - Add Julien's Reviewed-by tag. v7: - Do not export cpu0_pgtable, replace the variable usage in arch/arm/mmu/smpboot.c to per_cpu(xen_pgtable

[PATCH v8 5/8] xen/arm: Split MMU-specific setup_mm() and related code out

2023-10-22 Thread Henry Wang
of the function implementation. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Signed-off-by: Wei Chen Acked-by: Julien Grall --- v8: - Reword the commit message about making init_pdx() & co public. - Add Julien's Acked-by tag. v7: - No change. v6: - Rework the original patch: [v5,1

[PATCH v8 1/8] xen/arm: Split page table related code to mmu/pt.c

2023-10-22 Thread Henry Wang
table related functions and macros from arch/arm/mm.c to arch/arm/mmu/pt.c. Take the opportunity to fix the in-code comment coding styles when possible, and drop the unnecessary #include headers in the original arch/arm/mm.c. Signed-off-by: Henry Wang Signed-off-by: Penny Zheng Reviewed-by: Julien

[PATCH v8 0/8] xen/arm: Split MMU code as the prepration of MPU work

2023-10-22 Thread Henry Wang
...@arm.com/ [3] https://gitlab.com/xen-project/people/henryw/xen/-/pipelines/1045604579 Henry Wang (6): xen/arm: Split page table related code to mmu/pt.c xen/arm: Split MMU system SMP MM bringup code to mmu/smpboot.c xen/arm: Fold mmu_init_secondary_cpu() to head.S xen/arm: Extract MMU-specific

Re: [PATCH 2/3] CHANGELOG.md: Set 4.18 release date and tag

2023-10-20 Thread Henry Wang
Hi Jan, > On Oct 20, 2023, at 13:59, Jan Beulich wrote: > > On 20.10.2023 03:23, Henry Wang wrote: >> >> >>> On Oct 20, 2023, at 00:14, Stefano Stabellini >>> wrote: >>> >>> On Thu, 19 Oct 2023, Henry Wang wrote: >>>> Sig

[PATCH v2 3/3] CHANGELOG.md: Start new "unstable" section

2023-10-20 Thread Henry Wang
Signed-off-by: Henry Wang Acked-by: Stefano Stabellini --- v2: - Add Stefano's Acked-by tag. --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5857c51ac2..613365ca42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14

<    1   2   3   4   5   6   7   8   9   10   >