From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 1 Apr 2014 09:21:03 -0700 Subject: [U-Boot] why not enable ICache in vexpress_aemv8a.h In-Reply-To: References: Message-ID: <533AE76F.1010207@freescale.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 03/30/2014 11:30 PM, TigerLiu at via-alliance.com wrote: > Hi, fenghua: > I found you defined these marcoes in vexpress_aemv8a.h : > #define CONFIG_SYS_DCACHE_OFF > #define CONFIG_SYS_ICACHE_OFF > > Most ARMv7 platform will enable Icache to make code run faster. > So, why not turn on Icache on ARMv8 FVP model? > Is there any side-effects? > I can only guess why David choose to do so. The function model doesn't have cache implemented. I am in the development of ARMv8 platform on an emulator which is much closer to a real chip. I have found several cache related issue with current code. If you want to check, please see http://patchwork.ozlabs.org/bundle/yorksun/armv8_fsl-lsch3/ York