ACPI support for SATA/PATA
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Makefile/Kconfig/doc/definition of noacpiDocumentation/ drivers/ drivers/ +2 more | +24 | 0 replies | |
| 2/3 | The definition of all SATA-ACPI-related functions.drivers/ drivers/ include/ | +1024 | 0 replies | |
| 3/3 | Update users of ACPI-SATA/PATA functionsdrivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3]ACPI support for SATA/PATA
Hello, all
In ACPI spec 3.0, section 9.9 defines 4 objects for PATA/SATA:
_GTM and _STM are PATA-only objects, which are used to get/set PATA timing information(i.e. PIO and DMA speed);_SDD is SATA-only object, which is used to inform the platform of the type of device attached to a port;_GTF is for both PATA and SATA, which is used to return ATA task file needed to re-init the drive
In this patch set,ata_acpi_get_timing() is for getting PATA timing information; ata_acpi_push_timing() is for setting PATA timing information; ata_acpi_push_id() is for operating on _SDD; ata_acpi_exec_tfs() is for getting ATA task file from _GTF and executing them for a given drive
NOTE: ata_acpi_get_timing() and ata_acpi_push_timing() are channel (port)-level operations, which have more suitable invocation place in Tejun's upcoming PM patch. So I would not bother to reference(invoke) them in this version of patches and will send out updated patches after Tejun's PM patch is merged into #upstream.
Randy,
I'll add your sign-off line after you review the patch.
Thanks,
Forrest