Return-Path: <zippel@linux-m68k.org>
Received: from Hermes.suse.de (Hermes.suse.de [10.10.96.4])
	by Wotan.suse.de (Postfix) with ESMTP id E2DDDB3D35
	for <andrea@wotan.suse.de>; Thu,  2 May 2002 21:40:53 +0200 (CEST)
Received: by Hermes.suse.de (Postfix)
	id DE6F7D82F; Thu,  2 May 2002 21:40:53 +0200 (MEST)
Received: from Cantor.suse.de (ns.suse.de [213.95.15.193])
	by Hermes.suse.de (Postfix) with ESMTP id D81D9D81F
	for <andrea@suse.de>; Thu,  2 May 2002 21:40:53 +0200 (MEST)
Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138])
	by Cantor.suse.de (Postfix) with ESMTP id B43EA1EFD7
	for <andrea@suse.de>; Thu,  2 May 2002 21:40:53 +0200 (MEST)
Received: from scrub.xs4all.nl (scrub.xs4all.nl [194.109.195.176])
	by smtpzilla2.xs4all.nl (8.12.0/8.12.0) with ESMTP id g42JenMj080071;
	Thu, 2 May 2002 21:40:49 +0200 (CEST)
Received: from spit.local
	([192.168.3.2] helo=linux-m68k.org ident=roman)
	by scrub.xs4all.nl with esmtp (Exim 3.35 #1 (Debian))
	id 173MRd-0002CK-00; Thu, 02 May 2002 21:40:49 +0200
Sender: roman@xs4all.nl
Message-ID: <3CD19640.3B85BF76@linux-m68k.org>
Date: Thu, 02 May 2002 21:40:48 +0200
From: Roman Zippel <zippel@linux-m68k.org>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Daniel Phillips <phillips@bonn-fries.net>
Cc: Andrea Arcangeli <andrea@suse.de>,
	Ralf Baechle <ralf@uni-koblenz.de>,
	Russell King <rmk@arm.linux.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: discontiguous memory platforms
In-Reply-To: <Pine.LNX.4.21.0205021539460.23113-100000@serv> <E172yOR-00026G-00@starship> <3CD184BB.ED7F349F@linux-m68k.org> <E173LNK-00027F-00@starship>
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20
Content-Transfer-Encoding: 7bit

Daniel Phillips wrote:

> Patching the kernel how, and where?

Check for example in asm-ppc/page.h the __va/__pa functions.

> > Anyway, I agree with Andrea, that another mapping isn't really needed.
> > Clever use of the mmu should give you almost the same result.
> 
> We *are* making clever use of the mmu in config_nonlinear, it is doing the
> nonlinear kernel virtual mapping for us.  Did you have something more clever
> in mind?

I mean to map the memory where you need it. The physical<->virtual
mapping won't be one to one, but you won't need another abstraction and
the current vm is already basically able to handle it.

bye, Roman
