* [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
@ 2023-07-12 1:40 Christian Marangi
2023-07-12 15:23 ` Andrew Lunn
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Christian Marangi @ 2023-07-12 1:40 UTC (permalink / raw)
To: Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
Broadcom internal kernel review list, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, René Kjellerup,
linux-arm-kernel, devicetree, linux-kernel
Cc: Aleksey Nasibulin, Christian Marangi, stable
From: Aleksey Nasibulin <alealexpro100@ya.ru>
Linksys ea6500-v2 have 256MB of ram. Currently we only use 128MB.
Expand the definition to use all the available RAM.
Fixes: 03e96644d7a8 ("ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2")
Signed-off-by: Aleksey Nasibulin <alealexpro100@ya.ru>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Cc: stable@vger.kernel.org
---
arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
index f1412ba83def..0454423fe166 100644
--- a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
+++ b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
@@ -19,7 +19,8 @@ chosen {
memory@0 {
device_type = "memory";
- reg = <0x00000000 0x08000000>;
+ reg = <0x00000000 0x08000000>,
+ <0x88000000 0x08000000>;
};
gpio-keys {
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
2023-07-12 1:40 [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 Christian Marangi
@ 2023-07-12 15:23 ` Andrew Lunn
2023-07-12 17:07 ` Rafał Miłecki
2023-07-12 17:07 ` Rafał Miłecki
2023-07-12 17:23 ` Florian Fainelli
2 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2023-07-12 15:23 UTC (permalink / raw)
To: Christian Marangi
Cc: Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
Broadcom internal kernel review list, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, René Kjellerup,
linux-arm-kernel, devicetree, linux-kernel, Aleksey Nasibulin,
stable
> --- a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
> +++ b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
> @@ -19,7 +19,8 @@ chosen {
>
> memory@0 {
> device_type = "memory";
> - reg = <0x00000000 0x08000000>;
> + reg = <0x00000000 0x08000000>,
> + <0x88000000 0x08000000>;
So there is a hole in the middle? Does this require any special
CONFIG_ option to support sparse memory?
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
2023-07-12 15:23 ` Andrew Lunn
@ 2023-07-12 17:07 ` Rafał Miłecki
0 siblings, 0 replies; 5+ messages in thread
From: Rafał Miłecki @ 2023-07-12 17:07 UTC (permalink / raw)
To: Andrew Lunn, Christian Marangi
Cc: Florian Fainelli, Hauke Mehrtens,
Broadcom internal kernel review list, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, René Kjellerup,
linux-arm-kernel, devicetree, linux-kernel, Aleksey Nasibulin,
stable
On 12.07.2023 17:23, Andrew Lunn wrote:
>> --- a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
>> +++ b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts
>> @@ -19,7 +19,8 @@ chosen {
>>
>> memory@0 {
>> device_type = "memory";
>> - reg = <0x00000000 0x08000000>;
>> + reg = <0x00000000 0x08000000>,
>> + <0x88000000 0x08000000>;
>
> So there is a hole in the middle? Does this require any special
> CONFIG_ option to support sparse memory?
This is how RAM is mapped on all known Northstar devices. Using two
blocks.
I've heard there is a way to design Northstar SoC board to have all RAM
in one region but thay requires disabling something (I don't remember
what) and in practice to vendor decided to do that.
AFAIK no extra CONFIG_* option is needed to make Linux map multiple RAM
regions.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
2023-07-12 1:40 [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 Christian Marangi
2023-07-12 15:23 ` Andrew Lunn
@ 2023-07-12 17:07 ` Rafał Miłecki
2023-07-12 17:23 ` Florian Fainelli
2 siblings, 0 replies; 5+ messages in thread
From: Rafał Miłecki @ 2023-07-12 17:07 UTC (permalink / raw)
To: Christian Marangi, Florian Fainelli, Hauke Mehrtens,
Broadcom internal kernel review list, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, René Kjellerup,
linux-arm-kernel, devicetree, linux-kernel
Cc: Aleksey Nasibulin, stable
On 12.07.2023 03:40, Christian Marangi wrote:
> From: Aleksey Nasibulin <alealexpro100@ya.ru>
>
> Linksys ea6500-v2 have 256MB of ram. Currently we only use 128MB.
> Expand the definition to use all the available RAM.
>
> Fixes: 03e96644d7a8 ("ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2")
> Signed-off-by: Aleksey Nasibulin <alealexpro100@ya.ru>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> Cc: stable@vger.kernel.org
Acked-by: Rafał Miłecki <rafal@milecki.pl>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
2023-07-12 1:40 [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 Christian Marangi
2023-07-12 15:23 ` Andrew Lunn
2023-07-12 17:07 ` Rafał Miłecki
@ 2023-07-12 17:23 ` Florian Fainelli
2 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2023-07-12 17:23 UTC (permalink / raw)
To: bcm-kernel-feedback-list, Christian Marangi, Florian Fainelli,
Hauke Mehrtens, Rafał Miłecki, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, René Kjellerup,
linux-arm-kernel, devicetree, linux-kernel
Cc: Florian Fainelli, Aleksey Nasibulin, stable
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
From: Florian Fainelli <f.fainelli@gmail.com>
On Wed, 12 Jul 2023 03:40:17 +0200, Christian Marangi <ansuelsmth@gmail.com> wrote:
> From: Aleksey Nasibulin <alealexpro100@ya.ru>
>
> Linksys ea6500-v2 have 256MB of ram. Currently we only use 128MB.
> Expand the definition to use all the available RAM.
>
> Fixes: 03e96644d7a8 ("ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2")
> Signed-off-by: Aleksey Nasibulin <alealexpro100@ya.ru>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> Cc: stable@vger.kernel.org
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-12 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 1:40 [PATCH] ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 Christian Marangi
2023-07-12 15:23 ` Andrew Lunn
2023-07-12 17:07 ` Rafał Miłecki
2023-07-12 17:07 ` Rafał Miłecki
2023-07-12 17:23 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).