Re: [PATCH] EEH: remove eeh device from OF node

2012-03-21 Thread Benjamin Herrenschmidt
On Thu, 2012-03-22 at 11:28 +0800, Gavin Shan wrote: > > 1- ASAP so we can still get that into 3.4, move the eeh_dev pointer to > >struct pci_dn instead of struct device_node. This structure is > >accessible directly via dn->data and is ppc specific, that will be a > >better temporary solution and

Re: [PATCH] EEH: remove eeh device from OF node

2012-03-21 Thread Gavin Shan
>> Originally, the PCI sensitive OF node is tracing the eeh device >> through struct device_node::edev. However, it was regarded as >> bad idea. >> >> The patch removes struct device_node::edev. In addition, the >> global list of eeh devices is introduced, and do retrival of >> eeh device accordin

Re: [PATCH] EEH: remove eeh device from OF node

2012-03-20 Thread Benjamin Herrenschmidt
On Wed, 2012-03-14 at 18:31 +0800, Gavin Shan wrote: > Originally, the PCI sensitive OF node is tracing the eeh device > through struct device_node::edev. However, it was regarded as > bad idea. > > The patch removes struct device_node::edev. In addition, the > global list of eeh devices is introd

[PATCH] EEH: remove eeh device from OF node

2012-03-14 Thread Gavin Shan
Originally, the PCI sensitive OF node is tracing the eeh device through struct device_node::edev. However, it was regarded as bad idea. The patch removes struct device_node::edev. In addition, the global list of eeh devices is introduced, and do retrival of eeh device according to the given OF nod