Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42300
b: refs/heads/master
c: 261efc3
h: refs/heads/master
v: v3
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Dec 4, 2006
1 parent 8acce01 commit 083c3e3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2832a81df7f3cb7e7f912a256c156ddbd3450265
refs/heads/master: 261efc3f178c8c5b55d76208aee1f39ce247f723
11 changes: 11 additions & 0 deletions trunk/arch/powerpc/platforms/ps3/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,15 @@ config PS3_DYNAMIC_DMA
This support is mainly for Linux kernel development. If unsure,
say N.

config PS3_USE_LPAR_ADDR
depends on PPC_PS3 && EXPERIMENTAL
bool "PS3 use lpar address space"
default y
help
This option is solely for experimentation by experts. Disables
translation of lpar addresses. SPE support currently won't work
without this set to y.

If you have any doubt, choose the default y.

endmenu
6 changes: 6 additions & 0 deletions trunk/include/asm-powerpc/sparsemem.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
* MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
*/
#define SECTION_SIZE_BITS 24

#if defined(CONFIG_PS3_USE_LPAR_ADDR)
#define MAX_PHYSADDR_BITS 47
#define MAX_PHYSMEM_BITS 47
#else
#define MAX_PHYSADDR_BITS 44
#define MAX_PHYSMEM_BITS 44
#endif

#ifdef CONFIG_MEMORY_HOTPLUG
extern void create_section_mapping(unsigned long start, unsigned long end);
Expand Down

0 comments on commit 083c3e3

Please sign in to comment.