From: Geoff Levand <geoffrey.levand@am.sony.com>
To: michael@ellerman.id.au
Cc: Paul Mackerras <paulus@samba.org>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 7/16] powerpc: add support for ps3 platform
Date: Thu, 16 Nov 2006 18:44:11 -0800 [thread overview]
Message-ID: <455D21FB.9030707@am.sony.com> (raw)
In-Reply-To: <1163729962.16815.25.camel@localhost.localdomain>
Michael Ellerman wrote:
> On Thu, 2006-11-16 at 18:04 -0800, Geoff Levand wrote:
>> Michael Ellerman wrote:
>> > On Thu, 2006-11-16 at 17:33 -0800, Geoff Levand wrote:
>> >> Benjamin Herrenschmidt wrote:
>> >> >> > +
>> >> >> > +enum page_size {
>> >> >> > + page_size_4k = 12U,
>> >> >> > + page_size_64k = 16U,
>> >> >> > + page_size_16m = 24U,
>> >> >> > +};
>> >> >>
>> >> >> Please use ALL_CAPS for such constants.
>> >> >
>> >> > And call them PAGE_SHIFT_* while at it :-)
>> >>
>> >> The HV docs call this page size, so that is what I used for
>> >> the symbol. I'll look at the usage again and reconsider.
>> >
>> > No need to look at it, it's a shift not a size, the page size is not 12
>> > bytes. Keeping it consistent with the HV docs is a concern, but so is
>> > making it consistent with every other part of the kernel - which calls
>> > this a shift, see page.h f.e.
>>
>> Well, I meant reconsider in more of a broad sense, in like, maybe I can just do
>> something to get rid of it...
>
> Yeah ok, that's always a nice solution. My last post probably could have
> used a smiley in hindsight :)
Anyway, I hope everyone's happy...
+enum {
+ PAGE_SHIFT_4K = 12U,
+ PAGE_SHIFT_64K = 16U,
+ PAGE_SHIFT_16M = 24U,
+};
next prev parent reply other threads:[~2006-11-17 2:44 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 20:02 [PATCH 7/16] powerpc: add support for ps3 platform Geoff Levand
2006-11-10 21:23 ` Olof Johansson
2006-11-14 0:11 ` Geoff Levand
2006-11-15 17:54 ` Christoph Hellwig
2006-11-21 2:50 ` Paul Mackerras
2006-11-21 10:11 ` Arnd Bergmann
2006-11-21 10:15 ` Geert Uytterhoeven
2006-11-21 11:59 ` Paul Mackerras
2006-11-21 13:22 ` Christoph Hellwig
2006-11-21 13:42 ` Arnd Bergmann
2006-11-21 13:45 ` Christoph Hellwig
2006-11-21 19:54 ` Geoff Levand
2006-11-21 19:54 ` Geoff Levand
2006-11-21 19:54 ` Geoff Levand
2006-11-14 14:25 ` Geoff Levand
2006-11-11 11:21 ` Christoph Hellwig
2006-11-11 11:24 ` Christoph Hellwig
2006-11-11 11:50 ` Arnd Bergmann
2006-11-13 3:29 ` Geoff Levand
2006-11-14 14:00 ` Geoff Levand
2006-11-15 18:04 ` Christoph Hellwig
2006-11-16 1:41 ` Geoff Levand
2006-11-16 2:13 ` Michael Ellerman
2006-11-17 1:31 ` Geoff Levand
2006-11-17 6:41 ` Christoph Hellwig
2006-11-17 22:23 ` Benjamin Herrenschmidt
2006-11-18 2:02 ` Geoff Levand
2006-11-21 21:12 ` Geoff Levand
2006-11-17 0:39 ` Benjamin Herrenschmidt
2006-11-17 1:33 ` Geoff Levand
2006-11-17 1:42 ` Michael Ellerman
2006-11-17 2:04 ` Geoff Levand
2006-11-17 2:19 ` Michael Ellerman
2006-11-17 2:44 ` Geoff Levand [this message]
2006-11-16 16:35 ` Arnd Bergmann
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=455D21FB.9030707@am.sony.com \
--to=geoffrey.levand@am.sony.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=michael@ellerman.id.au \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.