From patchwork Mon Aug 4 08:46:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 34776 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 41F1E20F2E for ; Mon, 4 Aug 2014 08:50:10 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g18sf38898969oah.6 for ; Mon, 04 Aug 2014 01:50:07 -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=As+HagGQze6aRd8D09rgRjYBIYIEhxkRXjaz4RVwjlM=; b=Yu91vRA96RH1BNByOUfpYHzKQ4Fxp5N7KsEV7RXPPSMbHaP6OXJvb2FXy2Jm8mxuSp xswQ+zimoY1BPPpvxtxPH6QX/YCaRHrR8Tpq+4miXNQEs8qXdZ8RNA/xSDVXng56fTBk A7dQmBJE9QnLIPGZZaZ0F6Wb1si/RLvsCRR0X75T8/pz94hf46VLcJX6lcV7NsZod7bG nSR2sntSXmtnoBu2vnTorbdXjgi1NM8x37mVNwzO1FJFvGHMcoWtftu5RJASUuHd4A3C u30iKxf7Jm+MzQXqYnx9GNbDXDB7HkcH/Z0LIjwY9J0868W0RICjd8HOF3jB9w8Jss6d fZkg== X-Gm-Message-State: ALoCoQm4BwSn+m7ld7jG/lE6U+mXg6b2TzqZPRZbzIOM6VpB5wfuEu/xCD9T9ZBnw1nnVCmSEO4i X-Received: by 10.182.142.5 with SMTP id rs5mr2794818obb.15.1407142207949; Mon, 04 Aug 2014 01:50:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.198 with SMTP id 64ls2098276qgn.8.gmail; Mon, 04 Aug 2014 01:50:07 -0700 (PDT) X-Received: by 10.52.239.6 with SMTP id vo6mr1867790vdc.59.1407142207878; Mon, 04 Aug 2014 01:50:07 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id xq7si11531690veb.103.2014.08.04.01.50.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Aug 2014 01:50:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ij19so10509655vcb.39 for ; Mon, 04 Aug 2014 01:50:07 -0700 (PDT) X-Received: by 10.53.5.163 with SMTP id cn3mr18504190vdd.3.1407142207798; Mon, 04 Aug 2014 01:50:07 -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.221.37.5 with SMTP id tc5csp288235vcb; Mon, 4 Aug 2014 01:50:07 -0700 (PDT) X-Received: by 10.70.60.226 with SMTP id k2mr1227555pdr.130.1407142206878; Mon, 04 Aug 2014 01:50:06 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id sx5si16912467pab.126.2014.08.04.01.50.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Aug 2014 01:50:06 -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 1XEDwy-0002yk-7m; Mon, 04 Aug 2014 08:49:00 +0000 Received: from mail-lb0-f181.google.com ([209.85.217.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEDvo-0001cJ-U7 for linux-arm-kernel@lists.infradead.org; Mon, 04 Aug 2014 08:47:49 +0000 Received: by mail-lb0-f181.google.com with SMTP id 10so4980710lbg.40 for ; Mon, 04 Aug 2014 01:47:26 -0700 (PDT) X-Received: by 10.152.245.171 with SMTP id xp11mr6805772lac.61.1407142045979; Mon, 04 Aug 2014 01:47:25 -0700 (PDT) Received: from localhost.localdomain (188-178-240-98-static.dk.customer.tdc.net. [188.178.240.98]) by mx.google.com with ESMTPSA id px1sm26731207lbb.46.2014.08.04.01.47.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Aug 2014 01:47:24 -0700 (PDT) From: Christoffer Dall To: Paolo Bonzini , Gleb Natapov Subject: [GIT PULL 09/51] arm64: boot protocol documentation update for GICv3 Date: Mon, 4 Aug 2014 10:46:26 +0200 Message-Id: <1407142028-31105-10-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1407142028-31105-1-git-send-email-christoffer.dall@linaro.org> References: <1407142028-31105-1-git-send-email-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140804_014749_157394_D160B999 X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.181 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.217.181 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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: christoffer.dall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 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 From: Marc Zyngier 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/arm64/booting.txt b/Documentation/arm64/booting.txt index 37fc4f6..da1d4bf 100644 --- a/Documentation/arm64/booting.txt +++ b/Documentation/arm64/booting.txt @@ -141,6 +141,14 @@ 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: + - If EL3 is present: + ICC_SRE_EL3.Enable (bit 3) must be initialiased to 0b1. + ICC_SRE_EL3.SRE (bit 0) must be initialised to 0b1. + - If the kernel is entered at EL1: + ICC.SRE_EL2.Enable (bit 3) must be initialised to 0b1 + ICC_SRE_EL2.SRE (bit 0) must be initialised 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.