From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261987AbUB2GkW (ORCPT ); Sun, 29 Feb 2004 01:40:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261988AbUB2GiI (ORCPT ); Sun, 29 Feb 2004 01:38:08 -0500 Received: from gate.crashing.org ([63.228.1.57]:3774 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261987AbUB2Ggd (ORCPT ); Sun, 29 Feb 2004 01:36:33 -0500 Subject: Re: [PATCH] ppc64: Add iommu=on for enabling DART on small-mem machines From: Benjamin Herrenschmidt To: Mike Fedyk Cc: Olof Johansson , Andi Kleen , Linus Torvalds , Linux Kernel list , linuxppc64-dev In-Reply-To: <40417E66.3060707@matchmail.com> References: <40417E66.3060707@matchmail.com> Content-Type: text/plain Message-Id: <1078036010.10826.34.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 29 Feb 2004 17:26:50 +1100 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > And maybe even some generic code? :-D No. It's not possible, at least not at this point. The decision of allocating the DART space or not (and thus eventually stripping the max available memory) is done very early. So early that the kernel isn't yet running at it's link location ;) So the kind of code we can actually run at this point is limited, with various tweaks to deal with the relocation issue. It's not very pretty, I hope we can improve that later, but that is not something that will happen in the upcoming weeks . Ben.