lkml.org 
[lkml]   [2012]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 3.4-rc3 compile failed on IBM Power6
From
Date
On Wed, 2012-04-25 at 09:50 +0800, Gavin Shan wrote:
> In order to make iommu.c irrelative to CONFIG_EEH, we might figure out
> the PE number of the PCI device during PCI probe time. Here're some
> rough thoughts about the rework.
>
> - Introduce additional field "int pe_num" to "struct dev_archdata".
> That would be traced like: (struct pci_dev)->(struct device dev)
> ->(struct dev_archdata archdata).
> - During the PCI probe time (maybe pci_fixup_early), we can figure
> out the PE number.
>
> Then we can retrieve the PE number of PCI device from "int pe_num" and needn't
> care CONFIG_EEH has been turned on or off. I'm not sure Ben has any comments
> on the idea?

Just select EEH from pseries Kconfig, no point in keeping that a user visible option.

Cheers,
Ben.




\
 
 \ /
  Last update: 2012-04-25 06:17    [W:1.057 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site