From patchwork Tue May 17 19:37:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Pearson X-Patchwork-Id: 623255 X-Patchwork-Delegate: hdegoede@redhat.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3r8SKR2bxcz9t87 for ; Wed, 18 May 2016 05:37:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=raptorengineering.com header.i=@raptorengineering.com header.b=MjSne6cO; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BD717A763B; Tue, 17 May 2016 21:37:45 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-ToTiO02rWq; Tue, 17 May 2016 21:37:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 20D6AA75CF; Tue, 17 May 2016 21:37:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7277DA75CF for ; Tue, 17 May 2016 21:37:42 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YY4h_DonMdZx for ; Tue, 17 May 2016 21:37:42 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail.pearsoncomputing.net (pearsoncomputing.net [192.119.205.242]) by theia.denx.de (Postfix) with ESMTPS id 2510AA74DA for ; Tue, 17 May 2016 21:37:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.pearsoncomputing.net (Postfix) with ESMTP id 09CC3640CB7 for ; Tue, 17 May 2016 14:37:38 -0500 (CDT) Received: from mail.pearsoncomputing.net ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rF3vr6H4Fz9p for ; Tue, 17 May 2016 14:37:37 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.pearsoncomputing.net (Postfix) with ESMTP id 7C552641013 for ; Tue, 17 May 2016 14:37:37 -0500 (CDT) DKIM-Filter: OpenDKIM Filter v2.9.2 mail.pearsoncomputing.net 7C552641013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1463513857; bh=95FsreI4La7dsyGJ/IU+u+lUCg2Kscd7mDXj2bPNATI=; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type: Content-Transfer-Encoding; b=MjSne6cOuA71dbmIvAWyHji4fyEwbyidu2+IR9PFabJCal3ohSTtfEJNNYGFFs9qf r0kZ8SiF3T3DuEwLYYZsDcvHLQEpxaVNbsbTJ0OpLudj0/eZHRLtRrlllVojF0YMMj mJ0o0uq9PxFAzrR9Iirl7nLaKXFgr80Y3PXrTrmM= X-Virus-Scanned: amavisd-new at pearsoncomputing.net Received: from mail.pearsoncomputing.net ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nplyIxvaLQPA for ; Tue, 17 May 2016 14:37:37 -0500 (CDT) Received: from vali.starlink.edu (localhost [127.0.0.1]) by mail.pearsoncomputing.net (Postfix) with ESMTP id 4E540640CB7 for ; Tue, 17 May 2016 14:37:37 -0500 (CDT) Received: from 192.168.3.91 (proxying for 192.168.3.1) (SquirrelMail authenticated user tpearson@raptorengineeringinc.com) by vali.starlink.edu with HTTP; Tue, 17 May 2016 14:37:37 -0500 Message-ID: <20e1b9deae89ee795715cdb75d6f8496.squirrel@vali.starlink.edu> Date: Tue, 17 May 2016 14:37:37 -0500 From: tpearson@raptorengineering.com To: u-boot@lists.denx.de User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 X-Priority: 3 (Normal) Importance: Normal Subject: [U-Boot] [V2] [PATCH 8/8] a83t: Enable PSCI, non-secure mode, and cluster / cache setup X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that the groundwork has been laid, enable all the pieces to support PSCI, KVM, and SMP. This has been tested on a mainline Linux kernel, however that kernel hangs for an unknown reason during kthread execution even though all cores start normally. It is currently assumed that this is a non-PSCI related problem. Signed-off-by: Timothy Pearson --- board/sunxi/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index fa78720..4b82d3d 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -85,8 +85,13 @@ config MACH_SUN50I config MACH_SUN8I_A83T bool "sun8i (Allwinner A83T)" select CPU_V7 + select CPU_V7_HAS_NONSEC + select CPU_V7_HAS_VIRT select SUNXI_GEN_SUN6I select SUPPORT_SPL + select ENABLE_CLUSTER_1 + select ENABLE_CCI400_SNOOP_CLUSTERS_0_1 + select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT config MACH_SUN9I bool "sun9i (Allwinner A80)" @@ -623,4 +628,12 @@ config SPL_STACK_R_ADDR default 0x4fe00000 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN7I || MACH_SUN8I || MACH_SUN50I default 0x2fe00000 if MACH_SUN9I +config ENABLE_CLUSTER_1 + bool + default n + +config ENABLE_CCI400_SNOOP_CLUSTERS_0_1 + bool + default n + endif