From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 10 Oct 2006 17:15:26 +0100 (BST) Received: from nf-out-0910.google.com ([64.233.182.189]:8992 "EHLO nf-out-0910.google.com") by ftp.linux-mips.org with ESMTP id S20039887AbWJJQPY (ORCPT ); Tue, 10 Oct 2006 17:15:24 +0100 Received: by nf-out-0910.google.com with SMTP id y25so403240nfb for ; Tue, 10 Oct 2006 09:15:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=EtLM2NlV1rbezm2buzUHK5LbVaKqkx0n2RRwYpCalJ7G3aQ5vEHohJ0GRImPrqla1yzJ4Bfvnc3mJxkX8NfREFh0/Wh8FpfkRgjy7OeY6tk1oIov2K4EQTKfotZxn1qoFQwHHtOcB04Cb5Qav9HZpfX2pEA038shXrd16hYxBz8= Received: by 10.49.10.3 with SMTP id n3mr1651137nfi; Tue, 10 Oct 2006 09:15:23 -0700 (PDT) Received: from ?192.168.0.24? ( [81.252.61.1]) by mx.google.com with ESMTP id k24sm884264nfc.2006.10.10.09.15.23; Tue, 10 Oct 2006 09:15:23 -0700 (PDT) Message-ID: <452BC764.2090604@innova-card.com> Date: Tue, 10 Oct 2006 18:16:36 +0200 Reply-To: Franck User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Franck CC: Atsushi Nemoto , ths@networkno.de, ralf@linux-mips.org, linux-mips@linux-mips.org Subject: Re: [PATCH] setup.c: introduce __pa_symbol() and get ride of CPHYSADDR() References: <452BA4E7.30901@innova-card.com> <20061010.231944.42203018.anemo@mba.ocn.ne.jp> <452BB5E1.5090308@innova-card.com> <20061011.002914.76462350.anemo@mba.ocn.ne.jp> <452BC4A5.3080706@innova-card.com> In-Reply-To: <452BC4A5.3080706@innova-card.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Franck Bui-Huu Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12876 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: vagabon.xyz@gmail.com Precedence: bulk X-list: linux-mips Franck Bui-Huu wrote: > Atsushi Nemoto wrote: >> On Tue, 10 Oct 2006 17:01:53 +0200, Franck Bui-Huu wrote: >>>> I think this peice of code is just broken, as you said. This is bogus >>>> but harmless since we have not checked these resources are >>>> successfully registered or not. >>> what about all other uses of virt_to_phys(x) ? And what the point to set >>> PAGE_OFFSET to 0xa800000000000000 ? I'm really confused... >> For now I have not seen any problem on other usages. >> > > do you know at which point the kernel starts to use XKPHYS addresses ? > Ok, I found the answer to this question... Franck