Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755541AbbHYL2i (ORCPT ); Tue, 25 Aug 2015 07:28:38 -0400 Received: from mail3.start.ca ([64.140.120.243]:53060 "EHLO mail3.start.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbbHYL2g (ORCPT ); Tue, 25 Aug 2015 07:28:36 -0400 X-Greylist: delayed 492 seconds by postgrey-1.27 at vger.kernel.org; Tue, 25 Aug 2015 07:28:35 EDT Subject: Re: linux: sata_nv: adma support To: Robert Hancock , =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <201412232051.07067@pali> <201508012209.27974@pali> Cc: Jeff Garzik , Robert Hancock , Tejun Heo , "linux-ide@vger.kernel.org" , linux-kernel From: Mark Lord Message-ID: <55DC4F65.70402@start.ca> Date: Tue, 25 Aug 2015 07:20:05 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 41 On 15-08-01 09:45 PM, Robert Hancock wrote: > On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár wrote: >> On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: >>> On Tue, Dec 23, 2014 at 1:51 PM, Pali Rohár >>> wrote: >>>> Hello, >>>> >>>> I have nvidia nforce4 motherboard with nvidia sata controller: .. >>> It looks like something is trying to issue a command to disable APM >>> power management on the drive, and the command fails (likely because >>> it doesn't support that command). .. >> /sbin/hdparm -B254 $DRIVE >> >> And that -B254 cause above error message in dmesg log. Output from >> hdparm is: >> >> /dev/sda: >> setting Advanced Power Management level to 0xfe (254) >> APM_level = not supported .. >> $ sudo hdparm -I /dev/sda | grep -i power >> * Power Management feature set That's not the same as APM ("Advanced" Power Management). > However, these NVIDIA SATAs are black boxes, and rather buggy ones at that, > so it's possible there's an unknown issue there. I wonder if NVIDIA simply bought out the IP from Pacific Digital when they went bust? Pacific Digital invented the original "ADMA", and the pdc_adma.c driver in the kernel knows all about it. If the IP is pretty similar (identical?) then we could probably improve things. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/