linux-mips
[Top] [All Lists]

Re: [PATCH 09/14] ata: Use 32bit DMA in AHCI for Loongson 3.

To: Huacai Chen <chenhuacai@gmail.com>
Subject: Re: [PATCH 09/14] ata: Use 32bit DMA in AHCI for Loongson 3.
From: Borislav Petkov <bp@alien8.de>
Date: Mon, 18 Jun 2012 16:52:31 +0200
Cc: Sergei Shtylyov <sshtylyov@mvista.com>, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Fuxin Zhang <zhangfx@lemote.com>, Zhangjin Wu <wuzhangjin@gmail.com>, Huacai Chen <chenhc@lemote.com>, Hongliang Tao <taohl@lemote.com>, Hua Yan <yanh@lemote.com>, linux-ide@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1340031151; bh=4SQ8U94ruvR8F+CcCPi2T3fZBzySKZIfUG7cYQMz/iU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=ZdcjkjXI/vIsO4oPmyAEiwSuwLrvcMGOeHUwHV iVTi0NHtMdA5RokLfjuWku6FR2V1W3yKOLMEm+Ol6fQH6Bf9zCVC16X2P22IiooUmhW 5HiKFHRYcxX7DVShExLsMB6QsdmFTzyaWNR5LBAgRMwyWb52ETwyn8Y454IVLmCu3g=
In-reply-to: <CAAhV-H5g2Y81fr=yU76RHDfzDSxG_7GpTs=RZm8ha8JbzHnfzQ@mail.gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1339747801-28691-1-git-send-email-chenhc@lemote.com> <1339747801-28691-10-git-send-email-chenhc@lemote.com> <4FDB08AC.8010208@mvista.com> <CAAhV-H6AKp+aGUozOxQoLgGYQ+GtHMbKKC4MVkFA570zodjgDA@mail.gmail.com> <20120617120557.GE31534@liondog.tnic> <CAAhV-H67M5xH+HMyVNopm=TPhei24NfnzNqiPMA+Ucz4Y7V3hg@mail.gmail.com> <20120618101030.GA24308@liondog.tnic> <CAAhV-H5g2Y81fr=yU76RHDfzDSxG_7GpTs=RZm8ha8JbzHnfzQ@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Jun 18, 2012 at 06:41:58PM +0800, Huacai Chen wrote:
> Ohh, this is because Loongson-3 has a hardware bug, when the HT
> controller receive a 64-bit DMA address, the high bits is lost. So set
> to 32-bit DMA is just a workaround.

Ok, this should definitely go into the commit message of your patch then
since it explains why you need that flag set.

Thanks.

-- 
Regards/Gruss,
Boris.

<Prev in Thread] Current Thread [Next in Thread>