Re: [PATCH 1/1] pci: Block config access during BIST (resend)
From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 01/16/05
- Previous message: Yasunori Goto: "Re: [RFC] Avoiding fragmentation through different allocator"
- In reply to: Alan Cox: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Next in thread: Andi Kleen: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Reply: Andi Kleen: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Sun, 16 Jan 2005 15:01:44 +1100
On Sun, 2005-01-16 at 00:58 +0000, Alan Cox wrote:
> 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.
Right. Though I think the "will be back soon" and "is invisible" are
pretty much the same thing. That is, in both our cases (BIST and pmac
PM), we want the device to still be visible to userland, as it actually
exist, should be properly detected by userland config tools etc..., but
may only be actually enabled when the interface is opened/used for PM
reasons.
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Yasunori Goto: "Re: [RFC] Avoiding fragmentation through different allocator"
- In reply to: Alan Cox: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Next in thread: Andi Kleen: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Reply: Andi Kleen: "Re: [PATCH 1/1] pci: Block config access during BIST (resend)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|