Re: [PATCH 1/3] libata: implement dev->acpi_init_gtm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun Heo wrote:
Add dev->acpi_init_gtm and store initial GTM values on host
initialization.  If the field is valid, ATA_PFLAG_INIT_GTM_VALID flag
is set.  This is to remember BIOS/firmware programmed initial timing
for later use before reset and mode configuration modify it.

Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>

It sounds like pata_via and pata_amd need a foo_save_initial_config() much like AHCI, during which they would fill ppriv->init_gtm rather than ap->init_gtm. Thoughts? Both drivers are calling ata_acpi_cbl() themselves, permitting the possibility of ppriv->init_gtm.

This avoids forcing everyone else to bear the memory cost in ata_port for just these two drivers.

	Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux