hot-addacpi-hotplug-decouple-slot-power-state-changes-from-physical-hotplug.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Rajesh Shah <[email protected]> wrote:

> > Is p2p hotplug in your roadmap (for i386) ?
>
> I believe others are already working on it. I expect to free up
> a bit more in a couple of weeks.  If I don't see any patches or
> indication of activity by then, I'll work on adding this support
> too.
> 
> Rajesh

Hi Rajesh,

While waiting for a p2p bridge hotplug support, I give a try to linux-2.6.12rc2-mm3 which include
your patch for powering on and off an ACPIPHP controlled PCI slot without actually remove the pci
card.
I gave it a try on my IBM thinkpad booted in docking station which has an ACPIPHP slot.

An echo 0 > /sys/bus/pci/slots/SOME_NUMBER/power is removing some devices ( verified with cat
/proc/pci ), but gives some kernel errors on console.
An echo 1 > /sys/bus/pci/slots/SOME_NUMBER/power is not activating the devices again ( again
tested with cat /proc/pci) but gives some kernel errors on console + some cpu registers and a
segfault.

In my dock I have a ide controller, 2 yenta pcmcia slots, and a PCI slot where I have a bttv
supported tv card.
All drivers needed were compiled in kernel, no modules needed.

Was this setup supposed to work ?
I can provide more info if needed.

Thanks,
Paul






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux