From: David Gibson <david@gibson.dropbear.id.au>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH 5/10] Port 44x MMU definitions to ARCH=powerpc
Date: Sat, 24 Mar 2007 10:30:34 +1100 [thread overview]
Message-ID: <20070323233034.GB4459@localhost.localdomain> (raw)
In-Reply-To: <DB443D82-5C88-45F9-BF32-F12AA11244AA@kernel.crashing.org>
On Fri, Mar 23, 2007 at 09:09:11AM -0500, Kumar Gala wrote:
>
> On Mar 22, 2007, at 4:22 AM, David Gibson wrote:
>
> > This patch moves the mmu.h definitions which are still relevant for
> > ARCH=powerpc from include/asm-ppc/mmu.h to their own file,
> > include/asm-powerpc/mmu_44x.h. The new file is included from
> > asm-powerpc/mmu.h, and a couple of other tweaks to correct mmu
> > definitions for 44x are made.
> >
> > Signed-off-by: David Gibson <dwg@au1.ibm.com>
> > ---
> >
> > arch/powerpc/kernel/head_44x.S | 4 -
> > arch/powerpc/mm/44x_mmu.c | 81 ++++++
> > +-------------------------------
> > arch/powerpc/mm/mmu_decl.h | 2
> > include/asm-powerpc/mmu-44x/mmu.h | 75 ++++++++++++++++++++++++++
> > +++++++++
> > include/asm-powerpc/mmu.h | 11 ++++-
> > 5 files changed, 105 insertions(+), 68 deletions(-)
>
> Any reason you are creating a new directory in include/asm-powerpc
> for 44x mmu defn? why not just mmu_44x.h or something like that?
Heh, Stephen asked me that too, in person.
Originally I did use mmu_44x.h, but I'm looking ahead. In the middle
term, I want to purge the last dependencies on include/asm-ppc from
include/asm-powerpc, which currently includes all the mm headers:
mmu.h, pgtable.h, pgalloc.h, possibly a couple of others.
It seems most sensible to me to have a subdirectory for each mmu
family (32-bit has, 64-bit hash, 40x, 44x, FSL Book E, etc..) , with
the relevant version of each of these files. This patch is a first
tiny step in that direction.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2007-03-23 23:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 6:06 [0/10] arch/powerpc Ebony support (draft 3) David Gibson
2007-03-22 6:10 ` [PATCH 1/10] Define FIXED_PORT flag for serial_core David Gibson
2007-03-22 9:22 ` [PATCH 7/10] Early serial debug support for PPC44x David Gibson
2007-03-22 9:22 ` [PATCH 5/10] Port 44x MMU definitions to ARCH=powerpc David Gibson
2007-03-23 14:09 ` Kumar Gala
2007-03-23 23:30 ` David Gibson [this message]
2007-03-22 9:22 ` [PATCH 4/10] Add arch/powerpc driver for UIC, PPC4xx interrupt controller David Gibson
2007-03-22 9:51 ` Domen Puncer
2007-03-23 3:28 ` David Gibson
2007-03-23 12:20 ` Josh Boyer
2007-03-22 9:22 ` [PATCH 2/10] Use resource_size_t for serial port IO addresses David Gibson
2007-03-22 9:22 ` [PATCH 3/10] Re-organize Kconfig code for 4xx in arch/powerpc David Gibson
2007-03-22 9:22 ` [PATCH 6/10] Support for Ebony " David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070323233034.GB4459@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).