Message ID | 20190812173019.11956-18-julien.grall@arm.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp3120359ily; Mon, 12 Aug 2019 10:31:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJez3jQhkT+IE5ZJjonEi8BKgHUP6goPnwztgq2sSZzoN4E+sZQaWjPZEW9A+NJQgM3JV7 X-Received: by 2002:a5e:9e0a:: with SMTP id i10mr35821428ioq.44.1565631114423; Mon, 12 Aug 2019 10:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565631114; cv=none; d=google.com; s=arc-20160816; b=mfOtck2jp6lImx6m2XfnnmxnVoBk2SuWpr3tpcC4/ioaClDH7plaHAMMbFCJFw2yft m31MEJYEvdFV6OitN3+MuQ5t8jB/BqUA2ObsqtYFPkEEHg8w/vMOWogeQki6Nr+seEZb QazjNHYLMPMW6mKMfjoFxUT7zLJMxmrVu9rxPPuJvPjHZA04tJe6XQ1+u2G8DyuLMAqA DvwiLCvjslTfYYQfRiIKDGnGBEmP42buKTLlfcjKmna6mo3VWBVP27k5xvyDMbckbxzM McYe0VWNGeZPE4WbVFXAtIZSKjt3LclbjiRTwKpY23zFAyF18o0DpFVvdDlGJF1nY2gN YlNw== 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=NUE/1p5Sow7PaM/gxco4h1fyZ4YFzPuhzqHez7gtG9A=; b=gUdmp8B8Muh2tbtfClOkqd4J/eqjxtNliywEoeFB0S2VZHRG/Fde2JSxKh4qL9Ed/7 dFgdWR5BC2hUTN7RkCe50D7iAKj05dhz1dXzcKRScuEoNb9orb1y8/0wSUgjt1Ktr6eS GZBjcUxdyqnmhta/kCuHtb5IlygzBdtD+SAoqlHQSDeyLoaCqR3h4qi1V9MDi13QBMcP 2KDx9NIprcud3zTT+BVGgDiCWzoq4YJ34dmhL5FqpTc2IahS+mMGnD94DEe9R/36hO0R 0tKKWukmf88DyqRAlHxgezUQuqMqfn5Gecm8QqHsgOJuABBb3tWX2i+RqK7RWW+fXRfp tDYw== 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 g6si12583529jar.83.2019.08.12.10.31.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Aug 2019 10:31:54 -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 1hxE9d-0006qh-1i; Mon, 12 Aug 2019 17:30:45 +0000 Received: from [172.99.69.81] (helo=us1-rack-iad1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from <SRS0=dIXR=WI=arm.com=julien.grall@srs-us1.protection.inumbo.net>) id 1hxE9b-0006oz-Lm for xen-devel@lists.xenproject.org; Mon, 12 Aug 2019 17:30:43 +0000 X-Inumbo-ID: e911ec08-bd26-11e9-984b-bf171714a9dd Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id e911ec08-bd26-11e9-984b-bf171714a9dd; Mon, 12 Aug 2019 17:30:42 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A2A8515AB; Mon, 12 Aug 2019 10:30:42 -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 F09C13F706; Mon, 12 Aug 2019 10:30:41 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xenproject.org Date: Mon, 12 Aug 2019 18:30:08 +0100 Message-Id: <20190812173019.11956-18-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190812173019.11956-1-julien.grall@arm.com> References: <20190812173019.11956-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH v3 17/28] xen/arm32: head: Document enable_mmu() 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: Julien Grall <julien.grall@arm.com>, Stefano Stabellini <sstabellini@kernel.org>, Volodymyr Babchuk <Volodymyr_Babchuk@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: Rework head.S to make it more compliant with the Arm Arm
|
expand
|
diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S index 83f8774e2a..f8603051e4 100644 --- a/xen/arch/arm/arm32/head.S +++ b/xen/arch/arm/arm32/head.S @@ -423,6 +423,13 @@ virtphys_clash: b fail ENDPROC(create_page_tables) +/* + * Turn on the Data Cache and the MMU. The function will return on the 1:1 + * mapping. In other word, the caller is responsible to switch to the runtime + * mapping. + * + * Clobbers r0 - r3 + */ enable_mmu: PRINT("- Turning on paging -\r\n")