Re: [Pcihpd-discuss] PCIe Hotplug: NFG unless I boot with card already inserted.

Greg KH
2007-10-16T21:54:18Z

On Tue, Oct 16, 2007 at 04:39:25PM -0400, Mark Lord wrote:
> Kristen Carlson Accardi wrote:
> >...
> > I tried to reproduce this on a Lenovo T61, which does have proper firmware
> > support for _OSC, and also has been validated, and the driver which is
> > in 2.6.23-git8 seems to work fine, even across suspend resume. I suspect
> > that your system just doesn't support pcie hotplug properly.
>
> No, the hardware seems to work perfectly.
>
> We just have a software issue. We *know* it's only software
> because rmmod+modprobe fixes things, without any hardware intervention.
>
> I believe the code is leaning too heavily on the BIOS for stuff,
> and like lots of other parts of the kernel we'll need an alternate
> strategy for when things aren't "perfect".
>
> > You might try getting a BIOS update from Dell.
>
> The machine already has the latest BIOS, thanks.

Dell laptops are known to have broken BIOS acpi code in regards to pci
express hotplug issues. Seriously, we rely on acpi here for a lot of
this, and unless it is properly set up, it will not work.

And this is broken because Windows can't even handle this kind of thing,
so it isn't tested :(

So a short note to Dell might be helpful, although in the end, I think
this looks like a kernel issue as you have proven with your patch.

thanks,

greg k-h