From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Date: Mon, 10 Nov 2014 13:10:28 +0000 Subject: [U-Boot] ARM: flush_dcache_all for PSCI In-Reply-To: <5460B64F.2040306@siemens.com> References: <5460B64F.2040306@siemens.com> Message-ID: <5460B944.3030401@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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...