RE: [PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it common

2021-01-18 Thread Paul Durrant
no Stabellini > ; Julien Grall > Subject: [PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it > common > > From: Oleksandr Tyshchenko > > As a lot of x86 code can be re-used on Arm later on, this > patch makes some preparation to x86/hvm/ioreq.c before moving >

Re: [PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it common

2021-01-16 Thread Oleksandr
On 15.01.21 18:41, Jan Beulich wrote: Hi Jan On 12.01.2021 22:52, Oleksandr Tyshchenko wrote: @@ -1080,6 +1104,27 @@ int hvm_unmap_io_range_from_ioreq_server(struct domain *d, ioservid_t id, return rc; } +/* Called with ioreq_server lock held */ +int arch_ioreq_server_map_mem_ty

Re: [PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it common

2021-01-15 Thread Jan Beulich
On 12.01.2021 22:52, Oleksandr Tyshchenko wrote: > @@ -1080,6 +1104,27 @@ int hvm_unmap_io_range_from_ioreq_server(struct domain > *d, ioservid_t id, > return rc; > } > > +/* Called with ioreq_server lock held */ > +int arch_ioreq_server_map_mem_type(struct domain *d, > +

Re: [PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it common

2021-01-15 Thread Julien Grall
Hi Oleksandr, On 12/01/2021 21:52, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko As a lot of x86 code can be re-used on Arm later on, this patch makes some preparation to x86/hvm/ioreq.c before moving to the common code. This way we will get a verbatim copy for a code movement in subs

[PATCH V4 01/24] x86/ioreq: Prepare IOREQ feature for making it common

2021-01-12 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko As a lot of x86 code can be re-used on Arm later on, this patch makes some preparation to x86/hvm/ioreq.c before moving to the common code. This way we will get a verbatim copy for a code movement in subsequent patch. This patch mostly introduces specific hooks to abst