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: 9143179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1C5C760754 for ; Tue, 31 May 2016 02:57:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14B082198E for ; Tue, 31 May 2016 02:57:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 095F52819C; Tue, 31 May 2016 02:57:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AE7A42198E for ; Tue, 31 May 2016 02:57:12 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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)