kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 204975] New: AMD-Vi: Command buffer timeout
@ 2019-09-23 23:06 bugzilla-daemon
  2019-09-23 23:07 ` [Bug 204975] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:06 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

            Bug ID: 204975
           Summary: AMD-Vi: Command buffer timeout
           Product: Virtualization
           Version: unspecified
    Kernel Version: 4.19.75
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: sss123next@list.ru
        Regression: No

Created attachment 285127
  --> https://bugzilla.kernel.org/attachment.cgi?id=285127&action=edit
dmesg fragment with error

i have "ASRock X470 Gaming K4" motherboard, and using pci-passthrough for
sometime already, working fine on bios version 1.90, had some troubles, but
working overall, unfortunately i decided to update bios to latest versions
(3.40, 3.50), and pci-passthrough stopped work at all, i guess problem rerlated
to new "AMD AGESA Combo-AM4 1.0.0.3", a little searching over internet confirms
what it's common problem across different boards, i do not know exactly is it
amd bug, kvm, bug, or kernel bug, i have already reported problem to board
manufacturer.

in console i get something like "vfio: cannot power on device, stuck in D3"
from qemu.

also a lot of warnings in dmesg (see attachments).

device still visible in lspci, but looks completely unresponsive.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
@ 2019-09-23 23:07 ` bugzilla-daemon
  2019-09-23 23:07 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:07 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #1 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285129
  --> https://bugzilla.kernel.org/attachment.cgi?id=285129&action=edit
dmesg frament with error

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
  2019-09-23 23:07 ` [Bug 204975] " bugzilla-daemon
@ 2019-09-23 23:07 ` bugzilla-daemon
  2019-09-23 23:08 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:07 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #2 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285131
  --> https://bugzilla.kernel.org/attachment.cgi?id=285131&action=edit
dmesg fragment with error

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
  2019-09-23 23:07 ` [Bug 204975] " bugzilla-daemon
  2019-09-23 23:07 ` bugzilla-daemon
@ 2019-09-23 23:08 ` bugzilla-daemon
  2019-09-23 23:08 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:08 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #3 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285133
  --> https://bugzilla.kernel.org/attachment.cgi?id=285133&action=edit
dmesg fragment with error (latest bios)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-09-23 23:08 ` bugzilla-daemon
@ 2019-09-23 23:08 ` bugzilla-daemon
  2019-09-23 23:09 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:08 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #4 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285135
  --> https://bugzilla.kernel.org/attachment.cgi?id=285135&action=edit
dmesg fragment with error (latest bios)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-09-23 23:08 ` bugzilla-daemon
@ 2019-09-23 23:09 ` bugzilla-daemon
  2019-09-23 23:09 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #5 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285137
  --> https://bugzilla.kernel.org/attachment.cgi?id=285137&action=edit
dmidecode output

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-09-23 23:09 ` bugzilla-daemon
@ 2019-09-23 23:09 ` bugzilla-daemon
  2019-09-23 23:20 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #6 from Gluzskiy Alexandr (sss123next@list.ru) ---
Created attachment 285139
  --> https://bugzilla.kernel.org/attachment.cgi?id=285139&action=edit
lspci output

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-09-23 23:09 ` bugzilla-daemon
@ 2019-09-23 23:20 ` bugzilla-daemon
  2019-09-23 23:32 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:20 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

Alex Williamson (alex.williamson@redhat.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.williamson@redhat.com

--- Comment #7 from Alex Williamson (alex.williamson@redhat.com) ---
When we get the "stuck in D3" message, it usually means that we're getting back
-1 on config space reads rather than the device is actually stuck in D3.  The
-1 return probably means the downstream bus never recovered when we issued a
secondary bus reset to perform a reset on the GPU.  This seems to be common
with AGESA updates and AFAICT indicates a hardware/firmware issue, not a kernel
issue.  As you indicate, it worked previously and started failing after BIOS
update.  This is the common story, AMD needs to fix secondary bus reset support
on their root ports.  I believe some users have had success rolling back their
BIOS to a previous release.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-09-23 23:20 ` bugzilla-daemon
@ 2019-09-23 23:32 ` bugzilla-daemon
  2019-09-25 13:38 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-23 23:32 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #8 from Gluzskiy Alexandr (sss123next@list.ru) ---
i see, got it.
unfortunately manufacturer of this board decided to NOT provide downgrade
option for some reason.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (7 preceding siblings ...)
  2019-09-23 23:32 ` bugzilla-daemon
@ 2019-09-25 13:38 ` bugzilla-daemon
  2019-09-26 14:59 ` bugzilla-daemon
  2020-04-02 11:29 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-25 13:38 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #9 from Gluzskiy Alexandr (sss123next@list.ru) ---
is it possible to workaround this problem somehow ?
testing another board (x570 based), same problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (8 preceding siblings ...)
  2019-09-25 13:38 ` bugzilla-daemon
@ 2019-09-26 14:59 ` bugzilla-daemon
  2020-04-02 11:29 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-09-26 14:59 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

--- Comment #10 from Gluzskiy Alexandr (sss123next@list.ru) ---
https://community.amd.com/thread/241650 - link to amd own forums for reference.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 204975] AMD-Vi: Command buffer timeout
  2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
                   ` (9 preceding siblings ...)
  2019-09-26 14:59 ` bugzilla-daemon
@ 2020-04-02 11:29 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2020-04-02 11:29 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=204975

Masato Yoshida (masato@yoshi.dnsalias.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |masato@yoshi.dnsalias.com

--- Comment #11 from Masato Yoshida (masato@yoshi.dnsalias.com) ---
BioStar's X570GT8 motherboard AGESA 1.0.0.4 patch B has the same error.
OS ubuntu 19.10
kernel 5.4.21

By setting the PCI-E speed to Gen2 in UEFI BIOS, no error occurs and
pass-through can be performed without any problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-04-02 11:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23 23:06 [Bug 204975] New: AMD-Vi: Command buffer timeout bugzilla-daemon
2019-09-23 23:07 ` [Bug 204975] " bugzilla-daemon
2019-09-23 23:07 ` bugzilla-daemon
2019-09-23 23:08 ` bugzilla-daemon
2019-09-23 23:08 ` bugzilla-daemon
2019-09-23 23:09 ` bugzilla-daemon
2019-09-23 23:09 ` bugzilla-daemon
2019-09-23 23:20 ` bugzilla-daemon
2019-09-23 23:32 ` bugzilla-daemon
2019-09-25 13:38 ` bugzilla-daemon
2019-09-26 14:59 ` bugzilla-daemon
2020-04-02 11:29 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).