Re: [PATCH v3 06/14] xen/asm-generic: introduce generic header percpu.h

2023-11-24 Thread Julien Grall
Hi Oleksii, On 17/11/2023 12:24, Oleksii Kurochko wrote: The patch introduces generic percpu.h which was based on Arm's version with the following changes: * makes __per_cpu_data_end[] constant * introduce get_per_cpu_offset() for macros this_cpu() and this_cpu_ptr() * add inclustion of a

Re: [PATCH v3 06/14] xen/asm-generic: introduce generic header percpu.h

2023-11-21 Thread Oleksii
On Tue, 2023-11-21 at 16:56 +0100, Jan Beulich wrote: > On 17.11.2023 13:24, Oleksii Kurochko wrote: > > --- a/xen/arch/ppc/include/asm/current.h > > +++ b/xen/arch/ppc/include/asm/current.h > > @@ -4,6 +4,8 @@ > >   > >  #include > >   > > +#include > > + > >  #ifndef __ASSEMBLY__ > >   > >  str

Re: [PATCH v3 06/14] xen/asm-generic: introduce generic header percpu.h

2023-11-21 Thread Jan Beulich
On 17.11.2023 13:24, Oleksii Kurochko wrote: > --- a/xen/arch/ppc/include/asm/current.h > +++ b/xen/arch/ppc/include/asm/current.h > @@ -4,6 +4,8 @@ > > #include > > +#include > + > #ifndef __ASSEMBLY__ > > struct vcpu; > @@ -38,6 +40,10 @@ static inline struct cpu_info *get_cpu_info(voi

[PATCH v3 06/14] xen/asm-generic: introduce generic header percpu.h

2023-11-17 Thread Oleksii Kurochko
The patch introduces generic percpu.h which was based on Arm's version with the following changes: * makes __per_cpu_data_end[] constant * introduce get_per_cpu_offset() for macros this_cpu() and this_cpu_ptr() * add inclustion of as get_per_cpu_offset() is located there. Also it was changed a