summaryrefslogtreecommitdiffstats
path: root/include/math-emu/op-4.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2019-02-14 00:21:31 +0100
committerJuergen Gross <jgross@suse.com>2019-02-18 06:49:46 +0100
commit7681f31ec9cdacab4fd10570be924f2cef6669ba (patch)
tree2c4cae265c019954a38b27525a1db464d9d55e31 /include/math-emu/op-4.h
parentxen-scsiback: mark expected switch fall-through (diff)
downloadlinux-7681f31ec9cdacab4fd10570be924f2cef6669ba.tar.xz
linux-7681f31ec9cdacab4fd10570be924f2cef6669ba.zip
xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
There is no need for this at all. Worst it means that if the guest tries to write to BARs it could lead (on certain platforms) to PCI SERR errors. Please note that with af6fc858a35b90e89ea7a7ee58e66628c55c776b "xen-pciback: limit guest control of command register" a guest is still allowed to enable those control bits (safely), but is not allowed to disable them and that therefore a well behaved frontend which enables things before using them will still function correctly. This is done via an write to the configuration register 0x4 which triggers on the backend side: command_write \- pci_enable_device \- pci_enable_device_flags \- do_pci_enable_device \- pcibios_enable_device \-pci_enable_resourcess [which enables the PCI_COMMAND_MEMORY|PCI_COMMAND_IO] However guests (and drivers) which don't do this could cause problems, including the security issues which XSA-120 sought to address. Reported-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/math-emu/op-4.h')
0 files changed, 0 insertions, 0 deletions