Message ID | 20190514122136.28215-18-julien.grall@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2552075ili; Tue, 14 May 2019 05:23:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeHTztO8UjlKkfIZBPkTeGYMwLkTaN0WkIeEDxLoj+EMl1epRWSFkc4CyjHpcXmheV/Itn X-Received: by 2002:a24:edc6:: with SMTP id r189mr3315203ith.90.1557836588076; Tue, 14 May 2019 05:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557836588; cv=none; d=google.com; s=arc-20160816; b=OWpC0TDhp0ThJU3hxCnXH4lXYwH1gPsVXp0wMjMGmBOh4EfNRXBUCJJZghGhpXmY9c OTypcwDoDs0dyYTPUFHYg7HVOzirlWxP6CxasB9pYTA05r9izEFUDBhh3RWqmUjIWNPF awIwlAZaMzxHJxbaJjoQQQS0jVI7xNbUGHaFDzuZelhlekyTQ0uW7cFedAevByZuT0z6 S31lRr1BXqgVQPEK7lWf431zo9GKEkiF2WqUxJ0X6TSjI7hAKizCjtcqR7rtbkKZU7ji JOgXQxhhgjr2OAMrvWdkuJoU83Y2RuczTZe3xrzwPL8M9gpxXdMl2JUjUW8zN6kFrw2e ovjg== 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=SVvnDDvkXOt9PhNeVd6Neu09c6WdnWwLFDcQjDC5oBw=; b=BNM59O3eBbxhqs7CrQ0gESeI7xqQTQIHKfwm5vqE/+GqltGLAEuwMh/Zsb3EuM7DeX uahE016srtmEK9Cm4w52OYez8rlkRedFf6BOdyMfshuYM98bGZ/pgGEgQ/y88YJOVUDy yaZqqCx5D2SyWzmw+09u7nb3PIpWmSDBVFbVpb6Kvn8HVjzurmzzdPXcYOVMqNZhO/OE sWw1sVGncFbrpxBzMWLqaBmxKGVoXPQdQ5yjtouHNoZHdLWX4g/zjMk3AvV8vUL1Km+v QN7SJEt/NiAj4BcfX+F1I7IMkeUlv42RANSfNRQ+WNwhVUwnQRQZi9jE8LeD8hyXD+ZU 1Paw== 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 a7si10618676jah.23.2019.05.14.05.23.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 05:23:08 -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 1hQWRf-000055-LE; Tue, 14 May 2019 12:22:11 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from <SRS0=zxYt=TO=arm.com=julien.grall@srs-us1.protection.inumbo.net>) id 1hQWRe-0008UP-76 for xen-devel@lists.xenproject.org; Tue, 14 May 2019 12:22:10 +0000 X-Inumbo-ID: e4c40576-7642-11e9-8a9e-0b59dbad4b84 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id e4c40576-7642-11e9-8a9e-0b59dbad4b84; Tue, 14 May 2019 12:22:09 +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 B6F6C15AD; Tue, 14 May 2019 05:22:08 -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 83ED03F71E; Tue, 14 May 2019 05:22:07 -0700 (PDT) From: Julien Grall <julien.grall@arm.com> To: xen-devel@lists.xenproject.org Date: Tue, 14 May 2019 13:21:26 +0100 Message-Id: <20190514122136.28215-18-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190514122136.28215-1-julien.grall@arm.com> References: <20190514122136.28215-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH MM-PART2 v2 09/19] xen/arm64: head: Correctly report the HW CPU ID 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>, Stefano Stabellini <sstabellini@kernel.org>, Andrii Anisov <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
|
diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index b957eb90fb..08094a273e 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -277,15 +277,9 @@ GLOBAL(init_secondary) mov x26, #1 /* X26 := skip_zero_bss */ common_start: - mov x24, #0 /* x24 := CPU ID. Initialy zero until we - * find that multiprocessor extensions are - * present and the system is SMP */ mrs x0, mpidr_el1 - tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */ - ldr x13, =(~MPIDR_HWID_MASK) bic x24, x0, x13 /* Mask out flags to get CPU ID */ -1: /* Non-boot CPUs wait here until __cpu_up is ready for them */ cbz x22, 1f