[RFC XEN PATCH 5/6] tools/libs/call: add linux os call to get gsi from irq

2023-03-11 Thread Huang Rui
From: Chen Jiqian When passthrough gpu to guest, usersapce can only get irq instead of gsi. But it should pass gsi to guest, so that guest can get interrupt signal. So, provide function to get gsi. Signed-off-by: Chen Jiqian Signed-off-by: Huang Rui --- tools/include/xen-sys/Linux/privcmd.h |

[RFC XEN PATCH 6/6] tools/libs/light: pci: translate irq to gsi

2023-03-11 Thread Huang Rui
From: Chen Jiqian Use new xc_physdev_gsi_from_irq to get the GSI number Signed-off-by: Chen Jiqian Signed-off-by: Huang Rui --- tools/libs/light/libxl_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c index f4c4f17545..47cf27

[RFC XEN PATCH 4/6] x86/pvh: PVH dom0 also need PHYSDEVOP_setup_gsi call

2023-03-11 Thread Huang Rui
From: Chen Jiqian Signed-off-by: Chen Jiqian Signed-off-by: Huang Rui --- xen/arch/x86/hvm/hypercall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/hypercall.c b/xen/arch/x86/hvm/hypercall.c index 16a2f5c0b3..fce786618c 100644 --- a/xen/arch/x86/hvm/hypercall.c +++ b/xe

[RFC XEN PATCH 3/6] x86/pvh: shouldn't check pirq flag when map pirq in PVH

2023-03-11 Thread Huang Rui
From: Chen Jiqian PVH is also hvm type domain, but PVH hasn't X86_EMU_USE_PIRQ flag. So, when dom0 is PVH and call PHYSDEVOP_map_pirq, it will fail at check has_pirq(); Signed-off-by: Chen Jiqian Signed-off-by: Huang Rui --- xen/arch/x86/hvm/hypercall.c | 2 -- 1 file changed, 2 deletions(-)

[RFC XEN PATCH 2/6] vpci: accept BAR writes if dom0 is PVH

2023-03-11 Thread Huang Rui
From: Chen Jiqian When dom0 is PVH and we want to passthrough gpu to guest, we should allow BAR writes even through BAR is mapped. If not, the value of BARs are not initialized when guest firstly start. Signed-off-by: Chen Jiqian Signed-off-by: Huang Rui --- xen/drivers/vpci/header.c | 2 +-

[RFC XEN PATCH 0/6] Introduce VirtIO GPU and Passthrough GPU support on Xen PVH dom0

2023-03-11 Thread Huang Rui
Hi all, In graphic world, the 3D applications/games are runing based on open graphic libraries such as OpenGL and Vulkan. Mesa is the Linux implemenatation of OpenGL and Vulkan for multiple hardware platforms. Because the graphic libraries would like to have the GPU hardware acceleration. In virtu

[RFC XEN PATCH 1/6] x86/pvh: report ACPI VFCT table to dom0 if present

2023-03-11 Thread Huang Rui
From: Roger Pau Monne The VFCT ACPI table is used by AMD GPUs to expose the vbios ROM image from the firmware instead of doing it on the PCI ROM on the physical device. As such, this needs to be available for PVH dom0 to access, or else the GPU won't work. Reported-by: Huang Rui Signed-off-by:

[qemu-mainline test] 179561: regressions - trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179561 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/179561/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt 14 guest-start fail REGR. vs. 179518 test-amd64-amd64-

[linux-linus test] 179554: regressions - trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179554 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/179554/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-credit1 17 guest-saverestorefail REGR. vs. 178042 test-amd64-amd64-fr

[linux-5.4 test] 179558: regressions - trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179558 linux-5.4 real [real] flight 179565 linux-5.4 real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/179558/ http://logs.test-lab.xenproject.org/osstest/logs/179565/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: t

Re: [PATCH v2 0/6] Resolve TYPE_PIIX3_XEN_DEVICE

2023-03-11 Thread Chuck Zmudzinski
On 2/9/2023 4:53 PM, Bernhard Beschow wrote: > Am 1. Februar 2023 08:11:10 UTC schrieb Bernhard Beschow : > > > > > >Am 24. Januar 2023 17:07:30 UTC schrieb Bernhard Beschow : > >> > >> > >>Am 24. Januar 2023 16:11:47 UTC schrieb Anthony PERARD > >>: > >>>On Wed, Jan 18, 2023 at 05:13:03AM -0500,

[libvirt test] 179549: tolerable trouble: pass/starved - PUSHED

2023-03-11 Thread osstest service owner
flight 179549 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/179549/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt-xsm 15 migrate-support-checkfail never pass test-amd64-i386-libvirt 15 migrate-s

[qemu-mainline test] 179548: regressions - trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179548 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/179548/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-libvirt 14 guest-start fail REGR. vs. 179518 test-amd64-amd64-

[xen-unstable test] 179546: tolerable trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179546 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/179546/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-xsm7 xen-install fail like 179529 test-amd64-amd64-xl-qemut-win7-amd64

Re: [XEN PATCH] x86/monitor: Add new monitor event to catch I/O instructions

2023-03-11 Thread Tamas K Lengyel
On Fri, Mar 10, 2023 at 10:57 PM Dmitry Isaykin wrote: > > Adds monitor support for I/O instructions. > > Signed-off-by: Dmitry Isaykin > Signed-off-by: Anton Belousov > --- > tools/include/xenctrl.h| 1 + > tools/libs/ctrl/xc_monitor.c | 13 + > xen/arch/

Re: [PATCH v4 1/4] PCI: Introduce pci_dev_for_each_resource()

2023-03-11 Thread Dan Carpenter
Hi Andy, https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/PCI-Introduce-pci_dev_for_each_resource/20230311-011642 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link

[linux-linus test] 179545: regressions - trouble: fail/pass/starved

2023-03-11 Thread osstest service owner
flight 179545 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/179545/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl

[ovmf test] 179552: all pass - PUSHED

2023-03-11 Thread osstest service owner
flight 179552 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/179552/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf d2bfe289668e32940cca5da12bc201bf9b6c84d8 baseline version: ovmf 9b94ebb0c826ad9a747f9