RE: 1 GB lowmem

2008-05-22 Thread Rune Torgersen
Kumar Gala wrote: > something like that would be good. is there really anything PPC32 > specific about it? Apparently. The Kconfig option is only available for arch/powerpc and arch/ppc, and the only place in the whole codetree where CONFIG_TASK_SIZE is used is that particular spot in asm-powerp

FW: 1 GB lowmem

2008-05-22 Thread Rune Torgersen
Kumar Gala wrote: > On May 21, 2008, at 4:24 PM, Rune Torgersen wrote: > >> Kumar Gala wrote: >>> On May 21, 2008, at 3:55 PM, Rune Torgersen wrote: Argh... Found it. Had to set CONFIG_TASK_SIZE to 0x8000. Now it works in both vaniulla an d RT kernel. >>> >>> We should really add so

RE: 1 GB lowmem

2008-05-22 Thread Rune Torgersen
Kumar Gala wrote: > On May 21, 2008, at 4:24 PM, Rune Torgersen wrote: > >> Kumar Gala wrote: >>> On May 21, 2008, at 3:55 PM, Rune Torgersen wrote: Argh... Found it. Had to set CONFIG_TASK_SIZE to 0x8000. Now it works in both vaniulla an d RT kernel. >>> >>> We should really add so

Re: 1 GB lowmem

2008-05-21 Thread Kumar Gala
On May 21, 2008, at 4:24 PM, Rune Torgersen wrote: Kumar Gala wrote: On May 21, 2008, at 3:55 PM, Rune Torgersen wrote: Argh... Found it. Had to set CONFIG_TASK_SIZE to 0x8000. Now it works in both vaniulla an d RT kernel. We should really add some sanity check on CONFIG_TASK_SIZE vs KE

Re: 1 GB lowmem

2008-05-21 Thread Benjamin Herrenschmidt
On Wed, 2008-05-21 at 13:00 -0500, Rune Torgersen wrote: > Hi > > I am trying to enable 1 GB of lowmem on a Freescale 8280. > In arch/ppc this was easilly done by: > CONFIG_ADVANCED_OPTIONS=y > CONFIG_HIGHMEM_START=0xfe00 > CONFIG_LOWMEM_SIZE_BOOL=y > CONFIG_LOWMEM_SIZE=0x4000 > CONFIG_KE

RE: 1 GB lowmem

2008-05-21 Thread Rune Torgersen
Kumar Gala wrote: > On May 21, 2008, at 3:55 PM, Rune Torgersen wrote: >> Argh... Found it. Had to set CONFIG_TASK_SIZE to 0x8000. Now it >> works in both vaniulla an d RT kernel. > > We should really add some sanity check on CONFIG_TASK_SIZE vs > KERNEL_START. Something like this? Wording s

Re: 1 GB lowmem

2008-05-21 Thread Kumar Gala
CONFIG_PREEMPT_RT. (hitting a bug_on in kmap_atomic) Scratch that. 1 GB lowmem works with vanilla 2.6.25.4, but not at all with 2.6.25.4-rt[13] Argh... Found it. Had to set CONFIG_TASK_SIZE to 0x8000. Now it works in both vaniulla an d RT kernel. We should really add some sanity check on CONFIG_TASK_SIZE

RE: 1 GB lowmem

2008-05-21 Thread Rune Torgersen
nt to do this is because I cannot get highmem support >> to work when using CONFIG_PREEMPT_RT. >> (hitting a bug_on in kmap_atomic) > > Scratch that. 1 GB lowmem works with vanilla 2.6.25.4, but > not at all with 2.6.25.4-rt[13] Argh... Found it. H

RE: 1 GB lowmem

2008-05-21 Thread Rune Torgersen
PT_RT. > (hitting a bug_on in kmap_atomic) Scratch that. 1 GB lowmem works with vanilla 2.6.25.4, but not at all with 2.6.25.4-rt[13] ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

1 GB lowmem

2008-05-21 Thread Rune Torgersen
Hi I am trying to enable 1 GB of lowmem on a Freescale 8280. In arch/ppc this was easilly done by: CONFIG_ADVANCED_OPTIONS=y CONFIG_HIGHMEM_START=0xfe00 CONFIG_LOWMEM_SIZE_BOOL=y CONFIG_LOWMEM_SIZE=0x4000 CONFIG_KERNEL_START_BOOL=y CONFIG_KERNEL_START=0xa000 This does not work in arch