[PATCH 0/2] xen-paciback: Fixes for PCI passthrough of AMD GPU.

From: Marek Marczykowski-GÃrecki
Date: Sun Dec 02 2018 - 12:49:08 EST


I've got this patch series from Dwayne Litzenberger, as a fix for AMD GPU
passthrough. I don't have this hardware myself, so I can't test this, but he
claims it works. I'm not sure if allowing guest to enable/disable expansion ROM
is safe thing to do, but the comment in rom_write for me suggests it is but
wasn't considered necessary. Other than this uncertainty, the patches looks
good for me.

Originally posted here:
https://github.com/marmarek/qubes-linux-kernel/pulls/1

Cc: Dwayne Litzenberger <dlitz@xxxxxxxxx>

Dwayne Litzenberger (2):
xen-pciback: Fix error return in bar_write() and rom_write()
xen-pciback: Allow enabling/disabling expansion ROM

drivers/xen/xen-pciback/conf_space_header.c | 34 ++++++++++++++--------
1 file changed, 23 insertions(+), 11 deletions(-)

base-commit: 2e6e902d185027f8e3cb8b7305238f7e35d6a436
--
git-series 0.9.1