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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4EDFC6D6.3050601@pobox.com>
Date:	Wed, 07 Dec 2011 15:04:38 -0500
From:	Jeff Garzik <jgarzik@...ox.com>
To:	Lin Ming <ming.m.lin@...el.com>
CC:	James Bottomley <JBottomley@...allels.com>,
	Alan Stern <stern@...land.harvard.edu>,
	Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org,
	linux-ide@...r.kernel.org, linux-scsi@...r.kernel.org,
	linux-pm@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
	Huang Ying <ying.huang@...el.com>,
	Zhang Rui <rui.zhang@...el.com>
Subject: Re: [PATCH v5 1/6] ata: make ata port as parent device of scsi host

On 12/04/2011 08:20 PM, Lin Ming wrote:
> Currently, the device tree of ata port and scsi host looks as below,
>
>          /sys/devices/pci0000:00/0000:00:1f.2    (ahci controller)
>          |-- ata1                                (ata port)
>          |-- host0                               (scsi host)
>             |-- target0:0:0                      (scsi target)
>                 |-- 0:0:0:0                      (disk)
>
> This patch makes ata port as parent device of scsi host, then it becomes
>
>          /sys/devices/pci0000:00/0000:00:1f.2    (ahci controller)
>          |-- ata1                                (ata port)
>              |-- host0                           (scsi host)
>                  |-- target0:0:0                 (scsi target)
>                      |-- 0:0:0:0                 (disk)
>
> With this change, the ata port runtime PM is easier.
> For example, the ata port runtime suspend will happen as,
>
> disk suspend -->  scsi target suspend -->  scsi host suspend -->  ata port
> suspend.
>
> Acked-by: Tejun Heo<tj@...nel.org>
> Signed-off-by: Lin Ming<ming.m.lin@...el.com>
> ---
>   drivers/ata/libata-scsi.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)

applied 1-6, thanks



--
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