From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94530] AMD R9 Nano reset problem Date: Mon, 14 Mar 2016 09:55:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1623055206==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8061D6E646 for ; Mon, 14 Mar 2016 09:55:40 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1623055206== Content-Type: multipart/alternative; boundary="14579493400.Eee525.16690"; charset="UTF-8" --14579493400.Eee525.16690 Date: Mon, 14 Mar 2016 09:55:40 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94530 Bug ID: 94530 Summary: AMD R9 Nano reset problem Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: creakbeat@gmail.com I am trying to passthrough R9 Nano to a VM, and facing some problems. After Windows 7 has been installed, the latest AMD Crimson edition driver is installed. At first time, the driver works properly. There appears to have the problem when I power off the vm and restart it. The driver was not working until I reboot the host. Here is my system. Manufacturer: Supermicro Product Name: X10DAi CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz memory: 8GB linux kernel: 3.19.0 $ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.19.0 root=UUID=fc28306a-e168-406a-805d-cadf70de53ec ro quiet splash intel-iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 vt.handoff=7 I tried to use qemu version 2.3.1, 2.4.1, and 2.5.1. I also added the device id number into the function vfio_setup_resetfn(), but the problem remains. I start my virtual machine with the following code. qemu-system-x86_64 -enable-kvm \ -M pc -m 4096 -cpu host \ -smp 4,sockets=1,cores=4,threads=1 \ -rtc base=localtime \ -vnc :0 \ -vga none \ -device lsi,id=scsi0,bus=pci.0 \ -device vfio-pci,host=03:00.0,x-vga=on \ -device vfio-pci,host=03:00.1 \ -hda $1 \ -monitor stdio -- You are receiving this mail because: You are the assignee for the bug. --14579493400.Eee525.16690 Date: Mon, 14 Mar 2016 09:55:40 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94530
Summary AMD R9 Nano reset problem
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter creakbeat@gmail.com

I am trying to passthrough R9 Nano to a VM, and facing some problems. After
Windows 7 has been installed, the latest AMD Crimson edition driver is
installed. At first time, the driver works properly. There appears to have the
problem when I power off the vm and restart it. The driver was not working
until I reboot the host.

Here is my system.

Manufacturer: Supermicro
Product Name: X10DAi
CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
memory: 8GB 
linux kernel: 3.19.0

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.19.0 root=UUID=fc28306a-e168-406a-805d-cadf70de53ec
ro quiet splash intel-iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1
vt.handoff=7

I tried to use qemu version 2.3.1, 2.4.1, and 2.5.1. 
I also added the device id number into the function vfio_setup_resetfn(), but
the problem remains.

I start my virtual machine with the following code.

qemu-system-x86_64 -enable-kvm \
-M pc -m 4096 -cpu host \
-smp 4,sockets=1,cores=4,threads=1 \
-rtc base=localtime \
-vnc :0 \
-vga none \
-device lsi,id=scsi0,bus=pci.0 \
-device vfio-pci,host=03:00.0,x-vga=on \
-device vfio-pci,host=03:00.1 \
-hda $1 \
-monitor stdio


You are receiving this mail because:
  • You are the assignee for the bug.
--14579493400.Eee525.16690-- --===============1623055206== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1623055206==--