Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Oleksandr
On 11.11.20 18:28, Paul Durrant wrote: Hi Paul. d->ioreq_server.server[id] = s; + +if ( s ) +d->ioreq_server.nr_servers++; +else +d->ioreq_server.nr_servers--; } #define GET_IOREQ_SERVER(d, id) \ diff --git a/xen/include/xen/ioreq.h

Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Oleksandr
On 11.11.20 15:27, Jan Beulich wrote: Hi Jan. } #define GET_IOREQ_SERVER(d, id) \ diff --git a/xen/include/xen/ioreq.h b/xen/include/xen/ioreq.h index 7b03ab5..0679fef 100644 --- a/xen/include/xen/ioreq.h +++ b/xen/include/xen/ioreq.h @@ -55,6 +55,20 @@ struct ioreq_server {

RE: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Paul Durrant
Liu' > ; 'Julien Grall' > ; p...@xen.org; xen-devel@lists.xenproject.org > Subject: Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server() > > On 11.11.2020 09:41, Oleksandr wrote: > > > > On 11.11.20 10:08, Jan Beulich wrote: > > > > Hi Jan > &g

Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Jan Beulich
ellini ; >>>>> Julien Grall ; Volodymyr Babchuk >>>>> ; Andrew Cooper >>>>> ; George Dunlap ; >>>>> Ian Jackson >>>>> ; Jan Beulich ; Wei Liu >>>>> ; Paul Durrant >>>>> ; Julien Grall >

Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Oleksandr
: Oleksandr Tyshchenko ; Stefano Stabellini ; Julien Grall ; Volodymyr Babchuk ; Andrew Cooper ; George Dunlap ; Ian Jackson ; Jan Beulich ; Wei Liu ; Paul Durrant ; Julien Grall Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server() From: Oleksandr Tyshchenko This patch

Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-11 Thread Jan Beulich
To: xen-devel@lists.xenproject.org >>> Cc: Oleksandr Tyshchenko ; Stefano >>> Stabellini ; >>> Julien Grall ; Volodymyr Babchuk >>> ; Andrew Cooper >>> ; George Dunlap ; Ian >>> Jackson >>> ; Jan Beulich ; Wei Liu >>>

Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-11-10 Thread Oleksandr
Cooper ; George Dunlap ; Ian Jackson ; Jan Beulich ; Wei Liu ; Paul Durrant ; Julien Grall Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server() From: Oleksandr Tyshchenko This patch introduces a helper the main purpose of which is to check if a domain is using IOREQ server(s

RE: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-10-20 Thread Paul Durrant
kson > ; Jan Beulich ; Wei Liu > ; Paul Durrant > ; Julien Grall > Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server() > > From: Oleksandr Tyshchenko > > This patch introduces a helper the main purpose of which is to check > if a domain is using IOR

[PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()

2020-10-15 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko This patch introduces a helper the main purpose of which is to check if a domain is using IOREQ server(s). On Arm the current benefit is to avoid calling handle_io_completion() (which implies iterating over all possible IOREQ servers anyway) on every return in