Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

From: Yinghai Lu
Date: Thu Jun 13 2013 - 14:42:23 EST

On Thu, Jun 13, 2013 at 9:32 AM, Jiang Liu <jiang.liu@xxxxxxxxxx> wrote:
> Alexander E. Patrakov <patrakov@xxxxxxxxx> reports two bugs related to
> dock station support on Sony VAIO VPCZ23A4R. Actually there are at least
> four bugs related to Sony VAIO VPCZ23A4R dock support.
> 1) can't correctly detect hotplug slot for dock state
> 2) resource leak on undocking
> 3) resource allocation failure for dock devices
> 4) one bug in intel_snd_hda driver
> The first patch fixes issue 1, and the second patch fixes issue 2.
> These two patches, if accepted, should be material for stable branches
> too.
> Patch 3-9 are code improvement for ACPI and dock driver.
> I have found the root cause for issue three, but still working on
> solutions, and seems can't be solve in short time. So please help
> to review and test patches for issue 1) and 2) first.

the 3) is about pci resource allocation?
because pcibios_add_bus is called too early?

If that is case, we should have something like attached patch for it.

With that, we will not need to worry about _OSC set for 3.10 etc.

Attachment: pci_move_pcibios_add_bus_down.patch
Description: Binary data