lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 27 Aug 2006 23:50:32 +0200
From:	Thomas Glanzmann <sithglan@...d.uni-erlangen.de>
To:	Randy Dunlap <randy_d_dunlap@...ux.intel.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	"Michael S. Tsirkin" <mst@...lanox.co.il>
Subject: Updated libata acpi patches for GIT HEAD

Hello Randy,
I have a T60 and use your libata acpi patch which saves/restores the
taskfile of the disk on hibernation and resume. I wonder if you have an
updated patch for GIT HEAD because a colleague with a similar notebook
has to use GIT HEAD to get his soundcard supported. I tried to port it
myself and there was only one reject which I maybe fixed, but I don't
intend to try the patch so I don't know:

@@ -4290,6 +4294,7 @@ int ata_device_resume(struct ata_port *a
        }
        if (!ata_dev_present(dev))
                return 0;
+       ata_acpi_exec_tfs(ap);
        if (dev->class == ATA_DEV_ATA)
                ata_start_drive(ap, dev);

in libata-core.c. This function ata_device_resume does no longer exist in GIT
HEAD, so I modified the following function ata_scsi_device_resume instead:

diff -ruN linux-2.6.orig/drivers/scsi/libata-scsi.c linux-2.6/drivers/scsi/libata-scsi.c
--- linux-2.6.orig/drivers/scsi/libata-scsi.c   2006-08-27 20:01:34.000000000 +0200
+++ linux-2.6/drivers/scsi/libata-scsi.c        2006-08-27 23:13:00.000000000 +0200
@@ -499,6 +499,8 @@
            sdev->sdev_state == SDEV_CANCEL || sdev->sdev_state == SDEV_DEL)
                goto out_unlock;

+       ata_acpi_exec_tfs(ap);
+
        /* request resume */
        action = ATA_EH_RESUME;
        if (sdev->sdev_gendev.power.power_state.event == PM_EVENT_SUSPEND)

        Thomas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ