diff mbox

[RFC] OMAP2PLUS: Enable HIGHMEM

Message ID 1307016381-21878-1-git-send-email-santosh.shilimkar@ti.com (mailing list archive)
State New, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Santosh Shilimkar June 2, 2011, 12:06 p.m. UTC
HIGMEM support is kernel is quite mature now and we have boards
like ZOOM, PANDA, SDP where 1 GB memories are installed.

Enable HIGMEM to make use of the additional memory.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
This won't boards which doesn't have excess memory. Tested
on OMAP4430 SDP

 arch/arm/mach-omap2/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Santosh Shilimkar June 2, 2011, 1:21 p.m. UTC | #1
Fixing the change log ...

On 6/2/2011 5:36 PM, Santosh Shilimkar wrote:
> HIGMEM support is kernel is quite mature now and we have boards
HIGMEM support in kernel is quite mature now and we have boards
> like ZOOM, PANDA, SDP where 1 GB memories are installed.
>
> Enable HIGMEM to make use of the additional memory.
>
> Signed-off-by: Santosh Shilimkar<santosh.shilimkar@ti.com>
> ---
> This won't boards which doesn't have excess memory. Tested
This won't affect boards which doesn't have excess memory. Tested
> on OMAP4430 SDP
>
>   arch/arm/mach-omap2/Kconfig |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 19d5891..25e819e 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -19,6 +19,7 @@ config ARCH_OMAP2PLUS_TYPICAL
>   	select MENELAUS if ARCH_OMAP2
>   	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
>   	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
> +	select HIGHMEM
>   	help
>   	  Compile a kernel suitable for booting most boards
>

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sanjeev Premi June 2, 2011, 1:21 p.m. UTC | #2
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org 
> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of 
> Shilimkar, Santosh
> Sent: Thursday, June 02, 2011 5:36 PM
> To: linux-omap@vger.kernel.org
> Cc: Shilimkar, Santosh
> Subject: [PATCH RFC] OMAP2PLUS: Enable HIGHMEM
> 
> HIGMEM support is kernel is quite mature now and we have boards
[sp]             ^^ replace with "in"

> like ZOOM, PANDA, SDP where 1 GB memories are installed.
> 
> Enable HIGMEM to make use of the additional memory.
> 
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> ---
> This won't boards which doesn't have excess memory. Tested
> on OMAP4430 SDP

[sp] Comment is unclear on what happens on the boards with
     lesser memories esp. since the change will impact all
     boards. You may want to explain.

> 
>  arch/arm/mach-omap2/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 19d5891..25e819e 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -19,6 +19,7 @@ config ARCH_OMAP2PLUS_TYPICAL
>  	select MENELAUS if ARCH_OMAP2
>  	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
>  	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
> +	select HIGHMEM 
>  	help
>  	  Compile a kernel suitable for booting most boards
>  
> -- 
> 1.6.0.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Santosh Shilimkar June 2, 2011, 1:54 p.m. UTC | #3
On 6/2/2011 6:51 PM, Premi, Sanjeev wrote:
>> -----Original Message-----
>> From: linux-omap-owner@vger.kernel.org
>> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of
>> Shilimkar, Santosh
>> Sent: Thursday, June 02, 2011 5:36 PM
>> To: linux-omap@vger.kernel.org
>> Cc: Shilimkar, Santosh
>> Subject: [PATCH RFC] OMAP2PLUS: Enable HIGHMEM
>>
>> HIGMEM support is kernel is quite mature now and we have boards
> [sp]             ^^ replace with "in"
yep. I sent that update in next email.

>
>> like ZOOM, PANDA, SDP where 1 GB memories are installed.
>>
>> Enable HIGMEM to make use of the additional memory.
>>
>> Signed-off-by: Santosh Shilimkar<santosh.shilimkar@ti.com>
>> ---
>> This won't boards which doesn't have excess memory. Tested
>> on OMAP4430 SDP
>
> [sp] Comment is unclear on what happens on the boards with
>       lesser memories esp. since the change will impact all
>       boards. You may want to explain.
>

On the boards which doesn't have more than 768 MB memory, all the memory
is directly mapped in "lowmem" and highmem isn't exercised.


>>
>>   arch/arm/mach-omap2/Kconfig |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
>> index 19d5891..25e819e 100644
>> --- a/arch/arm/mach-omap2/Kconfig
>> +++ b/arch/arm/mach-omap2/Kconfig
>> @@ -19,6 +19,7 @@ config ARCH_OMAP2PLUS_TYPICAL
>>   	select MENELAUS if ARCH_OMAP2
>>   	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
>>   	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
>> +	select HIGHMEM
>>   	help
>>   	  Compile a kernel suitable for booting most boards
>>
>> --
>> 1.6.0.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Santosh Shilimkar Aug. 25, 2011, 8:42 a.m. UTC | #4
Tony,

On Thursday 02 June 2011 05:36 PM, Santosh Shilimkar wrote:
> HIGMEM support is kernel is quite mature now and we have boards
> like ZOOM, PANDA, SDP where 1 GB memories are installed.
>
> Enable HIGMEM to make use of the additional memory.
>
> Signed-off-by: Santosh Shilimkar<santosh.shilimkar@ti.com>
> ---
> This won't boards which doesn't have excess memory. Tested
> on OMAP4430 SDP
>
>   arch/arm/mach-omap2/Kconfig |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
Any comments.
I almost forgot about the post. Thanks to imx patch on LAKML, i
looked at it again.

If you are ok, I can repost it with LAKML in CC.

Regards
Santosh


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 19d5891..25e819e 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -19,6 +19,7 @@  config ARCH_OMAP2PLUS_TYPICAL
 	select MENELAUS if ARCH_OMAP2
 	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
 	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
+	select HIGHMEM 
 	help
 	  Compile a kernel suitable for booting most boards