[PATCH v5 0/13] SATA ZPODD support

Lin Ming
2012-06-18T06:26:26Z

Hi all,

This is the v5 patches to add SATA ZPODD support, to try it:
git pull git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git zpodd

Holger and Mathtew,
Patch 1 to Patch 4 are the libata acpi binding patches from you.
I removed dock related code from your original version.
Would you help to review?

v5:
- rebase to v3.5-rc3
- fixed crash reported at https://lkml.org/lkml/2012/2/24/2 (Aaron Lu)
- rename is_pci_ata to compat_pci_ata (Alan Cox)

v4:
https://lkml.org/lkml/2012/5/28/11
- Includes libata acpi binding patches from Holger Macht and Matthew Garrett.
- tell scsi layer device supports runtime power off
- check support for device busy class events

v3:
https://lkml.org/lkml/2012/3/28/20
- Split the ACPI D3Cold state support patches out
- Adds "Device Attention" bit check

v2:
https://lkml.org/lkml/2012/3/1/61
- _PR3 indicates D3Cold support
- move can_power_off flag to pm_subsys_data
- allow all combinations of power resource and device
- split patches into smaller ones to make review easy

v1:
https://lkml.org/lkml/2012/2/13/86

Aaron Lu (4):
libata: tell scsi layer device supports runtime power off
[SCSI] sr: check support for device busy class events
[SCSI] sr: support zero power ODD
[SCSI] sr: make sure ODD is in resumed state in block ioctl

Holger Macht (2):
[SCSI]: add wrapper to access and set scsi_bus_type in struct acpi_bus_type
libata: use correct PCI devices

Lin Ming (4):
libata-acpi: set acpi state for SATA port
libata-acpi: add ata port runtime D3Cold support
libata-acpi: register/unregister device to/from power resource
libata: detect Device Attention support

Matthew Garrett (2):
libata: bind the Linux device tree to the ACPI device tree
libata: migrate ACPI code over to new bindings

drivers/acpi/glue.c | 4 +-
drivers/acpi/power.c | 2 +
drivers/ata/libata-acpi.c | 389 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
drivers/ata/libata-core.c | 9 ++-
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_lib.c | 17 ++++
drivers/scsi/sr.c | 160 +++++++++++++++++++++++++++++++++++-
drivers/scsi/sr.h | 3 +
include/linux/ata.h | 1 +
include/linux/cdrom.h | 43 ++++++++++
include/linux/libata.h | 9 +--
include/scsi/scsi.h | 10 +++
include/scsi/scsi_device.h | 2 +
16 files changed, 534 insertions(+), 139 deletions(-)