Skip to contentSkip to conversation

acpi/libata: Express dependencies for devices on dock stations and bays

PATCH Superseded Holger Macht 3 participants 4 messages Dec 6, 2011 – Jan 18, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover acpi/libata: Express dependencies for devices on dock stations and bays

Patches 1 through 5 are just a refresh of the patches from Matthew Garrett sent to this list in September 2010 [1]:

[PATCH 1/7] scsi: Export scsi_bus_type
[PATCH 2/7] libata: Bind the Linux device tree to the ACPI device tree [PATCH 3/7] libata: Migrate ACPI code over to new bindings [PATCH 4/7] acpi: Add support for linking docks to the objects they contain [PATCH 5/7] libata: Add links between removable devices and docks

Patches 6 and 7 make the patches actually work on my test hardware (Thinkpad x60/Thingpad T60) by fixing some minor issues.

[PATCH 6/7] libata: Generate and pass correct acpi handles
[PATCH 7/7] acpi: Prevent duplicate hotplug device registration on dock stations

Regards,
Holger

[1] http://comments.gmane.org/gmane.linux.acpi.devel/47378

#1 lore raw
Quoted 9 lines · Holger Macht

Patches 1 through 5 are just a refresh of the patches from Matthew Garrett sent to this list in September 2010 [1]:

[PATCH 1/7] scsi: Export scsi_bus_type
[PATCH 2/7] libata: Bind the Linux device tree to the ACPI device tree [PATCH 3/7] libata: Migrate ACPI code over to new bindings [PATCH 4/7] acpi: Add support for linking docks to the objects they contain [PATCH 5/7] libata: Add links between removable devices and docks

Quoted 5 lines

Patches 6 and 7 make the patches actually work on my test hardware (Thinkpad x60/Thingpad T60) by fixing some minor issues.

[PATCH 6/7] libata: Generate and pass correct acpi handles
[PATCH 7/7] acpi: Prevent duplicate hotplug device registration on dock stations

So, due to the merge window for 3.3 being open, I like to give this patch set a heads up.

Matthew, any word on this?

Len, I really would like to see this merged because it would really make the docking station stuff kind of feature complete, finally.

Thanks,
Holger

reviewer
#2 lore raw
Quoted 16 lines · Holger Macht
Quoted 9 lines · Holger Macht

Patches 1 through 5 are just a refresh of the patches from Matthew Garrett sent to this list in September 2010 [1]:

[PATCH 1/7] scsi: Export scsi_bus_type
[PATCH 2/7] libata: Bind the Linux device tree to the ACPI device tree [PATCH 3/7] libata: Migrate ACPI code over to new bindings [PATCH 4/7] acpi: Add support for linking docks to the objects they contain [PATCH 5/7] libata: Add links between removable devices and docks

Quoted 5 lines

Patches 6 and 7 make the patches actually work on my test hardware (Thinkpad x60/Thingpad T60) by fixing some minor issues.

[PATCH 6/7] libata: Generate and pass correct acpi handles
[PATCH 7/7] acpi: Prevent duplicate hotplug device registration on dock stations

Quoted 7 lines

So, due to the merge window for 3.3 being open, I like to give this patch set a heads up.

Matthew, any word on this?

Len, I really would like to see this merged because it would really make the docking station stuff kind of feature complete, finally.

Nice to see this effort. I hadn't noticed it before. This is mostly an ATA patch, and so I would hope to see Tejun review it and Jeff Garzik ship it in his ata tree.

I don't see any problem w/ the ACPI bits.

thanks,
-Len

 drivers/acpi/dock.c         |   98 +++++++++++++++
 drivers/acpi/glue.c         |    2 +
 drivers/ata/libata-acpi.c   |  274 +++++++++++++++++++++++++-----------------
 drivers/ata/libata-core.c   |    6 +-
 drivers/ata/libata-pmp.c    |    4 -
 drivers/ata/libata-scsi.c   |    3 +
 drivers/ata/libata.h        |   13 ++-
 drivers/ata/pata_acpi.c     |    4 +-
 drivers/scsi/scsi_priv.h    |    1 -
 include/acpi/acpi_drivers.h |   11 ++
 include/linux/libata.h      |    7 +-
 include/scsi/scsi.h         |    2 +
 12 files changed, 294 insertions(+), 131 deletions(-)
#3 lore raw
Quoted 5 lines · Len Brown

Nice to see this effort. I hadn't noticed it before. This is mostly an ATA patch, and so I would hope to see Tejun review it and Jeff Garzik ship it in his ata tree.

I don't see any problem w/ the ACPI bits.

That sounds like an ACK from ACPI to me... Will queue and push via libata-dev, assuming there are no cross-tree conflicts/dependencies with acpi in linux-next.

Jeff