[PATCH] PPC64: EEH Recovery

Milton Miller miltonm at bga.com
Sun Nov 21 21:25:31 EST 2004


[that = write the bars after device removal and reinsert]
Ben wrote:
> I don't understand why we need to do that... it's totally redundant 
> with
> just unplugging/re-plugging the device, the kernel will then re-assign
> addresses to it.
>

In my other kernel work, I have yet to see the kernel assign our bars 
correctly and
take pre-existing bars at the same time.   Not to say that it 
shouldn't, just that
code to restore the bars may be required.

In other words, I wouuld feel better if they were restored before 
calling the pci layer to
re-probe the slot.  However, the only thing that should be needed is a 
list of device nodes
and values.  Actually the values are already in the 
"assigned-addresses" property.

milton




More information about the Linuxppc64-dev mailing list