From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 21 Feb 2014 17:38:05 +0100 Subject: [U-Boot] [PATCH] arm64 patch: gicv3 support In-Reply-To: <1389773456-37854-1-git-send-email-fenghua@phytium.com.cn> References: <1389773456-37854-1-git-send-email-fenghua@phytium.com.cn> Message-ID: <20140221173805.5b642144@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi fenghua at phytium.com.cn, On Wed, 15 Jan 2014 16:10:56 +0800, fenghua at phytium.com.cn wrote: > From: David Feng > > This patch add gicv3 support to uboot armv8 platform. > Modifications cover 4 source files, as follows: > gic.S: gicv3 initialization and sgi interrupt raising. > goc.h: gicv3 register definitions. > vexpress_aemv8a.h: add CONFIG_GICV2/CONFIG_GICV3 switch. > start.S: set SCR_EL3.NS bit to 1, gicv3 register of ICC_SRE_EL2 > could be accessed only when SCR_EL3.NS=1. > set SCR_EL3.IRQ|FIQ|EA bits, reroute all interrupts to > el3 at all cores, slaves could be waken up by interrupt > only when the interrupt is routed to it when running > at el3. > Note: please use the latest gcc 4.8 compiler from linaro > which support gicv3 system register assembling. > > Signed-off-by: David Feng > --- I am not well-versed enough in aarch64 and GIC, be it v2 or v3, so... Is this patch OK as it is, or should a V2 follow with common GIVv2/GICv3 code merged? Amicalement, -- Albert.