From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753097AbZEYTLy (ORCPT ); Mon, 25 May 2009 15:11:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752397AbZEYTLr (ORCPT ); Mon, 25 May 2009 15:11:47 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:17988 "EHLO rgminet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132AbZEYTLq (ORCPT ); Mon, 25 May 2009 15:11:46 -0400 To: Sergei Shtylyov Cc: Bartlomiej Zolnierkiewicz , =?utf-8?B?6IOh5rSq?= =?utf-8?B?5YW1?= , 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 From: "Martin K. Petersen" Organization: Oracle References: <1243230339.9819.18.camel@localhost.localdomain> <4A1A4A54.6090401@lemote.com> <200905251656.25357.bzolnier@gmail.com> <4A1AEBF7.7040402@ru.mvista.com> Date: Mon, 25 May 2009 15:10:40 -0400 In-Reply-To: <4A1AEBF7.7040402@ru.mvista.com> (Sergei Shtylyov's message of "Mon, 25 May 2009 23:05:27 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Source-IP: abhmt008.oracle.com [141.146.116.17] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A1AED37.01CB:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Sergei" == Sergei Shtylyov writes: >> Could you please explain the issue with platform specific code a bit >> more? >> Is it related to a cable detection by any chance? Sergei> I guess it's rdmsr()/wrmsr()... Those are only used when the driver is explicitly loaded with use_msr=1. The default is to use PCI config space/VSA. In any case I have yet to see a CS5536 system whose BIOS sets the cable detection bit. If that's the problem I guess we could add a quirk flag to override the (lack of) BIOS setting. -- Martin K. Petersen Oracle Linux Engineering