Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761474AbZLPAg6 (ORCPT ); Tue, 15 Dec 2009 19:36:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761450AbZLPAgx (ORCPT ); Tue, 15 Dec 2009 19:36:53 -0500 Received: from hera.kernel.org ([140.211.167.34]:44870 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761447AbZLPAgw (ORCPT ); Tue, 15 Dec 2009 19:36:52 -0500 Message-ID: <4B282C2A.4050801@kernel.org> Date: Wed, 16 Dec 2009 09:39:06 +0900 From: Tejun Heo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 MIME-Version: 1.0 To: Krzysztof Halasa CC: Jeff Garzik , linux-ide@vger.kernel.org, lkml Subject: Re: SATA_SIL: Add a work-around for IXP4xx CPU. References: <4B274694.6020701@kernel.org> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1598 Lines: 38 Hello, On 12/16/2009 08:03 AM, Krzysztof Halasa wrote: > Tejun Heo writes: > >> Hmmm... Given that there are some platforms which have problem with >> mmio and sil3112/4 can do everything via io accesses, it would be nice >> to generalize this so that there's CONFIG_SATA_SIL_NO_MMIO which is >> selected by affected platforms. Are you interested in doing it? > > Unfortunately I no longer have access to that SIL3512 miniPCI card so > I wouln't be able to test on IXP425. Perhaps it's not a problem, testing > on i386 (probably with disabled MMIO BAR) should be enough. > > OTOH IIRC SIL3x12 needs to use the MMIO write to start BM DMA, otherwise > the AT-style 64 KB limits apply. I think IXP4xx would benefit from only > ioread8() going through normal IO. > > Do you know what platforms have the MMIO problems? What kind of problems > are there, inability to use MMIO at all? (IXP4xx can't do 8/16-bit MMIO > reads). I don't remember exactly but similar subjects have come up multiple times on the mailing list and elsewhere. ISTR a case where MMIO was completely unavailable but I could be mistaken. At any rate, the most common problem seems to be smaller MMIO accesses, so generalizing your previous patch just a bit would help a lot. ie. CONFIG_SATA_SIL_ONLY_32BIT_MMIO which is selected by platform. Thanks. -- tejun -- 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/