lkml.org 
[lkml]   [2016]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API
Date
On Monday 18 April 2016 21:31:54 Tomasz Nowicki wrote:
>
> Basically the whole content of pci-thunder-ecam.c and pci-thunder-pem.c.
>
> pci-thunder-ecam.c contains config space accessors. Similar for
> pci-thunder-pem.c but it also has extra init call (it is now called
> thunder_pem_init) which finds and maps related registers.

They seem to do much more than just override the accessors, they actually
change the contents of the config space as well. Is that really necessary
on ACPI based systems as well?

Another idea: how about moving all of this logic into ACPI and calling
some AML method to access the config space if the devices are that
far out of spec.

Arnd

\
 
 \ /
  Last update: 2016-04-19 15:41    [W:0.135 / U:23.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site