Re: [PATCH] PCI: Set device power state to PCI_D0 for device withoutnative PM support

From: Stefano Stabellini
Date: Thu Oct 06 2011 - 12:17:50 EST


On Thu, 6 Oct 2011, Yinghai Lu wrote:
> On Thu, Oct 6, 2011 at 3:39 AM, Stefano Stabellini
> <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> >
> > I had the same issue and sent a patch a while ago to fix it, adding
> >
> > current_state = PCI_D0 in acpiphp_glue.c:register_slot
> >
> > it is strange that this does not work for you:
> >
> > http://marc.info/?l=linux-kernel&m=129891002722845&w=2
>
> So guest os has to load acpiphp instead of pciehp?

maybe pciehp needs to make sure that current_state = D0 in
pciehp_enable_slot, like acpiphp does
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/