Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii
On Wed, 2023-09-06 at 16:57 +0100, Anthony PERARD wrote: > On Fri, Sep 01, 2023 at 07:02:14PM +0300, Oleksii Kurochko wrote: > > diff --git a/xen/Makefile b/xen/Makefile > > index f57e5a596c..698d6ddeb8 100644 > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -667,6 +669,12 @@ endif #

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Anthony PERARD
On Fri, Sep 01, 2023 at 07:02:14PM +0300, Oleksii Kurochko wrote: > diff --git a/xen/Makefile b/xen/Makefile > index f57e5a596c..698d6ddeb8 100644 > --- a/xen/Makefile > +++ b/xen/Makefile > @@ -667,6 +669,12 @@ endif # need-sub-make > PHONY += FORCE > FORCE: > > +# Support for using generic

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Anthony PERARD
On Wed, Sep 06, 2023 at 01:03:32PM +, Bertrand Marquis wrote: > > On 6 Sep 2023, at 13:37, Oleksii wrote: > > On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: > >>> diff --git a/xen/scripts/Makefile.asm-generic > >>> b/xen/scripts/Makefile.asm-generic > >>> new file mode 100644 >

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii
On Wed, 2023-09-06 at 16:06 +0100, Anthony PERARD wrote: > On Wed, Sep 06, 2023 at 02:40:29PM +0200, Jan Beulich wrote: > > On 06.09.2023 14:28, Oleksii wrote: > > > On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote: > > > > You've removed quite a bit of functionality, comparing with the > > >

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Anthony PERARD
On Wed, Sep 06, 2023 at 02:40:29PM +0200, Jan Beulich wrote: > On 06.09.2023 14:28, Oleksii wrote: > > On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote: > >> You've removed quite a bit of functionality, comparing with the Linux > >> original. May I ask why that is? What they have all makes

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Bertrand Marquis
Hi Oleksii, > On 6 Sep 2023, at 13:37, Oleksii wrote: > > Hello Bertrand > > On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: >>> diff --git a/xen/scripts/Makefile.asm-generic >>> b/xen/scripts/Makefile.asm-generic >>> new file mode 100644 >>> index 00..0aac3f50b8 >>> ---

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Jan Beulich
On 06.09.2023 14:28, Oleksii wrote: > On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote: >> On 01.09.2023 18:02, Oleksii Kurochko wrote: >>> --- /dev/null >>> +++ b/xen/scripts/Makefile.asm-generic >>> @@ -0,0 +1,23 @@ >>> +# SPDX-License-Identifier: GPL-2.0 >> >> While this is what the Linux

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii
On Wed, 2023-09-06 at 14:16 +0200, Jan Beulich wrote: > On 01.09.2023 18:02, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/scripts/Makefile.asm-generic > > @@ -0,0 +1,23 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > While this is what the Linux file presently says, you still want to >

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Jan Beulich
On 01.09.2023 18:02, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/scripts/Makefile.asm-generic > @@ -0,0 +1,23 @@ > +# SPDX-License-Identifier: GPL-2.0 While this is what the Linux file presently says, you still want to add "-only", which is merely the newer name for the same thing. > +#

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii
Hello Bertrand On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: > > diff --git a/xen/scripts/Makefile.asm-generic > > b/xen/scripts/Makefile.asm-generic > > new file mode 100644 > > index 00..0aac3f50b8 > > --- /dev/null > > +++ b/xen/scripts/Makefile.asm-generic > > @@ -0,0

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii
On Tue, 2023-09-05 at 14:10 +, Bertrand Marquis wrote: > Hi Oleksii, > > > On 5 Sep 2023, at 15:37, Oleksii > > wrote: > > > > Hi Bertrand, > > > > On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: > > > Hi Oleksii, > > > > > > > On 1 Sep 2023, at 18:02, Oleksii Kurochko > > > >

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-05 Thread Bertrand Marquis
Hi Oleksii, > On 5 Sep 2023, at 15:37, Oleksii wrote: > > Hi Bertrand, > > On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: >> Hi Oleksii, >> >>> On 1 Sep 2023, at 18:02, Oleksii Kurochko >>> wrote: >>> >>> Some headers are shared between individual architectures or are >>> empty.

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-05 Thread Oleksii
Hi Bertrand, On Mon, 2023-09-04 at 13:39 +, Bertrand Marquis wrote: > Hi Oleksii, > > > On 1 Sep 2023, at 18:02, Oleksii Kurochko > > wrote: > > > > Some headers are shared between individual architectures or are > > empty. > > To avoid duplication of these headers, asm-generic is

Re: [PATCH v4 1/2] xen: asm-generic support

2023-09-04 Thread Bertrand Marquis
Hi Oleksii, > On 1 Sep 2023, at 18:02, Oleksii Kurochko wrote: > > Some headers are shared between individual architectures or are empty. > To avoid duplication of these headers, asm-generic is introduced. > > With the following patch, an architecture uses generic headers > mentioned in the

[PATCH v4 1/2] xen: asm-generic support

2023-09-01 Thread Oleksii Kurochko
Some headers are shared between individual architectures or are empty. To avoid duplication of these headers, asm-generic is introduced. With the following patch, an architecture uses generic headers mentioned in the file arch/$(ARCH)/include/asm/Kbuild. To use a generic header is needed to add