* [PATCH] ARM: BCM5301X: activate some additional options in pl310 cache controller
@ 2015-05-24 18:50 Hauke Mehrtens
[not found] ` <1432493418-12933-1-git-send-email-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Hauke Mehrtens @ 2015-05-24 18:50 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
fainelli-dY08KVG/lbpWk0Htik3J/w
Cc: geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ,
devicetree-u79uwXL29TY76Z2rM5mHXA, linux-lFZ/pmaqli7XmaaqVzeoHQ,
arnd-r2nGTMty4D4, zajec5-Re5JQEeQqe8AvxtiuMwx3w, Hauke Mehrtens
In the default Broadcom SDK the shared override is activated for this
cache controller, do the same in the upstream code. Data and
instruction prefetching is not activated by default for this cache
controller on the bcm53xx SoC, do it manually like it is done in the
vendor SDK.
Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
---
arch/arm/boot/dts/bcm5301x.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 78aec62..7d1578a 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -78,6 +78,9 @@
compatible = "arm,pl310-cache";
reg = <0x2000 0x1000>;
cache-unified;
+ arm,shared-override;
+ arm,prefetch-data = <1>;
+ arm,prefetch-instr = <1>;
cache-level = <2>;
};
};
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1432493418-12933-1-git-send-email-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>]
* Re: [PATCH] ARM: BCM5301X: activate some additional options in pl310 cache controller [not found] ` <1432493418-12933-1-git-send-email-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> @ 2015-05-24 18:54 ` Rafał Miłecki [not found] ` <CACna6ryXjmEgw+dzz5OgS=9rUn8ng9S6rD7eBoQ8dqycG5vJ9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Rafał Miłecki @ 2015-05-24 18:54 UTC (permalink / raw) To: Hauke Mehrtens, Felix Fietkau Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Florian Fainelli, geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King - ARM Linux, Arnd Bergmann On 24 May 2015 at 20:50, Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> wrote: > In the default Broadcom SDK the shared override is activated for this > cache controller, do the same in the upstream code. Data and > instruction prefetching is not activated by default for this cache > controller on the bcm53xx SoC, do it manually like it is done in the > vendor SDK. > > Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> > --- > arch/arm/boot/dts/bcm5301x.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi > index 78aec62..7d1578a 100644 > --- a/arch/arm/boot/dts/bcm5301x.dtsi > +++ b/arch/arm/boot/dts/bcm5301x.dtsi > @@ -78,6 +78,9 @@ > compatible = "arm,pl310-cache"; > reg = <0x2000 0x1000>; > cache-unified; > + arm,shared-override; > + arm,prefetch-data = <1>; > + arm,prefetch-instr = <1>; > cache-level = <2>; > }; > }; > -- > 2.1.4 Fwd-ing to Felix, who was also looking at this I believe. -- Rafał -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CACna6ryXjmEgw+dzz5OgS=9rUn8ng9S6rD7eBoQ8dqycG5vJ9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] ARM: BCM5301X: activate some additional options in pl310 cache controller [not found] ` <CACna6ryXjmEgw+dzz5OgS=9rUn8ng9S6rD7eBoQ8dqycG5vJ9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-05-24 19:00 ` Hauke Mehrtens 0 siblings, 0 replies; 3+ messages in thread From: Hauke Mehrtens @ 2015-05-24 19:00 UTC (permalink / raw) To: Rafał Miłecki, Felix Fietkau Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Florian Fainelli, geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King - ARM Linux, Arnd Bergmann On 05/24/2015 08:54 PM, Rafał Miłecki wrote: > On 24 May 2015 at 20:50, Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> wrote: >> In the default Broadcom SDK the shared override is activated for this >> cache controller, do the same in the upstream code. Data and >> instruction prefetching is not activated by default for this cache >> controller on the bcm53xx SoC, do it manually like it is done in the >> vendor SDK. >> >> Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org> >> --- >> arch/arm/boot/dts/bcm5301x.dtsi | 3 +++ >> 1 file changed, 3 insertions(+) >> This makes use of the attributes added by these two patches: http://www.spinics.net/lists/arm-kernel/msg416406.html http://www.spinics.net/lists/arm-kernel/msg418996.html I hope both patches will make it into 4.2, but there wasn't a negative comment in the last week. Hauke -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-24 19:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-24 18:50 [PATCH] ARM: BCM5301X: activate some additional options in pl310 cache controller Hauke Mehrtens
[not found] ` <1432493418-12933-1-git-send-email-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2015-05-24 18:54 ` Rafał Miłecki
[not found] ` <CACna6ryXjmEgw+dzz5OgS=9rUn8ng9S6rD7eBoQ8dqycG5vJ9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-24 19:00 ` Hauke Mehrtens
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).