RE: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-19 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月19日 15:50 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 04/37] xen: introduce an arch helper for default dma

Re: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-18 Thread Jan Beulich
On 19.01.2022 03:49, Wei Chen wrote: > Hi Jan, > >> -Original Message- >> From: Jan Beulich >> Sent: 2022年1月18日 22:16 >> To: Wei Chen >> Cc: Bertrand Marquis ; xen- >> de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org >> S

RE: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-18 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月18日 22:16 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 04/37] xen: introduce an arch helper for default dma

Re: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-18 Thread Jan Beulich
On 18.01.2022 10:20, Wei Chen wrote: >> From: Jan Beulich >> Sent: 2022年1月18日 16:16 >> >> On 18.01.2022 08:51, Wei Chen wrote: From: Jan Beulich Sent: 2022年1月18日 0:11 On 23.09.2021 14:02, Wei Chen wrote: > In current code, when Xen is running in a multiple nodes NUMA > syst

RE: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-18 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月18日 16:16 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 04/37] xen: introduce an arch helper for default dma

Re: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-18 Thread Jan Beulich
On 18.01.2022 08:51, Wei Chen wrote: >> -Original Message- >> From: Jan Beulich >> Sent: 2022年1月18日 0:11 >> On 23.09.2021 14:02, Wei Chen wrote: >>> In current code, when Xen is running in a multiple nodes NUMA >>> system, it will set dma_bitsize in end_boot_allocator to reserve >>> some l

RE: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-17 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月18日 0:11 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 04/37] xen: introduce an arch helper for default dma

Re: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2022-01-17 Thread Jan Beulich
I realize this series has been pending for a long time, but I don't recall any indication that it would have been dropped. Hence as a first try, a few comments on this relatively simple change. I'm sorry it to have taken so long to get to it. On 23.09.2021 14:02, Wei Chen wrote: > In current code,

RE: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2021-09-23 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2021年9月24日 7:56 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org; > Bertrand Marquis > Subject: Re: [PATCH 04/37] xen: introduce an arch helper for defa

Re: [PATCH 04/37] xen: introduce an arch helper for default dma zone status

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Wei Chen wrote: > In current code, when Xen is running in a multiple nodes NUMA > system, it will set dma_bitsize in end_boot_allocator to reserve > some low address memory for DMA. > > There are some x86 implications in current implementation. Becuase

[PATCH 04/37] xen: introduce an arch helper for default dma zone status

2021-09-23 Thread Wei Chen
In current code, when Xen is running in a multiple nodes NUMA system, it will set dma_bitsize in end_boot_allocator to reserve some low address memory for DMA. There are some x86 implications in current implementation. Becuase on x86, memory starts from 0. On a multiple nodes NUMA system, if a sin