On 23.09.2021 14:54, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko <[email protected]> > > Reset the command register when passing through a PCI device: > it is possible that when passing through a PCI device its memory > decoding bits in the command register are already set. Thus, a > guest OS may not write to the command register to update memory > decoding, so guest mappings (guest's view of the BARs) are > left not updated. > > Signed-off-by: Oleksandr Andrushchenko <[email protected]> > > --- > Since v1: > - do not write 0 to the command register, but respect host settings. > --- > xen/drivers/vpci/header.c | 17 +++++++++++++---- > 1 file changed, 13 insertions(+), 4 deletions(-) > Reviewed-by: Michal Orzel <[email protected]>
- [PATCH v2 07/11] vpci/header: program p2m with gue... Oleksandr Andrushchenko
- [PATCH v2 04/11] vpci/header: Add and remove regis... Oleksandr Andrushchenko
- [PATCH v2 03/11] vpci/header: Move register assign... Oleksandr Andrushchenko
- [PATCH v2 06/11] vpci/header: Handle p2m range set... Oleksandr Andrushchenko
- [PATCH v2 02/11] vpci: Add hooks for PCI device as... Oleksandr Andrushchenko
- [PATCH v2 05/11] vpci/header: Implement guest BAR ... Oleksandr Andrushchenko
- [PATCH v2 01/11] vpci: Make vpci registers removal... Oleksandr Andrushchenko
- [PATCH v2 08/11] vpci/header: Emulate PCI_COMMAND ... Oleksandr Andrushchenko
- Re: [PATCH v2 08/11] vpci/header: Emulate PCI... Michal Orzel
- [PATCH v2 09/11] vpci/header: Reset the command re... Oleksandr Andrushchenko
- Re: [PATCH v2 09/11] vpci/header: Reset the c... Michal Orzel
- [PATCH v2 11/11] xen/arm: Translate virtual PCI bu... Oleksandr Andrushchenko
- Re: [PATCH v2 11/11] xen/arm: Translate virtu... Jan Beulich
- Re: [PATCH v2 11/11] xen/arm: Translate v... Oleksandr Andrushchenko
- Re: [PATCH v2 11/11] xen/arm: Transla... Jan Beulich
- Re: [PATCH v2 11/11] xen/arm: Tra... Oleksandr Andrushchenko
- Re: [PATCH v2 11/11] xen/arm... Jan Beulich
- Re: [PATCH v2 11/11] xen... Oleksandr Andrushchenko
- Re: [PATCH v2 11/11] xen... Jan Beulich
- Re: [PATCH v2 11/11] xen... Oleksandr Andrushchenko
- [PATCH v2 10/11] vpci: Add initial support for vir... Oleksandr Andrushchenko
