> -----Original Message----- > From: Xen-devel <xen-devel-boun...@lists.xenproject.org> On Behalf Of > Oleksandr Tyshchenko > Sent: 12 January 2021 21:52 > To: xen-devel@lists.xenproject.org > Cc: Oleksandr Tyshchenko <oleksandr_tyshche...@epam.com>; Jan Beulich > <jbeul...@suse.com>; Andrew > Cooper <andrew.coop...@citrix.com>; Roger Pau Monné <roger....@citrix.com>; > Wei Liu <w...@xen.org>; > George Dunlap <george.dun...@citrix.com>; Ian Jackson <i...@xenproject.org>; > Julien Grall > <jul...@xen.org>; Stefano Stabellini <sstabell...@kernel.org>; Paul Durrant > <p...@xen.org>; Julien > Grall <julien.gr...@arm.com> > Subject: [PATCH V4 21/24] xen/ioreq: Make x86's send_invalidate_req() common > > From: Oleksandr Tyshchenko <oleksandr_tyshche...@epam.com> > > As the IOREQ is a common feature now and we also need to > invalidate qemu/demu mapcache on Arm when the required condition > occurs this patch moves this function to the common code > (and remames it to ioreq_signal_mapcache_invalidate). > This patch also moves per-domain qemu_mapcache_invalidate > variable out of the arch sub-struct (and drops "qemu" prefix). > > We don't put this variable inside the #ifdef CONFIG_IOREQ_SERVER > at the end of struct domain, but in the hole next to the group > of 5 bools further up which is more efficient. > > The subsequent patch will add mapcache invalidation handling on Arm. > > Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshche...@epam.com> > CC: Julien Grall <julien.gr...@arm.com> > [On Arm only] > Tested-by: Wei Chen <wei.c...@arm.com>
Reviewed-by: Paul Durrant <p...@xen.org>