All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
@ 2019-01-15 15:39 bugzilla-daemon
  2019-01-15 16:22 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-15 15:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 916 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

            Bug ID: 109366
           Summary: NULL pointer at pcie_capability_read_dword with Radeon
                    SI vfio passthrough
           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: ryandbair@gmail.com

Created attachment 143131
  --> https://bugs.freedesktop.org/attachment.cgi?id=143131&action=edit
dmesg output

My guest is seeing the attached bug and call trace during boot. Kernel
4.20.2-200, also an issue on 4.19 series. 4.18 is similar with the older drm_
prefixed version of the function.

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

[-- Attachment #1.2: Type: text/html, Size: 2333 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
@ 2019-01-15 16:22 ` bugzilla-daemon
  2019-01-15 16:49 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-15 16:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 491 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

--- Comment #1 from Alex Williamson <alex.williamson@redhat.com> ---
Use a Q35 VM configuration with the assigned GPU downstream of an emulated PCIe
root port as a workaround.  The driver assumes this configuration, presumably
it's the only one that exists on bare metal, and reads from the upstream device
without checking that it is actually present.

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

[-- Attachment #1.2: Type: text/html, Size: 1334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
  2019-01-15 16:22 ` bugzilla-daemon
@ 2019-01-15 16:49 ` bugzilla-daemon
  2019-01-15 17:16 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-15 16:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DRM/AMDgpu                  |DRM/Radeon

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

[-- Attachment #1.2: Type: text/html, Size: 1102 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
  2019-01-15 16:22 ` bugzilla-daemon
  2019-01-15 16:49 ` bugzilla-daemon
@ 2019-01-15 17:16 ` bugzilla-daemon
  2019-01-17 14:12 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-15 17:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 617 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 143133
  --> https://bugs.freedesktop.org/attachment.cgi?id=143133&action=edit
possible fix

Does this patch fix it?  dGPUs are always add in cards, so they always plug
into an upstream port on bare metal.  The driver needs to query the upstream
port to determine what pcie gen speeds and lanes are available on the platform
so that the driver can properly adjust them at runtime to save power.

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

[-- Attachment #1.2: Type: text/html, Size: 1654 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-01-15 17:16 ` bugzilla-daemon
@ 2019-01-17 14:12 ` bugzilla-daemon
  2019-01-17 14:51 ` bugzilla-daemon
  2019-11-19  9:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-17 14:12 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 369 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

--- Comment #3 from Ryan Bair <ryandbair@gmail.com> ---
Thank you both for the responses. 

I can confirm using the Q35 machine type does not see this issue. 

I'm rebuilding a kernel today to test the patch and will report back.

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

[-- Attachment #1.2: Type: text/html, Size: 1199 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-01-17 14:12 ` bugzilla-daemon
@ 2019-01-17 14:51 ` bugzilla-daemon
  2019-11-19  9:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-17 14:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 255 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

--- Comment #4 from Ryan Bair <ryandbair@gmail.com> ---
I can confirm the attached patch does fix the issue for i440FX.

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

[-- Attachment #1.2: Type: text/html, Size: 1085 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough
  2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-01-17 14:51 ` bugzilla-daemon
@ 2019-11-19  9:34 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109366

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #5 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/861.

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

[-- Attachment #1.2: Type: text/html, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-11-19  9:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 15:39 [Bug 109366] NULL pointer at pcie_capability_read_dword with Radeon SI vfio passthrough bugzilla-daemon
2019-01-15 16:22 ` bugzilla-daemon
2019-01-15 16:49 ` bugzilla-daemon
2019-01-15 17:16 ` bugzilla-daemon
2019-01-17 14:12 ` bugzilla-daemon
2019-01-17 14:51 ` bugzilla-daemon
2019-11-19  9:34 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.