From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753703AbZEYTEn (ORCPT ); Mon, 25 May 2009 15:04:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752346AbZEYTEa (ORCPT ); Mon, 25 May 2009 15:04:30 -0400 Received: from h155.mvista.com ([63.81.120.155]:49498 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752209AbZEYTEa (ORCPT ); Mon, 25 May 2009 15:04:30 -0400 Message-ID: <4A1AEBF7.7040402@ru.mvista.com> Date: Mon, 25 May 2009 23:05:27 +0400 From: Sergei Shtylyov Organization: MontaVista Software Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 X-Accept-Language: ru, en-us, en-gb MIME-Version: 1.0 To: Bartlomiej Zolnierkiewicz Cc: =?UTF-8?B?6IOh5rSq5YW1?= , yanh@lemote.com, wuzhangjin@gmail.com, linux-mips@linux-mips.org, Ralf Baechle , IDE/ATA development list , Linux Kernel , linux-scsi , Philippe Vachon , Zhang Le , Zhang Fuxin , Arnaud Patard , loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org, Nicholas Mc Guire , Liu Junliang , Erwan Lerale Subject: Re: [loongson-PATCH-v1 24/27] fixup for FUJITSU disk References: <1243230339.9819.18.camel@localhost.localdomain> <4A1A4A54.6090401@lemote.com> <200905251656.25357.bzolnier@gmail.com> In-Reply-To: <200905251656.25357.bzolnier@gmail.com> 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 Bartlomiej Zolnierkiewicz wrote: >>yanh 写道: > [...] >>>the cs5536 pata driver have some geode platform dependent codes. We can >>>just ignore it, but the performance is poor(using hdparm to test it), >>>which only get 22+ MB/s. we find it only use udma2. However if using >>>amd74xx driver, it can set udma5, and the speed can reach to 50+ MB/s. >>>we will test whether this driver is working well without this patch. >>>Anyway, thanks your advice. >>Use the driver drivers/ata/pata_cs5536.c, unfortunately it also have the >>same issue. > Both drivers (pata_cs5536 & cs5536) should handle UDMA5. > Could you please explain the issue with platform specific code a bit more? > Is it related to a cable detection by any chance? I guess it's rdmsr()/wrmsr()... > Thanks. > Bart MBR, Sergei