Return-path: Received: from mail-qy0-f174.google.com ([209.85.216.174]:64878 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755894Ab1BOVjY (ORCPT ); Tue, 15 Feb 2011 16:39:24 -0500 Received: by qyj19 with SMTP id 19so2754930qyj.19 for ; Tue, 15 Feb 2011 13:39:24 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D5AE52B.80002@gmail.com> References: <20110215220929.1cc6e9d4.nledovskikh@gmail.com> <4D5AD6A6.8090505@gmail.com> <4D5AE52B.80002@gmail.com> Date: Wed, 16 Feb 2011 00:39:24 +0300 Message-ID: Subject: Re: [PATCH] ath5k: Use mips generic dma-mapping functions to avoid seqfault on AHB chips From: Nikolay Ledovskikh To: Jiri Slaby Cc: "John W. Linville" , linux-wireless@vger.kernel.org, lrodriguez@atheros.com, mickflemm@gmail.com, me@bobcopeland.com Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: > Maybe the address you got from the platform side was already ored by > KSEG1... I took a look at openwrt atheros platform code and suppose you are right. So what we should do for now? Add pointer cast (void __iomem *)? Because ioremap_nocache doesn't work as expected. I think it's better to rewrote the openwrt code, but not now.