From patchwork Tue May 31 02:54:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Chen X-Patchwork-Id: 68860 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1696023qge; Mon, 30 May 2016 19:56:27 -0700 (PDT) X-Received: by 10.55.212.71 with SMTP id l68mr30346551qki.123.1464663387915; Mon, 30 May 2016 19:56:27 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id h185si29640948qkf.208.2016.05.30.19.56.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 May 2016 19:56:27 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Zpx-0000f4-Qy; Tue, 31 May 2016 02:55:21 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Zpw-0000el-MA for xen-devel@lists.xen.org; Tue, 31 May 2016 02:55:20 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id 32/91-06230-71DFC475; Tue, 31 May 2016 02:55:19 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRWlGSWpSXmKPExsVyMfSOga74X59 wg4898hZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8aXpXcZC25zVJxfvom9gfEYWxcjF4eQwCRG iR8PN4M5LALzmCWunlvGBOJICPSzSvxffgkowwnkxEjsvfqRCcKulFg3aSpLFyMHULuSRMeEC ohJvxklHuxqZwSpYRNQkfj+pp8Vot5M4vzJmWC9IgLSEtc+XwarYRbIlLjxZSI7iC0sECrx/M sOFhCbRUBV4sL17WC9vAIWEl/2nWaBmKMk8erKMTCbU8BS4lfbQbBeIaCa19PfsU9gFFzAyLC KUb04tagstUjXWC+pKDM9oyQ3MTNH19DATC83tbg4MT01JzGpWC85P3cTIzDgGIBgB2PHP6dD jJIcTEqivFa/fcKF+JLyUyozEosz4otKc1KLDzHKcHAoSfCy/gHKCRalpqdWpGXmAEMfJi3Bw aMkwvsYpJW3uCAxtzgzHSJ1itGYY8vva2uZOLZNvbeWSYglLz8vVUqc9xVIqQBIaUZpHtwgWE xeYpSVEuZlBDpNiKcgtSg3swRV/hWjOAejkjDvSpApPJl5JXD7XgGdwgR0SnwG2CkliQgpqQZ GX3tBx7A1vncnvFjqv+jl1udOLxPDnk64zvEzQHNPOYfD0+YFug1pfiznA6Ms7cR2Xmr8ppT0 /bUwp93hl3/UPO/4XGnQUKraXRnpOeXDGUvr+TxmnzlCNmZtmHjpWMs+8acPN8zUm3a8yeCLL EdE7t97v28s3b9uZ/PkeZqHW4+/3SIm8uLKdiWW4oxEQy3mouJEAF/7b2LEAgAA X-Env-Sender: wei.chen@linaro.org X-Msg-Ref: server-16.tower-21.messagelabs.com!1464663318!12180307!1 X-Originating-IP: [209.85.220.48] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6280 invoked from network); 31 May 2016 02:55:19 -0000 Received: from mail-pa0-f48.google.com (HELO mail-pa0-f48.google.com) (209.85.220.48) by server-16.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 31 May 2016 02:55:19 -0000 Received: by mail-pa0-f48.google.com with SMTP id eu11so57596596pad.3 for ; Mon, 30 May 2016 19:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9rQW0RZoYOWXscu1BFOIXeb690ZyVsKGl1jFN+TksoY=; b=N+JH3j/kv1SvvzR6w58R1GkAatkv369A7k4DqbqXlat/pKbMSDE58CE0nrBW4JyduZ 4ITKHkWFgCPa4jpi1rlC7qte2BXth95ANBqoXVPii7XMyjd2XyJZcjdKNK4HhXoKFksU dcNNUK7sAgBitPTwxWNm4v2qb88a36p0qAFFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9rQW0RZoYOWXscu1BFOIXeb690ZyVsKGl1jFN+TksoY=; b=PyVh+FHGb0vQvaufxXqxnaAOuRnNclGO2VRrnHY+yy7CjqPvASfuBX4ZHZAKXAEvZU jaDx5GqrPRjrhDGugwEsZSnkF67gZbfZHWOt7PpeREAukR0Qw0R6TOfqPP8O4HX/KGS9 ExhchjnpPYy/gPGACoASfU04i/z069/vu8uLs+Dz4RBH+3CLSq1yJYHtdJ87Td2HBH06 s5Ai0ONDjOMme9Izwkp/TZmaMxCfZ9DGi30XEc4nRL7mUVDBqVY7ePbC9jG8WDvzyrEp eyVfHxTeB/uoCinCf0/egd00rNGBZBEDGztgDlKFVh1+J3WBCNridJP7ON82HjFUbZLF HG1w== X-Gm-Message-State: ALyK8tJzfsW83RheCa+tASHtvuqWEtQgWInuYT9+iFZgHHEtcWxIdRMudXnpBH8F15KG21CE X-Received: by 10.67.22.168 with SMTP id ht8mr51656658pad.50.1464663286759; Mon, 30 May 2016 19:54:46 -0700 (PDT) Received: from localhost.members.linode.com ([2400:8900::f03c:91ff:fe56:1324]) by smtp.gmail.com with ESMTPSA id n190sm35879825pfn.23.2016.05.30.19.54.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 19:54:46 -0700 (PDT) From: Wei Chen X-Google-Original-From: Wei Chen To: xen-devel@lists.xen.org Date: Tue, 31 May 2016 10:54:14 +0800 Message-Id: <20160531025414.15539-5-Wei.Chen@linaro.org> X-Mailer: git-send-email 2.9.0.rc0 In-Reply-To: <20160531025414.15539-1-Wei.Chen@linaro.org> References: <20160531025414.15539-1-Wei.Chen@linaro.org> Cc: julien.grall@arm.com, sstabellini@kernel.org, Wei Chen , steve.capper@arm.com Subject: [Xen-devel] [PATCH v4 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" In AArch32, MPIDR bit 31 is defined as multiprocessing extensions bit. But in AArch64, this bit is always RES1. So the value check for this bit is no longer necessary in AArch64. Signed-off-by: Wei Chen Reviewed-by: Julien Grall --- v3-->v4: 1. Add missed Reviewed-by tag. v2--v3: 1. Fix a typo in commit messages. 2. Add Julien's Reviewed-by. v1-->v2: Make clear the status of MPIDR.SMP bit in AArch32 and AArch64. --- xen/arch/arm/arm64/head.S | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index 3090beb..91e2817 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -267,7 +267,6 @@ common_start: * find that multiprocessor extensions are * present and the system is SMP */ mrs x0, mpidr_el1 - tbz x0, _MPIDR_SMP, 1f /* Multiprocessor extension not supported? */ tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */ ldr x13, =(~MPIDR_HWID_MASK)