Message ID | 1392471397-2158-3-git-send-email-marc.zyngier@arm.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCPZR5X4TYBBB7HL7WLQKGQESLGBDKY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3495F20967 for <linaro@patches.linaro.org>; Sat, 15 Feb 2014 14:13:17 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf50806671obc.1 for <linaro@patches.linaro.org>; Sat, 15 Feb 2014 06:13:16 -0800 (PST) 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:date:message-id:in-reply-to :references:cc:subject: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=I2DyONw/81nNpU44SBeLk7WmKfeg6AdzNa6K977iDrg=; b=L3jD/bj1gug/LkFeOozAZVRtmhXvI893yNkLi8AVXwUWrGuWvxOjX3+Ss+hxZDBVT1 uyQ0qQP/q4FwV6BcIoZcao31E2MVsoDSRoLCJn23C90g/VvT50UjOftMKYiJ86oyOvCz AvZGGs9NuoZupGUy3us3XG+8uY1XEm9jiytMx7F1Hfi+vUIQj3RsABS79nflqnKVRlyi 0GcqA6i9uCxO9zBLHMly1ARn4mSib8IOfhVuXQZS+Cn5U8nzY4Atqo58Fhf9jip7/Dyj ZmoUldq2oopnAeQCwiER1QG8XiJrGOfdZ2/QoRvprBil+1wqAlggTdLEjHXq/6cCgxKP oSTw== X-Gm-Message-State: ALoCoQlRGGgM2r2RmP36Z28MpFolSKXl5FH8x17wK0TiBXQcu8fwttRMeSYONJ59qMjPIfxMJcLf X-Received: by 10.182.104.200 with SMTP id gg8mr5996506obb.45.1392473596288; Sat, 15 Feb 2014 06:13:16 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.69 with SMTP id n63ls334259qge.96.gmail; Sat, 15 Feb 2014 06:13:16 -0800 (PST) X-Received: by 10.221.20.199 with SMTP id qp7mr5318480vcb.24.1392473596214; Sat, 15 Feb 2014 06:13:16 -0800 (PST) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id a5si2946395vez.6.2014.02.15.06.13.16 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Feb 2014 06:13:16 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id jy13so10895781veb.27 for <patchwork-forward@linaro.org>; Sat, 15 Feb 2014 06:13:16 -0800 (PST) X-Received: by 10.52.246.42 with SMTP id xt10mr7974305vdc.9.1392473596126; Sat, 15 Feb 2014 06:13:16 -0800 (PST) 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.174.196 with SMTP id u4csp19990vcz; Sat, 15 Feb 2014 06:13:14 -0800 (PST) X-Received: by 10.14.173.194 with SMTP id v42mr70944eel.116.1392473594352; Sat, 15 Feb 2014 06:13:14 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id v48si18584524eeo.188.2014.02.15.06.13.13 for <multiple recipients>; Sat, 15 Feb 2014 06:13:14 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7E3074B7BE; Sat, 15 Feb 2014 15:12:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 NtQdscMxck-T; Sat, 15 Feb 2014 15:12:54 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 56A764B792; Sat, 15 Feb 2014 15:11:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7455C4B76D for <u-boot@lists.denx.de>; Sat, 15 Feb 2014 15:11:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 PSK9XzoO4V56 for <u-boot@lists.denx.de>; Sat, 15 Feb 2014 15:11:43 +0100 (CET) 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 inca-roads.misterjones.org (inca-roads.misterjones.org [213.251.177.50]) by theia.denx.de (Postfix) with ESMTPS id 8B98A4B714 for <u-boot@lists.denx.de>; Sat, 15 Feb 2014 15:11:22 +0100 (CET) Received: from [176.250.132.24] (helo=why.wild-wind.fr.eu.org) by cheepnis.misterjones.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from <marc.zyngier@arm.com>) id 1WEfQH-00038M-VT; Sat, 15 Feb 2014 14:36:50 +0100 From: Marc Zyngier <marc.zyngier@arm.com> To: u-boot@lists.denx.de, linux-sunxi@googlegroups.com Date: Sat, 15 Feb 2014 13:36:26 +0000 Message-Id: <1392471397-2158-3-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> References: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> X-SA-Exim-Connect-IP: 176.250.132.24 X-SA-Exim-Rcpt-To: u-boot@lists.denx.de, linux-sunxi@googlegroups.com, maxime.ripard@free-electrons.com, ijc@hellion.org.uk, andre@andrep.de, henrik@henriknordstrom.net, maz@misterjones.org X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Cc: Andre Przywara <andre@andrep.de>, maz@misterjones.org, Ian Campbell <ijc@hellion.org.uk> Subject: [U-Boot] [PATCH v3 02/13] ARM: HYP/non-sec: add a barrier after setting SCR.NS==1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch/arm/cpu/armv7/nonsec_virt.S index 6367e09..12de5c2 100644 --- a/arch/arm/cpu/armv7/nonsec_virt.S +++ b/arch/arm/cpu/armv7/nonsec_virt.S @@ -46,6 +46,7 @@ _secure_monitor: #endif mcr p15, 0, r1, c1, c1, 0 @ write SCR (with NS bit set) + isb #ifdef CONFIG_ARMV7_VIRT mrceq p15, 0, r0, c12, c0, 1 @ get MVBAR value
A CP15 instruction execution can be reordered, requiring an isb to be sure it is executed in program order. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> --- arch/arm/cpu/armv7/nonsec_virt.S | 1 + 1 file changed, 1 insertion(+)