Skip to contentSkip to conversation

SMP not working on Odroid XU3

PATCH Peter Chubb 2 participants 2 messages May 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,
Is there any info on the web at present as to what's supposed to work and what doesn't in the upstream kernel?

I'm currently seeing only two out of eight processors come up at boot time using the samsung-linux tree, both A7s. All eight come up in HYP mode using the Hardkernel linux tree.

There's one obvious error in arch/arm/mach-exynos/firmware.c -- the address in the samsung,secure-firmware node isn't saved anywhere or used anywhere. Instead the SMC communication area is taken from the samsung,exynos4210-sysram-ns node. But fixing that doesn't help.

Here's how I `fixed' it, but there's something else wrong.

index 0c62156..1df5b5a 100644

arch/arm/boot/dts/exynos5422-odroidxu3.dts +1 -1
@@ -31,10 +31,11 @@
        };
 
        firmware@02073000 {
-               compatible = "samsung,secure-firmware";
+               compatible = "samsung,exynos4210-sysram-ns", "samsung,secure-firmware";
                reg = <0x02073000 0x1000>;
        };
 
 
Signature · 2 lines
Dr Peter Chubb				        peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA
#1 lore raw

2015-05-14 12:07 GMT+09:00 Peter Chubb <[email protected]>:

Quoted 3 lines

Hi,
Is there any info on the web at present as to what's supposed to work and what doesn't in the upstream kernel?

I think there isn't.

Quoted 3 lines

I'm currently seeing only two out of eight processors come up at boot time using the samsung-linux tree, both A7s. All eight come up in HYP mode using the Hardkernel linux tree.

That is strange, I would expect the opposite - six out of eight should come up on current next and mainline.

Quoted 5 lines

There's one obvious error in arch/arm/mach-exynos/firmware.c -- the address in the samsung,secure-firmware node isn't saved anywhere or used anywhere. Instead the SMC communication area is taken from the samsung,exynos4210-sysram-ns node.

exynos5420.dtsi and sysram-ns.

Best regards,
Krzysztof