lkml.org 
[lkml]   [2015]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] PCI: Only enable IO window if supported
From
On Wed, Aug 5, 2015 at 9:50 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> If I understand you correctly, we might need to change the code
> in pci_read_bridge_io() as follows.
>
> From
>
> if (!(child->bus_flags & PCI_BUS_FLAGS_SUPPORTS_IO))
> return;
>
> to something like
>
> if (!(child->bus_flags & PCI_BUS_FLAGS_SUPPORTS_IO)) {
> if (dev->transparent)
> return;
> child->bus_flags |= PCI_BUS_FLAGS_SUPPORTS_IO;
> }
>
Then how about: the root bus really does not support IO PORT resource.


\
 
 \ /
  Last update: 2015-08-06 18:21    [W:0.274 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site