[U-Boot] ARM: flush_dcache_all for PSCI

Marc Zyngier marc.zyngier at arm.com
Mon Nov 10 14:10:28 CET 2014


On 10/11/14 12:57, Jan Kiszka wrote:
> Hi all,
> 
> I'm trying to get Marc's CPU hotplug-anabling patch [1] for sunxi
> working on a B-Pi. After the first discussion it became clear that we
> need something like flush_dcache_all in the PSCI monitor (I don't think
> we need an icache flush, do we?). Does anyone have a clever suggestion

No, I-cache can be left alone.

> how to reuse the existing code for that? Or do we really need to
> re-implement everything, in the worst case in assembly?

Why don't you turn the u-boot code into a set of macros, included by
both the core u-boot code and the PSCI code?

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the U-Boot mailing list