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

Alan Cox
2005-01-13T19:58:34Z

On Iau, 2005-01-13 at 18:03, Andi Kleen wrote:
> You are saying that X during its own private broken PCI scan
> stops scanning when it sees an errno?
>
> That sounds incredibly broken if true. I'm not sure how much
> effort the kernel should really take to work around such
> user breakage. I suppose an ffffffff return would work.

X needs to be able to find the device layout in order to build its PCI
mappings. Cached data is probably quite sufficient for this.

> > Then you need to switch to wait_event_timeout(). Its not terribly hard
> > 8)
>
> Just complicating something that should be very simple.

You are breaking an established user space API. Its not suprising this
will break applications is it.