All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Moritz Heiber <moe@lunar-linux.org>, linux-ide@vger.kernel.org
Subject: Re: Issues with AHCI and SATAII using JMD360
Date: Sun, 07 May 2006 22:23:59 +0900	[thread overview]
Message-ID: <445DF4EF.3080509@gmail.com> (raw)
In-Reply-To: <20060507151021.2986c766.moe@lunar-linux.org>

Moritz Heiber wrote:
> <...>
> PCI: Setting latency timer of device 0000:03:00.0 to 64
> ahci 0000:03:00.0: AHCI 0001.0000 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part 
> ata1: SATA max UDMA/133 cmd 0xF8814100 ctl 0x0 bmdma 0x0 irq 5
> <...>
> ata1: SATA link up 1.5 (SStatus 113 SControl 300)
> ata1: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:407f
> ata1: dev 0 ATA-7, max UDMA/133, 321672960 sectors: LBA48
> ata1: dev 0 configured for UDMA/133
> scsi0 : ahci
>   Vendor: ATA       Model: HDT722516DLA380   Rev: V43O
>   Type:   Direct-Access                      ANSI SCSI revision: 05
> ------
> 
> I guess the Scontrol value of 300 is .. good?

The digit in the middle is the SPD limit and 0 means no limit.  Hmm... 
wait, this is a hitachi disk.  Have you tried the feature tool?  Hitachi 
limits the spd of the harddrive tso 1.5 gbps, probably for compatibility 
reasons, and allows users to enable it with the feature tool.

http://www.hitachigst.com/hdd/support/download.htm#FeatureTool

* ....
* Configure SATA interface - adjust maximum speed and enable/disable 
Spread Spectrum Clocking.

> 
> I had to adjust your patch since it didn't apply to my 2.6.16.14 kernel.
> The "corrected" patch is attached. I think I pretty much retained the
> functionality you intended it to have.
> 
> Given your patch though .. your git-based code looks much simpler. I
> wonder if that is a good or a bad thing and wether I should try a more
> recent kernel .. (?)

The patch was pulled from libata devel tree.  I was being lazy again and 
didn't test it on 2.6.16.14.  :p  However, I can assure you libata 
doesn't play much role in PHY spd configuration.

-- 
tejun

  reply	other threads:[~2006-05-07 13:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-07  2:37 Issues with AHCI and SATAII using JMD360 Moritz Heiber
2006-05-07  2:59 ` Tejun Heo
2006-05-07 12:04   ` Moritz Heiber
2006-05-07 12:17     ` Mogens Valentin
2006-05-07 12:20       ` Tejun Heo
2006-05-07 12:19     ` Tejun Heo
2006-05-07 13:10       ` Moritz Heiber
2006-05-07 13:23         ` Tejun Heo [this message]
2006-05-07 14:52           ` Moritz Heiber
2006-05-07 12:14 ` Mogens Valentin
2006-05-07 15:02   ` Moritz Heiber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445DF4EF.3080509@gmail.com \
    --to=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=moe@lunar-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.