linux-mips
[Top] [All Lists]

Re: [PATCH] Always use virt_to_phys() when translating kernel addresses

To: mbizon@freebox.fr
Subject: Re: [PATCH] Always use virt_to_phys() when translating kernel addresses
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Mon, 19 Mar 2007 17:16:50 +0100
Cc: "Ralf Baechle" <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aaZOmWi7s5qi6RmDLWhw2ntpZ9abf9/1g/OjRIeshXoz5uUSqqXZ5u+jzqYUZGm3zL0AlEF4EVGjU5mAOvLsUCBsJ/JH2tsrAI30jBw+OzNQYjK+8eU+yde0c5ZziVN0uP027oSzhsKVZM6CyinR3gfPXe0MQeoJVzxAR24gejA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BUSStQxY9r2LqJojz5abTIg8yzc92LLX/P/Vk7bWipQaBhNCiGPvRenCSbt9TUlb9F5YRE0RjG/WOjJUzklTCSdvb7DQySFcMStMvzQ37jbBd44NT+ERLEom9bw1N12WEGNfni6c7EDrYBPcIUbQBSrKzhub6V/3fDCXqpwCZYE=
In-reply-to: <1174320169.32046.113.camel@sakura.staff.proxad.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <45FE5ADA.3030309@innova-card.com> <1174320169.32046.113.camel@sakura.staff.proxad.net>
Sender: linux-mips-bounce@linux-mips.org
On 3/19/07, Maxime Bizon <mbizon@freebox.fr> wrote:

On Mon, 2007-03-19 at 10:41 +0100, Franck Bui-Huu wrote:

Hi Franck,

> This patch fixes two places where we used plain 'x - PAGE_OFFSET' to
> achieve virtual to physical address convertion. This type of convertion
> is no more allowed since commit 6f284a2ce7b8bc49cb8455b1763357897a899abb.

I think you should also review arch/mips/mm/dma-noncoherent.c, it seems

dma-noncoherent.c has been removed since commit
9a88cbb5227970757881b1a65be01dea61fe2584. But you're right the new
'dma-default.c' still needs to be fixed...
--
              Franck

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