From patchwork Thu May 15 17:58:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 30280 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 823BD20068 for ; Thu, 15 May 2014 18:02:03 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id i17sf4786818qcy.2 for ; Thu, 15 May 2014 11:02:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=2dxk54KQA3OGppDee33x67ozNcDzGwpbMnkM91grlOM=; b=gjR6KVeaeZ7gQsciYXsFyx41TpFFiT8OGoSvot4lZjBhNyQf6c2D/BIZ5BtIt3Iwjn k0Xh1uWnYE7lnZCziyHI9VlAN8Hql68dhNFVElTOilE9z+R1G+GVUEc9WtQubDsPrK4p c8cvfioZvXvUMRPW6c5V0wmABpkscaxGRCEbhw+lq/Xr2BYGIKu74KD1qktae1hKbyDL YRmCROqtTQ/a25TeXCyo+2kPAR93vp7OqPPCLLFMnDpaI1TA3wr2pXOxtqkMcTuSeilc CZnPWxoeRR1xtKz2BdQIr9DQwuy51sPUQK3YF5RQEf1BH6yIOW2xme1KgYfPgVodeQtF XxAw== X-Gm-Message-State: ALoCoQne8c0CtFq23ZzHsEu74zgGyExRdd1Z/SUrbGfPYX8GMx7feQLC/5EutIOW7TuC0T8qimD+ X-Received: by 10.236.11.194 with SMTP id 42mr4828646yhx.49.1400176923382; Thu, 15 May 2014 11:02:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.87 with SMTP id v81ls372682qge.0.gmail; Thu, 15 May 2014 11:02:03 -0700 (PDT) X-Received: by 10.52.190.138 with SMTP id gq10mr1292537vdc.47.1400176923222; Thu, 15 May 2014 11:02:03 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id uc9si1060419vdc.174.2014.05.15.11.02.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 May 2014 11:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.178 as permitted sender) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id sa20so1809927veb.9 for ; Thu, 15 May 2014 11:02:03 -0700 (PDT) X-Received: by 10.58.133.38 with SMTP id oz6mr1513607veb.46.1400176923148; Thu, 15 May 2014 11:02:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp342683vcb; Thu, 15 May 2014 11:02:02 -0700 (PDT) X-Received: by 10.229.221.194 with SMTP id id2mr87911qcb.5.1400176922597; Thu, 15 May 2014 11:02:02 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id c2si2957815qas.128.2014.05.15.11.02.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 May 2014 11:02:02 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wkzx0-00010e-3O; Thu, 15 May 2014 18:00:14 +0000 Received: from fw-tnat.austin.arm.com ([217.140.110.23] helo=collaborate-mta1.arm.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wkzvu-0007XW-KZ for linux-arm-kernel@lists.infradead.org; Thu, 15 May 2014 17:59:07 +0000 Received: from e102391-lin.cambridge.arm.com (e102391-lin.cambridge.arm.com [10.1.209.166]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 0B31E13FAAD; Thu, 15 May 2014 12:58:44 -0500 (CDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: [PATCH v4 04/20] arm64: boot protocol documentation update for GICv3 Date: Thu, 15 May 2014 18:58:23 +0100 Message-Id: <1400176719-31275-5-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1400176719-31275-1-git-send-email-marc.zyngier@arm.com> References: <1400176719-31275-1-git-send-email-marc.zyngier@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140515_105906_753297_D2650BC4 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: Catalin Marinas , Will Deacon , Christoffer Dall X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Linux has some requirements that must be satisfied in order to boot on a system built with a GICv3. Acked-by: Christoffer Dall Signed-off-by: Marc Zyngier --- Documentation/arm64/booting.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/arm64/booting.txt b/Documentation/arm64/booting.txt index beb754e..fb9f772 100644 --- a/Documentation/arm64/booting.txt +++ b/Documentation/arm64/booting.txt @@ -137,6 +137,12 @@ Before jumping into the kernel, the following conditions must be met: the kernel image will be entered must be initialised by software at a higher exception level to prevent execution in an UNKNOWN state. + For systems with a GICv3 interrupt controller, it is expected that: + - If EL3 is present, it must program ICC_SRE_EL3.Enable (bit 3) to + 0b1 and ICC_SRE_EL3.SRE (bit 0) to 0b1. + - If the kernel is entered at EL1, EL2 must set ICC_SRE_EL2.Enable + (bit 3) to 0b1 and ICC_SRE_EL2.SRE (bit 0) to 0b1. + The requirements described above for CPU mode, caches, MMUs, architected timers, coherency and system registers apply to all CPUs. All CPUs must enter the kernel in the same exception level.