Message ID | 20190422164937.21350-12-julien.grall@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2801534jan; Mon, 22 Apr 2019 09:51:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKVMCO7RO36v6di8OtVldMwkDPwa/jD0MmOht3O4usV+1mUVcCsQ16Jqon/9H3KrqIFeX/ X-Received: by 2002:a25:408a:: with SMTP id n132mr16655852yba.8.1555951889932; Mon, 22 Apr 2019 09:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555951889; cv=none; d=google.com; s=arc-20160816; b=eH7RyT5rotZdvFqszhuIAcm82bf46EqpY6BCrQzkEki1w1j2qxc++FNtKJfwOkRHB3 vcAeWIpis34p15s/oFBFo19Ly02909GRzwDrCq14esOPS0PMHvoUiCmfrxrXp4FMRSxP 7FF7xde8HJWPoKqM05WVFhgxAyCjODtPK29aYmxjLeWxFKbNuosNzxVdPxQWgO2NyE7x LG0SLrz0TmYgv2msAWCE3JQ2O8f1vbj2e89njkWFdBNd0YWQlV/DiNjw/g7VaSG/8qcW pQnrTvCUWEr0wdZbvbS0eOLwpEnZF6gOjmuqWbyND0bmrEmfExqjMTfG/hcSVva8+V2d siAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:references:in-reply-to:message-id:date:to:from; bh=A5tzEkz/61XFdLDwLbhKjH7kl6CkPjevUJLBF/NZ9GY=; b=vwanKO1DKQiipOFB4KjCqOi0VGDPdankZuC3CCCgt7NNwWRVQrrmy3oZ2nVoh7y7xO P5JFpimFrmqUJghxO4Mo/9KQsSyKH1y4waThNlBlPzN/SjJ4KsRqBwPOPqohgXy7Eh6b Af5k+Dt2vUSyDosiE69PGKUvXm4TkqYW7Nz3qEgoFIWqtmq3NXWXV83mxeW1DIZX9x/p YEnLBShtKz/keJxnwBhaaXOu5H1jdJdnI55CwU+PEkUsyz7KqxuGdsdEF+c12z1uyzH3 Syu9hXx+sFWeH1izEHJ1SP/C/X06PXaKQnzlUQc+WtavpJvo5qlwAxIN1Q5Emj6flpC2 SvqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: <xen-devel-bounces@lists.xenproject.org> Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id 5si8929914yba.107.2019.04.22.09.51.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2019 09:51:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1hIc8v-000585-AA; Mon, 22 Apr 2019 16:50:09 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from <SRS0=tD/7=SY=arm.com=julien.grall@srs-us1.protection.inumbo.net>) id 1hIc8t-0004xh-7J for xen-devel@lists.xenproject.org; Mon, 22 Apr 2019 16:50:07 +0000 X-Inumbo-ID: ae5a5d71-651e-11e9-92d7-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id ae5a5d71-651e-11e9-92d7-bc764e045a96; Mon, 22 Apr 2019 16:50:06 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E1096EBD; Mon, 22 Apr 2019 09:50:05 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D153C3F557; Mon, 22 Apr 2019 09:50:04 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xenproject.org Date: Mon, 22 Apr 2019 17:49:28 +0100 Message-Id: <20190422164937.21350-12-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190422164937.21350-1-julien.grall@arm.com> References: <20190422164937.21350-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH 11/20] xen/arm32: head: Don't set MAIR0 and MAIR1 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Cc: Oleksandr_Tyshchenko@epam.com, Julien Grall <julien.grall@arm.com>, sstabellini@kernel.org, Andrii_Anisov@epam.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> |
Series |
xen/arm: Clean-up & fixes in boot/mm code
|
expand
|
Hello Julien, On 22.04.19 19:49, Julien Grall wrote: > The co-processor registers MAIR0 and MAIR1 are managed by EL1. So there > are no need to initialize them during Xen boot. > > Signed-off-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S index d42a13556c..3448817aab 100644 --- a/xen/arch/arm/arm32/head.S +++ b/xen/arch/arm/arm32/head.S @@ -212,8 +212,6 @@ cpu_init_done: /* Set up memory attribute type tables */ ldr r0, =MAIR0VAL ldr r1, =MAIR1VAL - mcr CP32(r0, MAIR0) - mcr CP32(r1, MAIR1) mcr CP32(r0, HMAIR0) mcr CP32(r1, HMAIR1)
The co-processor registers MAIR0 and MAIR1 are managed by EL1. So there are no need to initialize them during Xen boot. Signed-off-by: Julien Grall <julien.grall@arm.com> --- xen/arch/arm/arm32/head.S | 2 -- 1 file changed, 2 deletions(-)