* [PATCH 12/16] cheat for support of more than 256MB memory
@ 2007-04-04 14:38 zhangfx
0 siblings, 0 replies; 2+ messages in thread
From: zhangfx @ 2007-04-04 14:38 UTC (permalink / raw)
To: linux-mips@linux-mips.org
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
arch/mips/kernel/setup.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4975da0..92a27bb 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -509,6 +509,14 @@ static void __init resource_init(void)
res->end = end;
res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
+#if defined(CONFIG_LEMOTE_FULONG) && defined(CONFIG_64BIT)
+ /* to keep memory continous, we tell system 0x10000000 - 0x20000000 is reserved
+ * for memory, in fact it is io region, don't occupy it
+ *
+ * SPARSEMEM?
+ */
+ if (boot_mem_map.map[i].type != BOOT_MEM_RESERVED)
+#endif
request_resource(&iomem_resource, res);
/*
--
1.4.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 12/16] cheat for support of more than 256MB memory
2007-04-15 15:26 ` [PATCH 11/16] add Loongson support to /proc/cpuinfo tiansm
@ 2007-04-15 15:26 ` tiansm
0 siblings, 0 replies; 2+ messages in thread
From: tiansm @ 2007-04-15 15:26 UTC (permalink / raw)
To: linux-mips; +Cc: Fuxin Zhang
From: Fuxin Zhang <zhangfx@lemote.com>
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
arch/mips/kernel/setup.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4975da0..62ef100 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -509,6 +509,14 @@ static void __init resource_init(void)
res->end = end;
res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
+#if defined(CONFIG_LEMOTE_FULONG) && defined(CONFIG_64BIT)
+ /* to keep memory continous, we tell system 0x10000000 - 0x20000000 is reserved
+ * for memory, in fact it is io region, don't occupy it
+ *
+ * SPARSEMEM?
+ */
+ if (boot_mem_map.map[i].type != BOOT_MEM_RESERVED)
+#endif
request_resource(&iomem_resource, res);
/*
--
1.4.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-15 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 14:38 [PATCH 12/16] cheat for support of more than 256MB memory zhangfx
-- strict thread matches above, loose matches on Subject: below --
2007-04-15 15:25 lemote-fulong patch update tiansm
2007-04-15 15:25 ` [PATCH 1/16] new files for lemote fulong mini-PC support tiansm
2007-04-15 15:25 ` [PATCH 2/16] arch related Makefile update for lemote fulong mini-PC tiansm
2007-04-15 15:25 ` [PATCH 3/16] Kconfig " tiansm
2007-04-15 15:25 ` [PATCH 4/16] TO_PHYS_MASK for loongson2 tiansm
2007-04-15 15:25 ` [PATCH 5/16] add MACH_GROUP_LEMOTE & MACH_LEMOTE_FULONG tiansm
2007-04-15 15:25 ` [PATCH 6/16] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 tiansm
2007-04-15 15:25 ` [PATCH 7/16] add Loongson processor definitions tiansm
2007-04-15 15:25 ` [PATCH 8/16] define MODULE_PROC_FAMILY for Loongson2 tiansm
2007-04-15 15:25 ` [PATCH 9/16] add serial port definition for lemote fulong tiansm
2007-04-15 15:25 ` [PATCH 10/16] make cpu_probe recognize Loongson2 tiansm
2007-04-15 15:26 ` [PATCH 11/16] add Loongson support to /proc/cpuinfo tiansm
2007-04-15 15:26 ` [PATCH 12/16] cheat for support of more than 256MB memory tiansm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox