RE: [PATCH V2 00/23] IOREQ feature (+ virtio-mmio) on Arm

2020-11-01 Thread Wei Chen
0 records in 64+0 records out 67108864 bytes (64.0MB) copied, 3.196242 seconds, 20.0MB/s / # dd if=/dev/zero of=/dev/vda bs=1M count=64 64+0 records in 64+0 records out 67108864 bytes (64.0MB) copied, 3.704594 seconds, 17.3MB/s - The read/write seems OK in dom-U. The FVP

RE: [PATCH V2 23/23] [RFC] libxl: Add support for virtio-disk configuration

2020-11-08 Thread Wei Chen
Hi Oleksandr, > -Original Message- > From: Xen-devel On Behalf Of > Oleksandr Tyshchenko > Sent: 2020年10月16日 0:45 > To: xen-devel@lists.xenproject.org > Cc: Oleksandr Tyshchenko ; Ian Jackson > ; Wei Liu ; Anthony PERARD > ; Julien Grall ; Stefano Stabellini > > Subject: [PATCH V2 23/23]

RE: [PATCH] xen/arm: Add Cortex-A73 erratum 858921 workaround

2020-11-09 Thread Wei Chen
Hi Penny, > -Original Message- > From: Penny Zheng > Sent: 2020年11月9日 16:21 > To: xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Cc: Andre Przywara ; Bertrand Marquis > ; Wei Chen ; Penny Zheng > ; Kaly Xin ; nd > Subject: [PATCH]

RE: [PATCH V2 23/23] [RFC] libxl: Add support for virtio-disk configuration

2020-11-10 Thread Wei Chen
Hi Oleksandr, > -Original Message- > From: Oleksandr > Sent: 2020年11月11日 8:53 > To: Wei Chen ; xen-devel@lists.xenproject.org > Cc: Oleksandr Tyshchenko ; Ian Jackson > ; Wei Liu ; Anthony PERARD > ; Julien Grall ; Stefano Stabellini > > Subject: Re: [PATCH

RE: [PATCH] xen/arm: Add Cortex-A73 erratum 858921 workaround

2020-11-12 Thread Wei Chen
HI Julien, > -Original Message- > From: Julien Grall > Sent: 2020年11月9日 20:04 > 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/arm: Ad

RE: [PATCH] xen/arm: Add workaround for Cortex-A76/Neoverse-N1 erratum #1286807

2020-11-16 Thread Wei Chen
other observers. The workaround repeats the TLBI+DSB operation. > > > > Signed-off-by: Michal Orzel > Reviewed-by: Bertrand Marquis > Reviewed-by: Wei Chen > Cheers > Bertrand > > > --- > > docs/misc/arm/silicon-errata.txt | 2 ++ > > xen/arch/arm

RE: [PATCH] xen/arm: Add Cortex-A73 erratum 858921 workaround

2020-11-25 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2020年11月26日 8:00 > To: Wei Chen > Cc: Julien Grall ; Penny Zheng ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; Andre Przywara > ; Bertrand Marquis ; > Kaly Xin ; nd > Subjec

RE: [PATCH] xen/arm: Add Cortex-A73 erratum 858921 workaround

2020-11-26 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2020年11月26日 18:55 > To: Wei Chen ; Stefano Stabellini > Cc: Penny Zheng ; xen-devel@lists.xenproject.org; > Andre Przywara ; Bertrand Marquis > ; Kaly Xin ; nd > > Subject: Re: [PATCH] xen/arm: Ad

RE: [PATCH V6 00/24] IOREQ feature (+ virtio-mmio) on Arm

2021-01-29 Thread Wei Chen
Hi Oleksandr, I just tested the v6 and the latest backend service with the latest staging branch. They work well. Tested-by: Wei Chen Cheers, Wei Chen > -Original Message- > From: Oleksandr Tyshchenko > Sent: 2021年1月29日 9:48 > To: xen-devel@lists.xenproject.org >

[PATCH] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-17 Thread Wei Chen
). In this case, on N1/A76/A75 platforms, Xen will always miss the float pointer registers save/restore. If different vCPUs are running on the same pCPU, the float pointer registers will be corrupted randomly. This patch fixes Xen on these new cores. Signed-off-by: Wei Chen --- xen/include/asm-arm

Re: About VIRTIO support on Xen

2020-08-20 Thread Wei Chen
Thank you very much! It’s very valuable information. Regards, > 在 2020年8月20日,19:02,Julien Grall 写道: > > On Thu, 20 Aug 2020 at 11:59, Julien Grall wrote: >> >> >> >>> On 20/08/2020 05:45, Jedi Chen wrote: >>> Hi xen-devel, >> >> Hi, >> >>> >>> I am very interesting about the VIRTIO on X

RE: [PATCH] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-20 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2020年8月18日 17:51 > To: Wei Chen ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Andre Przywara ; Bertrand Marquis > ; Steve Capper ; > Kaly Xin > Subject: Re: [PATCH] xen/arm: Miss

RE: [PATCH] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-20 Thread Wei Chen
Hi Julien, Andre, Bertrand, Thanks for your comments. It took me some time to remove the disclaimer message. And please see my comments below : ) > -Original Message- > From: Bertrand Marquis > Sent: 2020年8月18日 21:42 > To: Andre Przywara > Cc: Wei Chen

[PATCH v2 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-23 Thread Wei Chen
x1 can also take effect. But what Xen done for value <= 0x1 may not always cover new value 0x2 required. We throw these messages to break the silence when Xen detected unknown FP/SIMD IDs to notice user to check. Signed-off-by: Wei Chen --- xen/arch/arm/setup.c | 26 -

[PATCH v2 0/2] Fix Guest random crash on Cortex-N1/A76/A75 cores

2020-08-23 Thread Wei Chen
n Xen detects known FP/SIMD features. --- v1 --> v2: 1. Use "< 8" instead of "<= 1" to detect FP/SIMD features. 2. Give messages for unknown FP/SIMD features. 3. Fix typos. v1: https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00857.html Wei Chen (2)

[PATCH v2 1/2] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-23 Thread Wei Chen
In this case, on N1/A76/A75 platforms, Xen will always miss the floating pointer registers save/restore. If different vCPUs are running on the same pCPU, the floating pointer registers will be corrupted randomly. This patch fixes Xen on these new cores. Signed-off-by: Wei Chen Reviewed-by: Bertr

RE: [PATCH v2 1/2] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-24 Thread Wei Chen
Hi, > -Original Message- > From: Julien Grall > Sent: 2020年8月24日 21:15 > To: Wei Chen ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Andre Przywara ; Bertrand Marquis > ; Penny Zheng ; > Kaly Xin ; nd > Subject: Re: [PATCH v2 1/2] xen

RE: [PATCH v2 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-24 Thread Wei Chen
Hi Julien, Bertrand, > -Original Message- > From: Julien Grall > Sent: 2020年8月25日 1:23 > To: Bertrand Marquis > Cc: Wei Chen ; Xen-devel de...@lists.xenproject.org>; sstabell...@kernel.org; Andre Przywara > ; Penny Zheng ; Kaly > Xin ; nd > Subject: Re: [P

[PATCH v3 0/2] Fix Guest random crash on Cortex-N1/A76/A75 cores

2020-08-25 Thread Wei Chen
https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00857.html Wei Chen (2): xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch xen/arm: Throw messages for unknown FP/SIMD implement ID xen/arch/arm/setup.c | 12 xen/include/asm-arm/cpufeatu

[PATCH v3 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-25 Thread Wei Chen
x1 can also take effect. But what Xen done for value <= 0x1 may not always cover new value 0x2 required. We throw these messages to break the silence when Xen detected unknown FP/SIMD IDs to notice user to check. Signed-off-by: Wei Chen Reviewed-by: Bertrand Marquis --- xen/arch/ar

[PATCH v3 1/2] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-25 Thread Wei Chen
In this case, on N1/A76/A75 platforms, Xen will always miss the floating pointer registers save/restore. If different vCPUs are running on the same pCPU, the floating pointer registers will be corrupted randomly. This patch fixes Xen on these new cores. Signed-off-by: Wei Chen Reviewed-by: Bertr

RE: [PATCH v3 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-25 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2020年8月25日 19:18 > To: Wei Chen ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Andre Przywara ; Bertrand Marquis > ; Penny Zheng ; Kaly > Xin ; nd > Subject: Re: [PATCH v3 2/2]

[PATCH v4 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-25 Thread Wei Chen
x1 can also take effect. But what Xen done for value <= 0x1 may not always cover new value 0x2 required. We throw these messages to break the silence when Xen detected unknown FP/SIMD IDs to notice user to check. Signed-off-by: Wei Chen --- xen/arch/arm/setup.c | 12 1 file ch

[PATCH v4 0/2] Fix Guest random crash on Cortex-N1/A76/A75 cores

2020-08-25 Thread Wei Chen
features. 2. Give messages for unknown FP/SIMD features. 3. Fix typos. v1: https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00857.html Wei Chen (2): xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch xen/arm: Throw messages for unknown FP/SIMD implement ID

[PATCH v4 1/2] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-25 Thread Wei Chen
In this case, on N1/A76/A75 platforms, Xen will always miss the floating pointer registers save/restore. If different vCPUs are running on the same pCPU, the floating pointer registers will be corrupted randomly. This patch fixes Xen on these new cores. Signed-off-by: Wei Chen Reviewed-by: Bertr

RE: [PATCH v4 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-27 Thread Wei Chen
Hi Bertand, > -Original Message- > From: Bertrand Marquis > Sent: 2020年8月27日 22:13 > To: Wei Chen > Cc: Xen-devel ; sstabell...@kernel.org; > jul...@xen.org; Andre Przywara ; Penny Zheng > ; Kaly Xin ; nd > Subject: Re: [PATCH v4 2/2] xen/arm: Throw messag

[PATCH v5 1/2] xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch

2020-08-27 Thread Wei Chen
In this case, on N1/A76/A75 platforms, Xen will always miss the floating pointer registers save/restore. If different vCPUs are running on the same pCPU, the floating pointer registers will be corrupted randomly. This patch fixes Xen on these new cores. Signed-off-by: Wei Chen Reviewed-by: Bertr

[PATCH v5 2/2] xen/arm: Throw messages for unknown FP/SIMD implement ID

2020-08-27 Thread Wei Chen
x1 can also take effect. But what Xen done for value <= 0x1 may not always cover new value 0x2 required. We throw these messages to break the silence when Xen detected unknown FP/SIMD IDs to notice user to check. Signed-off-by: Wei Chen Reviewed-by: Bertrand Marquis Acked-by: Julien Grall

[PATCH v5 0/2] Fix Guest random crash on Cortex-N1/A76/A75 cores

2020-08-27 Thread Wei Chen
ot;<= 1" to detect FP/SIMD features. 2. Give messages for unknown FP/SIMD features. 3. Fix typos. v1: https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00857.html Wei Chen (2): xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch xen/arm: Throw messages

Proposal for Porting Xen to Armv8-R64 - DraftB

2022-03-24 Thread Wei Chen
we need to switch the MPU configuration later. 8. Add alternative proposal in TODO. 9. Add use tool to generate Xen Armv8-R device tree in TODO. 10. Add Xen PIC/PIE discussion in TODO. 11. Add Xen event channel support in TODO. ## Contributors: Wei Chen Penny Zheng ## 1. Essential Backgro

RE: [PATCH] xen/arm: set CPSR Z bit when creating aarch32 guests

2022-03-24 Thread Wei Chen
PSR_Z to be able to boot Linux kernel versions with an invalid > + * encoding of the first 8 NOP instructions. See commit a92882a4d270 in > + * Linux. > + * > + * Note that PSR_Z is also set by U-Boot and QEMU -kernel when loading > + * zImage kernels on aarch32. > + */ > +#define PS

[PATCH v2 00/10] Device tree based NUMA support for Arm - Part#1

2022-04-18 Thread Wei Chen
UG_ON in phys_to_nid. 5. Move MAX_NUMNODES from xen/numa.h to asm/numa.h for x86. 6. Extend the description of Arm's workaround for reserve DMA allocations to avoid the same discussion every time for arch_have_default_dmazone. 7. Update commit messages. Wei Chen (10): xen/arm: Print a 64-bit

[PATCH v2 01/10] xen/arm: Print a 64-bit number in hex from early uart

2022-04-18 Thread Wei Chen
0100 booting - In this patch, we increased the print loops and shift bits to make putn print 64-bit number. Signed-off-by: Wei Chen Acked-by: Julien Grall --- xen/arch/arm/arm64/head.S | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/xen/arch/arm/arm64/head.S b

[PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-18 Thread Wei Chen
Most of the functions in x86 EFI stub.c can be reused for other architectures. So we move them to common and keep the x86 specific function in stub-x86.c. Signed-off-by: Wei Chen --- v1 -> v2: 1. Drop the copy of stub.c from Arm EFI. 2. Share common codes of x86 EFI stub for other architectu

[PATCH v2 03/10] xen/arm: add CONFIG_ARM_EFI to stub EFI API

2022-04-18 Thread Wei Chen
-off-by: Wei Chen --- v1 -> v2: 1. Use CONFIG_ARM_EFI to replace CONFIG_EFI 2. Remove help text and make CONFIG_ARM_EFI invisible. 3. Merge one following patch: xen/arm: introduce a stub file for non-EFI architectures 4. Use the common stub.c instead of creating new one. --- xen/arch/arm/Kcon

[PATCH v2 06/10] xen: introduce an arch helper for default dma zone status

2022-04-18 Thread Wei Chen
e reservation or not. At the same time, when x86 Xen is built with CONFIG_PV=n could probably leverage this new helper to actually not trigger DMA zone reservation. Signed-off-by: Wei Chen --- v1 -> v2: 1. Extend the description of Arm's workaround for reserve DMA allocations to avo

[PATCH v2 07/10] xen: decouple NUMA from ACPI in Kconfig

2022-04-18 Thread Wei Chen
two NUMA implementations, so in this patch we decouple NUMA from ACPI based NUMA in Kconfig. Make NUMA as a common feature, that device tree based NUMA also can select it. Signed-off-by: Wei Chen Reviewed-by: Jan Beulich --- xen/arch/x86/Kconfig | 2 +- xen/arch/x86/include/asm

[PATCH v2 04/10] xen/arm: Keep memory nodes in device tree when Xen boots from EFI

2022-04-18 Thread Wei Chen
early_scan_node to parse memory nodes in EFI boot. Signed-off-by: Wei Chen --- v1 -> v2: 1. Move this patch from later to early of this series. 2. Refine commit message. --- xen/arch/arm/bootfdt.c | 8 +++- xen/arch/arm/efi/efi-boot.h | 25 - 2 files changed, 7

[PATCH v2 08/10] xen/arm: use !CONFIG_NUMA to keep fake NUMA API

2022-04-18 Thread Wei Chen
code still able to work with NUMA aware memory allocation and scheduler. Signed-off-by: Wei Chen Reviewed-by: Stefano Stabellini --- xen/arch/arm/include/asm/numa.h | 5 + 1 file changed, 5 insertions(+) diff --git a/xen/arch/arm/include/asm/numa.h b/xen/arch/arm/include/asm/numa.h index

[PATCH v2 05/10] xen/x86: Use ASSERT instead of VIRTUAL_BUG_ON for phys_to_nid

2022-04-18 Thread Wei Chen
a[nid].node_spanned_pages. Because when node_spanned_pages is 0, this node has no memory, numa_scan_node will print warning message for such kind of nodes: "Firmware Bug or mis-configured hardware?". Signed-off-by: Wei Chen --- v1 -> v2: 1. Use ASSERT to replace VIRTUAL_BUG_ON in phys_

[PATCH v2 10/10] xen/x86: add detection of memory interleaves for different nodes

2022-04-18 Thread Wei Chen
er, on a physical machine, the addresses of multiple nodes can be interleaved. So in this patch, we add code to detect memory interleaves of different nodes. NUMA initialization will be failed and error messages will be printed when Xen detect such hardware configuration. Signed-off-by: Wei Chen -

RE: Proposal for Porting Xen to Armv8-R64 - DraftB

2022-04-18 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年4月15日 8:41 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; jul...@xen.org; Stefano Stabellini > ; Bertrand Marquis ; > Penny Zheng > Subject: Re: Proposal for Porting Xen to Armv8-R64

[PATCH v2 09/10] xen/x86: use paddr_t for addresses in NUMA node structure

2022-04-19 Thread Wei Chen
have been replaced by PRIpaddr at the same time. And some being-phased-out types like u64 in the lines we have touched also have been converted to uint64_t or unsigned long. Signed-off-by: Wei Chen --- v1 ->v2: 1. Drop useless cast. 2. Use initializers of the variables. 3. Replace u64 by uin

RE: [PATCH v2 00/10] Device tree based NUMA support for Arm - Part#1

2022-04-19 Thread Wei Chen
Hi, I am sorry, I had added a wrong address--to=xen-devel@lists.xenproject.org in this series' recipient address by mistake. When you reply to this series, please remember to remove it. I'm sorry for the inconvenience again! Cheers, Wei Chen > -Original Message----- > From:

Re: Problem creating domU guest on arm64

2022-04-19 Thread Wei Chen
target=/data/a1.img',         'format=raw, vdev=xvdc, access=r, devtype=cdrom, Have you tried to remove cdrom from your DomU config? I am not sure cdrom can work well for Arm without device model. Cheers, Wei Chen target=/home/xen/alpine-virt-3.15.3-armv7.iso'  ] # Network confi

RE: Proposal for Porting Xen to Armv8-R64 - DraftB

2022-04-20 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年4月20日 9:50 > To: Wei Chen > Cc: Stefano Stabellini ; xen- > de...@lists.xenproject.org; jul...@xen.org; Bertrand Marquis > ; Penny Zheng > Subject: RE: Proposal for Porting Xen to Armv8-

RE: Problem creating domU guest on arm64

2022-04-20 Thread Wei Chen
email format to plain text. This will make Xen folks read your email easily. Cheers, Wei Chen From: Xen-devel On Behalf Of Marco Cacre Sent: 2022年4月20日 18:55 To: xen-devel@lists.xenproject.org Subject: Re: Problem creating domU guest on arm64 Hi all, I did several attempts but I have always

Re: [PATCH v2 06/10] xen: introduce an arch helper for default dma zone status

2022-04-21 Thread Wei Chen
Hi Jan, On 2022/4/19 17:18, Jan Beulich wrote: On 18.04.2022 11:07, Wei Chen wrote: --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1889,7 +1889,7 @@ void __init end_boot_allocator(void) } nr_bootmem_regions = 0; -if ( !dma_bitsize && (num_online_nod

Re: [PATCH v2 01/10] xen/arm: Print a 64-bit number in hex from early uart

2022-04-21 Thread Wei Chen
Hi Jiamei, On 2022/4/19 17:13, Jiamei Xie wrote: Hi Wei, -Original Message- From: Xen-devel On Behalf Of Wei Chen Sent: 2022年4月18日 17:07 To: --to=xen-devel@lists.xenproject.org; xen-devel@lists.xenproject.org Cc: nd ; Wei Chen ; Stefano Stabellini ; Julien Grall ; Bertrand Marquis

Re: [PATCH v2 03/10] xen/arm: add CONFIG_ARM_EFI to stub EFI API

2022-04-21 Thread Wei Chen
Hi Stefano, On 2022/4/21 8:25, Stefano Stabellini wrote: On Mon, 18 Apr 2022, Wei Chen wrote: x86 is using compiler feature testing to decide EFI build enable or not. When EFI build is disabled, x86 will use a efi/stub.c file to replace efi/runtime.c for build objects. Following this idea, we

Re: Proposal for Porting Xen to Armv8-R64 - DraftB

2022-04-21 Thread Wei Chen
Hi Stefano, On 2022/4/21 5:08, Stefano Stabellini wrote: On Wed, 20 Apr 2022, Wei Chen wrote: On Tue, 19 Apr 2022, Wei Chen wrote: ### 3.2. Xen Event Channel Support In Current RFC patches we haven't enabled the event channel support. But I think it's good opportunity

Re: Proposal for Porting Xen to Armv8-R64 - DraftB

2022-04-22 Thread Wei Chen
Hi Stefano, Reply for non-Eventchannel comments: On 2022/4/15 8:41, Stefano Stabellini wrote: On Fri, 25 Mar 2022, Wei Chen wrote: # Proposal for Porting Xen to Armv8-R64 ... ## 2. Proposed changes of Xen ### **2.1. Changes of build system:** - ***Introduce new Kconfig options for Armv8

Re: [PATCH] xen/arm: fix SBDF calculation for vPCI MMIO handlers

2021-11-02 Thread Wei Chen
Hi Oleksandr, On 2021/11/1 14:14, Oleksandr Andrushchenko wrote: On 29.10.21 10:33, Roger Pau Monné wrote: On Thu, Oct 28, 2021 at 05:55:25PM +, Oleksandr Andrushchenko wrote: On 28.10.21 19:03, Roger Pau Monné wrote: On Thu, Oct 28, 2021 at 02:23:34PM +, Oleksandr Andrushchenko wr

RE: [PATCH] xen/arm: fix SBDF calculation for vPCI MMIO handlers

2021-11-02 Thread Wei Chen
Hi Oleksandr, > -Original Message- > From: Oleksandr Andrushchenko > Sent: 2021年11月2日 15:47 > To: Wei Chen ; Roger Pau Monné > Cc: Julien Grall ; Bertrand Marquis > ; sstabell...@kernel.org; Rahul Singh > ; xen-devel@lists.xenproject.org > Subject: Re: [

Re: [PATCH] xen/smp: Support NULL IPI function pointers

2021-11-17 Thread Wei Chen
Hi Andrew, On 2021/11/18 0:48, Andrew Cooper wrote: There are several cases where the act of interrupting a remote processor has the required side effect. Explicitly allow NULL function pointers so the calling code doesn't have to provide a stub implementation. Signed-off-by: Andrew Cooper --

Re: [PATCH 2/2] x86/alternatives: adjust alternative_vcall0()

2021-11-17 Thread Wei Chen
\ Reviewed-by: Wei Chen

Re: [PATCH for-4.16 2/2] CHANGELOG: add missing entries for work during the 4.16 release cycle

2021-11-18 Thread Wei Chen
On 2021/11/17 22:07, Bertrand Marquis wrote: Hi Roger, On 17 Nov 2021, at 09:53, Roger Pau Monne wrote: Document some of the relevant changes during the 4.16 release cycle, likely more entries are missing. Signed-off-by: Roger Pau Monné --- CHANGELOG.md | 11 +++ 1 file changed, 11

RE: [PATCH] xen/smp: Support NULL IPI function pointers

2021-11-21 Thread Wei Chen
Hi Andrew, > -Original Message- > From: Andrew Cooper > Sent: 2021年11月18日 18:35 > To: Jan Beulich ; Andrew Cooper > ; Wei Chen > Cc: Roger Pau Monné ; Wei Liu ; Xen- > devel > Subject: Re: [PATCH] xen/smp: Support NULL IPI function pointers > > On 18/11

RE: [RFC PATCH] Added the logic to decode 32 bit ldr/str post-indexing instructions

2021-11-21 Thread Wei Chen
Hi Ayan, > -Original Message- > From: Xen-devel On Behalf Of Ayan > Kumar Halder > Sent: 2021年11月20日 0:52 > To: xen-devel@lists.xenproject.org > Cc: sstabell...@kernel.org; stefano.stabell...@xilinx.com; jul...@xen.org; > volodymyr_babc...@epam.com; Bertrand Marquis ; > Rahul Singh ; ayan

RE: [PATCH 09/37] xen/x86: introduce two helpers to access memory hotplug end

2022-01-25 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 0:25 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 09/37] xen/x86: introduce two helpers to access memory

RE: [PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2022-01-25 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 0:30 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 10/37] xen/x86: use helpers to access/update > mem_ho

RE: [PATCH 11/37] xen/x86: abstract neutral code from acpi_numa_memory_affinity_init

2022-01-26 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 0:51 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 11/37] xen/x86: abstract neutral code from > acpi_n

RE: [PATCH 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 0:59 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 12/37] xen/x86: decouple nodes_cover_memory from E820 >

RE: [PATCH 13/37] xen/x86: decouple processor_nodes_parsed from acpi numa functions

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 17:49 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 13/37] xen/x86: decouple processor_nodes_parsed from

RE: [PATCH 14/37] xen/x86: use name fw_numa to replace acpi_numa

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:13 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 14/37] xen/x86: use name fw_numa to replace acpi_numa

RE: [PATCH 15/37] xen/x86: rename acpi_scan_nodes to numa_scan_nodes

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:18 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 15/37] xen/x86: rename acpi_scan_nodes to >

RE: [PATCH 16/37] xen/x86: export srat_bad to external

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:22 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 16/37] xen/x86: export srat_bad to external > &g

RE: [PATCH 17/37] xen/x86: use CONFIG_NUMA to gate numa_scan_nodes

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:26 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 17/37] xen/x86: use CONFIG_NUMA to gate > numa_scan_

RE: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for non-EFI architecture

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:35 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for no

RE: [PATCH 21/37] xen/arm: Keep memory nodes in dtb for NUMA when boot from EFI

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 18:39 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 21/37] xen/arm: Keep memory nodes in dtb for NUMA

RE: [PATCH 16/37] xen/x86: export srat_bad to external

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月27日 16:37 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 16/37] xen/x86: export srat_bad to external > &g

RE: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for non-EFI architecture

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Xen-devel On Behalf Of Wei > Chen > Sent: 2022年1月27日 16:45 > To: Jan Beulich > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: RE: [PATCH 20/37] xen: introduce CONFIG

RE: [PATCH 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月27日 16:09 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 12/37] xen/x86: decouple nodes_cover_memory fr

RE: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for non-EFI architecture

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月27日 17:00 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for no

RE: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for non-EFI architecture

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月27日 17:17 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for no

RE: [PATCH 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-27 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月27日 17:22 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 12/37] xen/x86: decouple nodes_cover_memory fr

RE: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for non-EFI architecture

2022-01-27 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年1月27日 18:01 > To: Jan Beulich ; Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org > Subject: Re: [PATCH 20/37] xen: introduce CONFIG_EFI to stub API for no

Proposal for Porting Xen to Armv8-R64 - DraftA

2022-02-23 Thread Wei Chen
wo secure state, like GIC. But fortunately, most vendors will not link a two secure state GIC to Armv8-R64 processors. Current GIC driver can work well with single secure state GIC for Armv8-R64. 2. Xen should use secure hypervisor timer in Secure EL2. We will introduce a CONFIG_ARM_SECURE_STATE to make Xen to use secure registers for timer. ### **2.7. Changes of virtual device** Currently, we only support pass-through devices in guest. Because event channel, xen-bus, xen-storage and other advanced Xen features haven't been enabled in Armv8-R64. -- Cheers, Wei Chen

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-02-24 Thread Wei Chen
HI Ayan, > -Original Message- > From: Ayan Kumar Halder > Sent: 2022年2月24日 19:52 > To: Wei Chen ; xen-devel@lists.xenproject.org; > jul...@xen.org; Stefano Stabellini > Cc: Bertrand Marquis ; Penny Zheng > ; Henry Wang ; nd > Subject: Re: Proposal for Porting X

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-02-25 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年2月25日 8:56 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; jul...@xen.org; Stefano Stabellini > ; Bertrand Marquis ; > Penny Zheng ; Henry Wang ; nd > > Subject: Re: Proposal f

RE: [RFC PATCH 0/2] Introduce reserved Xenheap

2022-02-28 Thread Wei Chen
Hi Julien, > -Original Message- > From: Henry Wang > Sent: 2022年3月1日 10:11 > To: Julien Grall ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; Penny Zheng > Subject: RE: [RFC PATCH 0/2] Introduce reserve

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-02-28 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年2月26日 4:12 > To: Wei Chen ; Stefano Stabellini > > Cc: xen-devel@lists.xenproject.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: Re: Proposal for Porting Xen to Arm

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-02-28 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年2月26日 4:55 > To: Wei Chen ; xen-devel@lists.xenproject.org; Stefano > Stabellini > Cc: Bertrand Marquis ; Penny Zheng > ; Henry Wang ; nd > Subject: Re: Proposal for Porting Xen to Armv8-

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-01 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年2月26日 7:54 > To: Wei Chen > Cc: Stefano Stabellini ; xen- > de...@lists.xenproject.org; jul...@xen.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: RE: Proposal f

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-01 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年3月1日 21:17 > To: Wei Chen ; Stefano Stabellini > > Cc: xen-devel@lists.xenproject.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: Re: Proposal for Porting Xen to Armv8-R64

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-01 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年3月2日 7:39 > To: Wei Chen > Cc: Stefano Stabellini ; xen- > de...@lists.xenproject.org; jul...@xen.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: RE: Proposal f

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-02 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年3月3日 6:56 > To: Wei Chen > Cc: Stefano Stabellini ; xen- > de...@lists.xenproject.org; jul...@xen.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: RE: Proposal f

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-02 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年3月2日 18:25 > To: Wei Chen ; Stefano Stabellini > > Cc: xen-devel@lists.xenproject.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: Re: Proposal for Porting Xen to Arm

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-02 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年3月2日 20:00 > To: Wei Chen ; xen-devel@lists.xenproject.org; Stefano > Stabellini > Cc: Bertrand Marquis ; Penny Zheng > ; Henry Wang ; nd > Subject: Re: Proposal for Porting Xen to Armv8-R64 - Dr

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-02 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2022年3月3日 10:04 > To: Wei Chen > Cc: Stefano Stabellini ; xen- > de...@lists.xenproject.org; jul...@xen.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd ; george.dun...@citrix.com >

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-03 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年3月3日 17:15 > To: Wei Chen ; Stefano Stabellini > > Cc: xen-devel@lists.xenproject.org; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd > Subject: Re: Proposal for Porting Xen to Arm

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-03 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年3月4日 3:51 > To: Wei Chen ; xen-devel@lists.xenproject.org; Stefano > Stabellini > Cc: Bertrand Marquis ; Penny Zheng > ; Henry Wang ; nd > Subject: Re: Proposal for Porting Xen to Armv8-R64 - Dra

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-06 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Xen-devel On Behalf Of Wei > Chen > Sent: 2022年3月3日 10:07 > To: Julien Grall ; xen-devel@lists.xenproject.org; Stefano > Stabellini > Cc: Bertrand Marquis ; Penny Zheng > ; Henry Wang ; nd > Subject: RE: Proposal f

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-07 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Xen-devel On Behalf Of > Stefano Stabellini > Sent: 2022年3月8日 6:58 > To: Wei Chen > Cc: Julien Grall ; xen-devel@lists.xenproject.org; Stefano > Stabellini ; Bertrand Marquis > ; Penny Zheng ; Henry Wang > ; nd

RE: [PATCH 1/7] xen/arm64: head: Don't set x22 and update the documentation

2022-08-14 Thread Wei Chen
/* x22 := is_secondary_cpu */ > - > mrs x0, mpidr_el1 > ldr x13, =(~MPIDR_HWID_MASK) > bic x24, x0, x13 /* Mask out flags to get CPU ID */ > -- > 2.37.1 > Reviewed-by: Wei Chen

Re: [PATCH 2/7] xen/arm64: head: Introduce get_table_slot() and use it

2022-08-14 Thread Wei Chen
1, x2, x3 +create_table_entry boot_second, xen_fixmap, x0, 2, x1, x2, x3 /* Ensure any page table updates made above have occurred. */ dsb nshst Reviewed-by: Wei Chen

Re: [PATCH 3/7] xen/arm32: head: Introduce get_table_slot() and use it

2022-08-14 Thread Wei Chen
_second, xen_fixmap, r0, 2, mmu=1 /* Ensure any page table updates made above have occurred. */ dsb nshst Reviewed-by: Wei Chen

Re: [PATCH 4/7] xen/arm32: heap: Rework adr_l so it doesn't rely on where Xen is loaded

2022-08-14 Thread Wei Chen
p fixmap into boot_second */ mov_w r0, FIXMAP_ADDR(0) -create_table_entry boot_second, xen_fixmap, r0, 2, mmu=1 +create_table_entry boot_second, xen_fixmap, r0, 2 /* Ensure any page table updates made above have occurred. */ dsb nshst LGTM. Reviewed-by: Wei Chen

Re: [PATCH 5/7] xen/arm32: head: Move earlyprintk messages to .rodata.str

2022-08-14 Thread Wei Chen
mov pc, lr ENDPROC(putn) -hex:.ascii "0123456789abcdef" -.align 2 +RODATA_STR(hex, "0123456789abcdef") #else /* CONFIG_EARLY_PRINTK */ Reviewed-by: Wei Chen

RE: [PATCH] xen/arm: Add xen/arch/arm/efi/stub.c in .gitignore

2022-08-14 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2022年8月13日 3:20 > To: xen-devel@lists.xenproject.org > Cc: Wei Chen ; Bertrand Marquis > ; Julien Grall ; Andrew > Cooper ; George Dunlap > ; Jan Beulich ; Julien Grall > ; Stefano Stabellini ; Wei Li

  1   2   3   4   5   6   >