Re: [PATCH] sata_sx4: speed up ECC initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Beregalov writes:
 > >> From: Alexander Beregalov <a.beregalov@xxxxxxxxx>
 > >> Date: Tue, 14 Apr 2009 23:55:52 +0400
 > >> Subject: [PATCH v2] sata_sx4: speed up ECC initialization
 > >>
 > >> ECC initialization takes too long. It writes zeroes by portions
 > >> of 4 byte, it takes more than 6 minutes on my machine to initialize
 > >> 512Mb ECC DIMM module. Change portion to 128Kb - it significantly
 > >> reduces initialization time.
 > >>
 > >> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
 > >> ---
 > >>  drivers/ata/sata_sx4.c |   11 +++++++----
 > >>  1 files changed, 7 insertions(+), 4 deletions(-)
 > >
 > >
 > > Applied, to libata-dev.git#upstream
 > >
 > > Thanks!
 > >
 > > So...   the $64,000 question:  does sata_sx4 work for you?
 > 
 > No, not yet! :)
 > It works without disks ;)
 > It has found disks, but got timeout from them.
 > Some specific functions should be added to ops structure.
 > 
 > At first I am trying to understand how to detect cable type.
 > I have two examples: from Promise partial source code and from FreeBSD.
 > 
 > But PGuide says the chip automatically detects cable type.
 > Does it mean the driver should not do anything with it? - I will try it.

No, it means you query the chip and report what it detected
to libata. The cable type affects speed settings.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux