Re: [PATCH] video: fbdev: offb: Call pci_enable_device() before using the PCI VGA device

From
Tomi Valkeinen <hidden>
Date
2016-09-27 07:55:33
Reply to
Yongji Xie, 2016-09-13
On 13/09/16 08:53, Yongji Xie wrote:
Currently the offb module will use the PCI VGA device as frame
buffer device without calling something like pci_enable_device().
However, this would cause some problem if we disable memory
decoding of the upstream bridge before. When the console driver
issued memory access to the VGA device, the access cannot be
supported by the bridge which will cause EEH error on Power machine.

Signed-off-by: Yongji Xie <redacted>
---
 drivers/video/fbdev/offb.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Thanks, queued for 4.9.

 Tomi

Attachments

Thread (3 messages) 3 messages, 2 authors, 2016-09-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help