From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [ANNOUNCE] libata EH/NCQ/hotplug/PM git tree Date: Sat, 13 May 2006 13:19:50 +0900 Message-ID: <44655E66.4020304@gmail.com> References: <44614592.7080301@gmail.com> <446536C5.80503@pobox.com> <44653807.3030101@gmail.com> <44655496.9030402@pobox.com> <44655986.3060007@gmail.com> <44655C17.6000601@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from nz-out-0102.google.com ([64.233.162.202]:22484 "EHLO nz-out-0102.google.com") by vger.kernel.org with ESMTP id S1750752AbWEMET5 (ORCPT ); Sat, 13 May 2006 00:19:57 -0400 Received: by nz-out-0102.google.com with SMTP id 13so610126nzn for ; Fri, 12 May 2006 21:19:56 -0700 (PDT) In-Reply-To: <44655C17.6000601@pobox.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Jeff Garzik Cc: Alan Cox , Albert Lee , Jens Axboe , Edward Falk , Carlos Pardo , Raymond Liu , "linux-ide@vger.kernel.org" Jeff Garzik wrote: > Tejun Heo wrote: >> That cmd-switching PM support is what AHCI SPM bit indicates. As of >> v1.1, AHCI doesn't define FIS-switching PM support yet. > > Right you are; see, told you my brain was frazzled. > > >> Which is understandable considering AHCI doesn't construct FISes >> itself. I don't think PM requires more hardware support than being >> capable for setting PMP in the FISes, which AHCI certainly can >> (standing down on collision for SDB notify aside). I can give it a >> shot but it clearly violates the spec, and even if it works, we would >> need to print big fat warning message while attaching PM. > > Setting the PMP field during FIS construction would work, I should > think, for outgoing FIS's. Not sure how incoming FISs would behave. > I think the incoming part will work too. All it has to do is ignoring it. SDB notify can also implemented using Unknown FIS interrupt and FIS reception area. I'll give it a shot. After all, working with big fat warning is a lot better than not working, and a LOT of AHCIs are out there. -- tejun