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

From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 01/16/05

  • Next message: Karim Yaghmour: "Re: 2.6.11-rc1-mm1"
    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/


  • Next message: Karim Yaghmour: "Re: 2.6.11-rc1-mm1"

    Relevant Pages

    • [PATCH 2/2] ide: remove obsolete CONFIG_BLK_DEV_ADMA - cleanup arch
      ... Cleans up default config for various archs, removing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: CONFIG_64_BIT
      ... > problem with, eg, megaraid), but that requires more explanation and ... checks for all 64bit archs? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: RFD: Kernel release numbering
      ... What I have in mind is that we have a ... real 2.6 stable release maintainer. ... Alan Cox ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2.4.28-pre4-bk6] delkin_cb: new driver for Cardbus IDE CF adaptor
      ... Alan Cox wrote: ... ide-cs does seem to be reliable, ... (hdparm keeper & the original "Linux IDE Guy") ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux Incompatibility List
      ... Alan Cox wrote: ... extend our testing into the ISV space, and how to supply useful data. ... especially if we could capture software info also. ... 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/ ...
      (Linux-Kernel)