Re: [PATCH 1/1] pci: Block config access during BIST (resend)

Alan Cox
2005-01-16T02:12:13Z

On Sad, 2005-01-15 at 06:20, Benjamin Herrenschmidt wrote:
> I'm pretty sure similar situations can happen on other archs when
> pushing a bit on power management, especially things like handhelds
> (though not much of them are PCI based for now).
>
> That's why a "generic" mecanism to hide such devices while providing
> cached data on config space read's would be useful to me as well.

That makes a lot of sense. So we need both a "blocked, will be back
soon" and "this PCI device is invisible" flags. A device going into
blocked and not coming back would presumably transition into
"invisible". I'm assuming we can't just delete the PCI device because
the kernel needs to know that cell is there for future use/abuse.