From: "Haavard Skinnemoen" <hskinnemoen@gmail.com>
To: "Dave Hansen" <haveblue@us.ibm.com>
Cc: "Haavard Skinnemoen" <hskinnemoen@atmel.com>,
linux-kernel@vger.kernel.org, "Andrew Morton" <akpm@osdl.org>,
"Andy Whitcroft" <apw@shadowen.org>
Subject: Re: 2.6.18-rc1-mm2
Date: Tue, 18 Jul 2006 23:49:24 +0200 [thread overview]
Message-ID: <1defaf580607181449p138c2cfayc3df3657430624f8@mail.gmail.com> (raw)
In-Reply-To: <1152892123.24925.67.camel@localhost.localdomain>
On 7/14/06, Dave Hansen <haveblue@us.ibm.com> wrote:
> > +#define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
> > +#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
> > +#define PFN_PHYS(x) ((x) << PAGE_SHIFT)
>
> Please use include/linux/pfn.h instead of defining these
Ah, of course.
> > Since there's only a single board available, and that board has no use for
> > discontigmem or sparsemem anyway, I figured it's better to just turn it off
> > until a need for it arises.
>
> How about we help you get sparsemem working properly, and you can kill
> all of the discontigmem support from your arch? You can be the first
> non-legacy-impeded architecture. ;)
That would be great. I think maybe I should start by ripping out the
discontigmem stuff altogether, since there are no boards available
that requires it. But I can perhaps test sparsemem on a prototype
board.
> Feel free to mail Andy or myself with your compile errors, and I'm sure
> we can iron it out. I'd try myself, but I don't have a cross-compiler
> for your arch yet. Do you have one handy?
Thanks. There are patches for binutils and gcc available from avr32linux.org:
http://avr32linux.org/twiki/pub/Main/GccPatches/gcc-4.0.2-avr32.patch
http://avr32linux.org/twiki/bin/view/Main/BinutilsPatches
For binutils you should probably grab the pre-patched source tarball
unless you want to mess around with autoconf. I tried to make a patch
after regenerating all the makefiles, but the patch ended up being 5x
the size of the original one...
> It would also be nice to see a _couple_ of patches that perhaps abstract
> a thing or two into generic code. I know that new architectures usually
> begin with a 'cp -r', but it would be nice to see a wee bit of code
> refactoring as a small price of admission. Some of the ioremap and
> other pagetable code looked pretty generic to me.
The pagetable code in ioremap.c is indeed copied verbatim from another
architecture (I think it was MIPS.) I'll look at all the
implementations of remap_area_pages() and see if it's possible to
consolidate them when I get back to work in a bit less than two weeks.
I won't be submitting any patches until then, but your mail will wait
for me in my inbox so I won't forget about it. Thanks for taking the
time to review this.
Håvard
next prev parent reply other threads:[~2006-07-18 21:49 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 5:48 2.6.18-rc1-mm2 Andrew Morton
2006-07-14 6:55 ` 2.6.18-rc1-mm2 Reuben Farrelly
2006-07-14 7:05 ` 2.6.18-rc1-mm2 Andrew Morton
2006-07-15 0:04 ` 2.6.18-rc1-mm2 Herbert Xu
[not found] ` <20060714172010.fcc50c0a.akpm@osdl.org>
[not found] ` <20060715002623.GE9334@gondor.apana.org.au>
[not found] ` <20060714173517.cdd58097.akpm@osdl.org>
2006-07-15 1:06 ` 2.6.18-rc1-mm2 Herbert Xu
2006-07-15 5:40 ` 2.6.18-rc1-mm2 David Miller
2006-07-15 6:04 ` 2.6.18-rc1-mm2 Dave Jones
2006-07-16 1:19 ` 2.6.18-rc1-mm2 David Miller
2006-07-15 10:32 ` 2.6.18-rc1-mm2 Herbert Xu
2006-07-15 10:34 ` 2.6.18-rc1-mm2 Herbert Xu
2006-07-14 7:33 ` 2.6.18-rc1-mm2 David Miller
2006-07-14 7:00 ` 2.6.18-rc1-mm2 Reuben Farrelly
2006-07-14 8:39 ` [patch -mm] s390: kprobes compile fix Heiko Carstens
2006-07-14 11:30 ` 2.6.18-rc1-mm2 Reuben Farrelly
2006-07-14 15:00 ` 2.6.18-rc1-mm2 Andrew Morton
2006-07-14 11:36 ` 2.6.18-rc1-mm2 Rafael J. Wysocki
2006-07-14 18:00 ` 2.6.18-rc1-mm2 Andrew Morton
2006-07-14 18:36 ` 2.6.18-rc1-mm2 Michal Piotrowski
2006-07-14 20:27 ` 2.6.18-rc1-mm2 Rafael J. Wysocki
2006-07-14 12:23 ` 2.6.18-rc1-mm2 Michal Piotrowski
2006-07-14 12:36 ` 2.6.18-rc1-mm2 Lexington Luthor
2006-07-14 16:30 ` [PATCH] fixed add_bind_files() definition Yoichi Yuasa
2006-07-14 15:48 ` 2.6.18-rc1-mm2 Dave Hansen
2006-07-18 21:49 ` Haavard Skinnemoen [this message]
2006-07-14 16:30 ` 2.6.18-rc1-mm2 (bttv: NULL pointer derefernce) Dominik Karall
2006-08-02 16:00 ` 2.6.18-rc1-mm2 and 2.6.18-rc3 " Dominik Karall
2006-08-02 16:49 ` Andrew Morton
2006-08-02 16:57 ` Linus Torvalds
2006-08-02 18:02 ` Mauro Carvalho Chehab
2006-08-02 17:08 ` Bret Towe
2006-07-14 17:57 ` 2.6.18-rc1-mm2 Cédric Augonnet
2006-07-14 18:18 ` 2.6.18-rc1-mm2 Andrew Morton
2006-07-14 18:50 ` 2.6.18-rc1-mm2 Cédric Augonnet
2006-07-14 18:48 ` 2.6.18-rc1-mm2: drivers/char/*synclink* compile errors Adrian Bunk
2006-07-14 21:31 ` David Miller
2006-07-14 19:08 ` 2.6.18-rc1-mm2: drivers/scsi/NCR53C9x.c compile error Adrian Bunk
2006-07-20 10:17 ` 2.6.18-rc1-mm2: drivers/fc4/fc.c " Adrian Bunk
2006-07-15 0:35 ` [-mm patch] remove net/core/skbuff.c:skb_queue_lock_key Adrian Bunk
2006-07-15 5:35 ` Arjan van de Ven
2006-07-15 0:35 ` [-mm patch] drivers/char/pc8736x_gpio.c: unexport a static struct Adrian Bunk
2006-07-15 14:50 ` Chris Boot
2006-07-15 0:35 ` [RFC: -mm patch] drivers/char/scx200_gpio.c: make code static Adrian Bunk
2006-07-15 14:49 ` Chris Boot
2006-07-15 15:37 ` Adrian Bunk
2006-07-15 17:10 ` Chris Boot
2006-07-15 23:49 ` Jim Cromie
2006-07-15 0:35 ` [-mm patch] drivers/crypto/padlock-sha.c: make 2 functions static Adrian Bunk
2006-07-15 0:39 ` Herbert Xu
2006-07-15 0:35 ` [RFC: -mm patch] drivers/usb/core/driver.c: " Adrian Bunk
2006-07-15 12:50 ` [linux-usb-devel] " Alan Stern
2006-07-15 0:36 ` [RFC: -mm patch] fs/dlm/lock.c: unexport dlm_lvb_operations Adrian Bunk
2006-07-19 23:27 ` Steven Whitehouse
2006-07-15 0:37 ` [-mm patch] drivers/char/pc8736x_gpio.c: remove unused static functions Adrian Bunk
2006-07-18 16:07 ` Jim Cromie
2006-07-30 16:49 ` Jim Cromie
2006-07-22 9:49 ` [patch] mdacon: fix __init section warnings Frederik Deweerdt
2006-07-23 0:55 ` 2.6.18-rc1-mm2 Reuben Farrelly
2006-07-24 17:21 ` [patch] inotify: fix deadlock found by lockdep Arjan van de Ven
2006-07-24 19:14 ` Ingo Molnar
2006-07-24 22:08 ` Robert Love
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=1defaf580607181449p138c2cfayc3df3657430624f8@mail.gmail.com \
--to=hskinnemoen@gmail.com \
--cc=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=haveblue@us.ibm.com \
--cc=hskinnemoen@atmel.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®