* [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller
@ 2015-07-29 21:50 Hauke Mehrtens
2015-07-29 21:51 ` [PATCH 2/2] ARM: BCM5301X: Add profiling support Hauke Mehrtens
2015-07-30 21:48 ` [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller Florian Fainelli
0 siblings, 2 replies; 4+ messages in thread
From: Hauke Mehrtens @ 2015-07-29 21:50 UTC (permalink / raw)
To: linux-arm-kernel
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@hauke-m.de>
---
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 21fefd4..0bae982 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;
+ prefetch-data = <1>;
+ prefetch-instr = <1>;
cache-level = <2>;
};
};
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: BCM5301X: Add profiling support
2015-07-29 21:50 [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller Hauke Mehrtens
@ 2015-07-29 21:51 ` Hauke Mehrtens
2015-07-30 21:48 ` Florian Fainelli
2015-07-30 21:48 ` [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller Florian Fainelli
1 sibling, 1 reply; 4+ messages in thread
From: Hauke Mehrtens @ 2015-07-29 21:51 UTC (permalink / raw)
To: linux-arm-kernel
From: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
arch/arm/boot/dts/bcm5301x.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 0bae982..6f50f67 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -85,6 +85,13 @@
};
};
+ pmu {
+ compatible = "arm,cortex-a9-pmu";
+ interrupts =
+ <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
clocks {
#address-cells = <1>;
#size-cells = <0>;
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller
2015-07-29 21:50 [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller Hauke Mehrtens
2015-07-29 21:51 ` [PATCH 2/2] ARM: BCM5301X: Add profiling support Hauke Mehrtens
@ 2015-07-30 21:48 ` Florian Fainelli
1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2015-07-30 21:48 UTC (permalink / raw)
To: linux-arm-kernel
On 29/07/15 14:50, Hauke Mehrtens 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@hauke-m.de>
Applied to devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: BCM5301X: Add profiling support
2015-07-29 21:51 ` [PATCH 2/2] ARM: BCM5301X: Add profiling support Hauke Mehrtens
@ 2015-07-30 21:48 ` Florian Fainelli
0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2015-07-30 21:48 UTC (permalink / raw)
To: linux-arm-kernel
On 29/07/15 14:51, Hauke Mehrtens wrote:
> From: Felix Fietkau <nbd@openwrt.org>
>
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Applied to devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-30 21:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 21:50 [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller Hauke Mehrtens
2015-07-29 21:51 ` [PATCH 2/2] ARM: BCM5301X: Add profiling support Hauke Mehrtens
2015-07-30 21:48 ` Florian Fainelli
2015-07-30 21:48 ` [PATCH 1/2] ARM: BCM5301X: activate some additional options in pl310 cache controller 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).