RE: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2022-01-19 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月19日 15:55 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA nod

Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2022-01-18 Thread Jan Beulich
On 19.01.2022 07:33, Wei Chen wrote: >> From: Jan Beulich >> Sent: 2022年1月18日 23:23 >> >> On 23.09.2021 14:02, Wei Chen wrote: >>> @@ -249,24 +250,26 @@ static int __init numa_emulation(u64 start_pfn, >> u64 end_pfn) >>> void __init numa_initmem_init(unsigned long start_pfn, unsigned long >> end_

RE: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2022-01-18 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月18日 23:23 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA nod

Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2022-01-18 Thread Jan Beulich
On 23.09.2021 14:02, Wei Chen wrote: > @@ -201,11 +201,12 @@ void __init numa_init_array(void) > static int numa_fake __initdata = 0; > > /* Numa emulation */ > -static int __init numa_emulation(u64 start_pfn, u64 end_pfn) > +static int __init numa_emulation(unsigned long start_pfn, > +

RE: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2021-09-23 Thread Wei Chen
..@xen.org > Subject: Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node > structure > > You forgot to add the x86 maintainers in CC to all the patches touching > x86 code in this series. Adding them now but you should probably resend. > I am very sorry about it. I re

Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2021-09-23 Thread Stefano Stabellini
You forgot to add the x86 maintainers in CC to all the patches touching x86 code in this series. Adding them now but you should probably resend. On Thu, 23 Sep 2021, Stefano Stabellini wrote: > On Thu, 23 Sep 2021, Wei Chen wrote: > > NUMA node structure "struct node" is using u64 as node memory

Re: [PATCH 07/37] xen/x86: use paddr_t for addresses in NUMA node structure

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Wei Chen wrote: > NUMA node structure "struct node" is using u64 as node memory > range. In order to make other architectures can reuse this > NUMA node relative code, we replace the u64 to paddr_t. And > use pfn_to_paddr and paddr_to_pfn to replace explicit shift > operations.