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 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-27 Thread Jan Beulich
On 27.01.2022 10:03, Wei Chen wrote: >> From: Jan Beulich >> Sent: 2022年1月27日 16:09 >> >> On 27.01.2022 09:03, Wei Chen wrote: From: Jan Beulich Sent: 2022年1月25日 0:59 On 23.09.2021 14:02, Wei Chen wrote: > We will reuse nodes_cover_memory for Arm to check its bootmem >

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 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-27 Thread Jan Beulich
On 27.01.2022 09:03, Wei Chen wrote: >> From: Jan Beulich >> Sent: 2022年1月25日 0:59 >> >> On 23.09.2021 14:02, Wei Chen wrote: >>> We will reuse nodes_cover_memory for Arm to check its bootmem >>> info. So we introduce two arch helpers to get memory map's >>> entry number and specified entry's rang

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 12/37] xen/x86: decouple nodes_cover_memory from E820 map

2022-01-24 Thread Jan Beulich
On 23.09.2021 14:02, Wei Chen wrote: > We will reuse nodes_cover_memory for Arm to check its bootmem > info. So we introduce two arch helpers to get memory map's > entry number and specified entry's range: > arch_get_memory_bank_number > arch_get_memory_bank_range I'm sorry, but personally

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

2021-09-23 Thread Stefano Stabellini
+x86 maintainers On Thu, 23 Sep 2021, Wei Chen wrote: > We will reuse nodes_cover_memory for Arm to check its bootmem > info. So we introduce two arch helpers to get memory map's > entry number and specified entry's range: > arch_get_memory_bank_number > arch_get_memory_bank_range > > De

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

2021-09-23 Thread Wei Chen
We will reuse nodes_cover_memory for Arm to check its bootmem info. So we introduce two arch helpers to get memory map's entry number and specified entry's range: arch_get_memory_bank_number arch_get_memory_bank_range Depends above two helpers, we make nodes_cover_memory become architectur