Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-27 Thread Jan Beulich
On 27.01.2021 13:22, Oleksandr wrote: > On 27.01.21 12:24, Jan Beulich wrote: >> On 21.01.2021 09:50, Oleksandr wrote: >>> On 20.01.21 17:50, Julien Grall wrote: On 17/01/2021 18:52, Oleksandr wrote: > error2.txt - when add #include to xen/ioreq.h It looks like the error is happening

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-27 Thread Oleksandr
On 27.01.21 12:24, Jan Beulich wrote: Hi Jan On 21.01.2021 09:50, Oleksandr wrote: On 20.01.21 17:50, Julien Grall wrote: On 17/01/2021 18:52, Oleksandr wrote: error2.txt - when add #include to xen/ioreq.h It looks like the error is happening in dm.c rather than xen/dm.h. Any reason to n

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-27 Thread Jan Beulich
On 21.01.2021 09:50, Oleksandr wrote: > On 20.01.21 17:50, Julien Grall wrote: >> On 17/01/2021 18:52, Oleksandr wrote: >>> error2.txt - when add #include to xen/ioreq.h >> >> It looks like the error is happening in dm.c rather than xen/dm.h. Any >> reason to not include in dm.c directly? > Incl

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-21 Thread Stefano Stabellini
On Thu, 21 Jan 2021, Oleksandr wrote: > On 20.01.21 21:47, Stefano Stabellini wrote: > > On Wed, 20 Jan 2021, Julien Grall wrote: > > > Hi Stefano, > > > > > > On 20/01/2021 00:50, Stefano Stabellini wrote: > > > > On Tue, 19 Jan 2021, Oleksandr wrote: > > > > > diff --git a/xen/arch/arm/ioreq.c b

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-21 Thread Oleksandr
On 20.01.21 02:23, Stefano Stabellini wrote: Hi Stefano On Sun, 17 Jan 2021, Oleksandr wrote: On 15.01.21 02:55, Stefano Stabellini wrote: On Tue, 12 Jan 2021, Oleksandr Tyshchenko wrote: From: Julien Grall This patch adds basic IOREQ/DM support on Arm. The subsequent patches will impro

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-21 Thread Oleksandr
On 20.01.21 21:47, Stefano Stabellini wrote: Hi Julien, Stefano On Wed, 20 Jan 2021, Julien Grall wrote: Hi Stefano, On 20/01/2021 00:50, Stefano Stabellini wrote: On Tue, 19 Jan 2021, Oleksandr wrote: diff --git a/xen/arch/arm/ioreq.c b/xen/arch/arm/ioreq.c index 40b9e59..0508bd8 100644

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-21 Thread Oleksandr
On 20.01.21 17:50, Julien Grall wrote: Hi Oleksandr, Hi Julien On 17/01/2021 18:52, Oleksandr wrote:   diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h index 6819a3b..c235e5b 100644 --- a/xen/include/asm-arm/domain.h +++ b/xen/include/asm-arm/domain.h @@ -10,6

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-20 Thread Stefano Stabellini
On Wed, 20 Jan 2021, Julien Grall wrote: > Hi Stefano, > > On 20/01/2021 00:50, Stefano Stabellini wrote: > > On Tue, 19 Jan 2021, Oleksandr wrote: > > > diff --git a/xen/arch/arm/ioreq.c b/xen/arch/arm/ioreq.c > > > index 40b9e59..0508bd8 100644 > > > --- a/xen/arch/arm/ioreq.c > > > +++ b/xen/ar

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-20 Thread Julien Grall
Hi Stefano, On 20/01/2021 00:50, Stefano Stabellini wrote: On Tue, 19 Jan 2021, Oleksandr wrote: diff --git a/xen/arch/arm/ioreq.c b/xen/arch/arm/ioreq.c index 40b9e59..0508bd8 100644 --- a/xen/arch/arm/ioreq.c +++ b/xen/arch/arm/ioreq.c @@ -101,12 +101,10 @@ enum io_state try_fwd_ioserv(struct

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-20 Thread Julien Grall
Hi Oleksandr, On 17/01/2021 18:52, Oleksandr wrote:   diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h index 6819a3b..c235e5b 100644 --- a/xen/include/asm-arm/domain.h +++ b/xen/include/asm-arm/domain.h @@ -10,6 +10,7 @@   #include   #include   #include +#include M

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-19 Thread Stefano Stabellini
On Tue, 19 Jan 2021, Oleksandr wrote: > > > > > > >   PROGRESS(xen): > > > > > > >   ret = relinquish_memory(d, &d->xenpage_list); > > > > > > >   if ( ret ) > > > > > > > diff --git a/xen/arch/arm/io.c b/xen/arch/arm/io.c > > > > > > > index ae7ef96..9814481 100644 > > > > > >

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-19 Thread Stefano Stabellini
On Sun, 17 Jan 2021, Oleksandr wrote: > On 15.01.21 02:55, Stefano Stabellini wrote: > > On Tue, 12 Jan 2021, Oleksandr Tyshchenko wrote: > > > From: Julien Grall > > > > > > This patch adds basic IOREQ/DM support on Arm. The subsequent > > > patches will improve functionality and add remaining b

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-19 Thread Oleksandr
Hi Julien +   PROGRESS(xen):   ret = relinquish_memory(d, &d->xenpage_list);   if ( ret ) diff --git a/xen/arch/arm/io.c b/xen/arch/arm/io.c index ae7ef96..9814481 100644 --- a/xen/arch/arm/io.c +++ b/xen/arch/arm/io.c @@ -16,6 +16,7 @@    * GNU General Public Licen

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-18 Thread Julien Grall
Hi Oleksandr, On 17/01/2021 18:52, Oleksandr wrote: On 17.01.21 20:07, Julien Grall wrote: On 17/01/2021 17:11, Oleksandr wrote: On 15.01.21 22:26, Julien Grall wrote: Hi Julien Hi Oleksandr, Hi Julien +   PROGRESS(xen):   ret = relinquish_memory(d, &d->xenpage_li

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-18 Thread Oleksandr
On 18.01.21 18:00, Jan Beulich wrote: Hi Jan On 18.01.2021 16:52, Oleksandr wrote: On 18.01.21 12:44, Jan Beulich wrote: On 17.01.2021 18:11, Oleksandr wrote: On 15.01.21 22:26, Julien Grall wrote: On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: --- a/xen/arch/arm/io.c +++ b/xen/arch/ar

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-18 Thread Jan Beulich
On 18.01.2021 16:52, Oleksandr wrote: > On 18.01.21 12:44, Jan Beulich wrote: >> On 17.01.2021 18:11, Oleksandr wrote: >>> On 15.01.21 22:26, Julien Grall wrote: On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: > --- a/xen/arch/arm/io.c > +++ b/xen/arch/arm/io.c > @@ -16,6 +16,7 @@

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-18 Thread Oleksandr
On 18.01.21 12:44, Jan Beulich wrote: Hi Jan On 17.01.2021 18:11, Oleksandr wrote: On 15.01.21 22:26, Julien Grall wrote: On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: --- a/xen/arch/arm/io.c +++ b/xen/arch/arm/io.c @@ -16,6 +16,7 @@    * GNU General Public License for more details.  

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-18 Thread Jan Beulich
On 17.01.2021 18:11, Oleksandr wrote: > On 15.01.21 22:26, Julien Grall wrote: >> On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: >>> --- a/xen/arch/arm/io.c >>> +++ b/xen/arch/arm/io.c >>> @@ -16,6 +16,7 @@ >>>    * GNU General Public License for more details. >>>    */ >>>   +#include >>>   #in

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-17 Thread Oleksandr
On 17.01.21 20:07, Julien Grall wrote: On 17/01/2021 17:11, Oleksandr wrote: On 15.01.21 22:26, Julien Grall wrote: Hi Julien Hi Oleksandr, Hi Julien +   PROGRESS(xen):   ret = relinquish_memory(d, &d->xenpage_list);   if ( ret ) diff --git a/xen/arch/arm/io

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-17 Thread Julien Grall
On 17/01/2021 17:11, Oleksandr wrote: On 15.01.21 22:26, Julien Grall wrote: Hi Julien Hi Oleksandr, +   PROGRESS(xen):   ret = relinquish_memory(d, &d->xenpage_list);   if ( ret ) diff --git a/xen/arch/arm/io.c b/xen/arch/arm/io.c index ae7ef96..9814481 100644 ---

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-17 Thread Oleksandr
On 15.01.21 22:26, Julien Grall wrote: Hi Julien On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 18cafcd..8f55aba 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -15,6 +15,7 @@   #include   #include   #in

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-17 Thread Oleksandr
On 15.01.21 02:55, Stefano Stabellini wrote: Hi Stefano On Tue, 12 Jan 2021, Oleksandr Tyshchenko wrote: From: Julien Grall This patch adds basic IOREQ/DM support on Arm. The subsequent patches will improve functionality and add remaining bits. The IOREQ/DM features are supposed to be bu

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-15 Thread Julien Grall
On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 18cafcd..8f55aba 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include

Re: [PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-14 Thread Stefano Stabellini
On Tue, 12 Jan 2021, Oleksandr Tyshchenko wrote: > From: Julien Grall > > This patch adds basic IOREQ/DM support on Arm. The subsequent > patches will improve functionality and add remaining bits. > > The IOREQ/DM features are supposed to be built with IOREQ_SERVER > option enabled, which is dis

[PATCH V4 14/24] arm/ioreq: Introduce arch specific bits for IOREQ/DM features

2021-01-12 Thread Oleksandr Tyshchenko
From: Julien Grall This patch adds basic IOREQ/DM support on Arm. The subsequent patches will improve functionality and add remaining bits. The IOREQ/DM features are supposed to be built with IOREQ_SERVER option enabled, which is disabled by default on Arm for now. Please note, the "PIO handlin