From patchwork Thu May 26 07:58:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Chen X-Patchwork-Id: 9136765 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 342C3607DA for ; Thu, 26 May 2016 08:01:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26843279E2 for ; Thu, 26 May 2016 08:01:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B448280B2; Thu, 26 May 2016 08:01:42 +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 BE26D282F0 for ; Thu, 26 May 2016 08:01:41 +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 1b5qCa-0007TN-Ki; Thu, 26 May 2016 07:59:32 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5qCZ-0007SZ-7A for xen-devel@lists.xen.org; Thu, 26 May 2016 07:59:31 +0000 Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id 54/CF-16066-2ECA6475; Thu, 26 May 2016 07:59:30 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRWlGSWpSXmKPExsVyMfTARt2Ha9z CDa5/tbZY8nExiwOjx9Hdv5kCGKNYM/OS8isSWDPmz3jHVrCZveLVzTfMDYzbWbsYOTmEBCYx Srx7oNXFyMXBIjCPWeL5y89MII6EQD+rxM7HZ4AcDiAnRuLVdFuQBgmBGomVc7YygoSFBJQkO iZUQMz5ySix/2AeiM0moCLx/U0/K0S5mcT5kzOZQGwRAWmJa58vM4LYzAKZEje+TGQHsYUFQi VuHT7BBmKzCKhKbLv3FCzOK2AhsWLJAxaIOUoSr64cA7M5BSwlfjT3MkPstZBY8ng24wRGwQW MDKsYNYpTi8pSi3QNTfWSijLTM0pyEzNzdA0NTfRyU4uLE9NTcxKTivWS83M3MQKDrZ6BgXEH 49/TnocYJTmYlER5xcXdwoX4kvJTKjMSizPii0pzUosPMcpwcChJ8JasBsoJFqWmp1akZeYAw x4mLcHBoyTCWwqS5i0uSMwtzkyHSJ1itOTY8vvaWiaOBT9uA8ltU++tZRJiycvPS5US510N0i AA0pBRmgc3DhablxhlpYR5GRkYGIR4ClKLcjNLUOVfMYpzMCoJ83KDTOHJzCuB2/oK6CAmoIP 8vziDHFSSiJCSamCMVdFeUnsv5IXlmTtHcy7O+mjaKrH11oWQ0ypbNk+UkK09KsgiVywduGiJ SjW3Ps9H+d4fDHO7JMUemQvk/p9aoyTlfcD8eN7fXce/Fcq4TJj8/7AsYzdj37nnkgfk0z7st L6+Z9EuH7Pj+6tcqrY8YN4tukqg6MSWaZsPrZx3ctV0tWk6Z99kKLEUZyQaajEXFScCAFFb8C LIAgAA X-Env-Sender: wei.chen@linaro.org X-Msg-Ref: server-13.tower-27.messagelabs.com!1464249568!43989384!1 X-Originating-IP: [209.85.192.177] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked Received: (qmail 25158 invoked from network); 26 May 2016 07:59:29 -0000 Received: from mail-pf0-f177.google.com (HELO mail-pf0-f177.google.com) (209.85.192.177) by server-13.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 26 May 2016 07:59:29 -0000 Received: by mail-pf0-f177.google.com with SMTP id y69so28499620pfb.1 for ; Thu, 26 May 2016 00:59:29 -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=9E5854CLySYNW++CI2hbMx7lj/zywi/5uAsoAy9RQM8=; b=K7hR/bpRzuUeUgt7V1BLGRXgWgT0lV6gux5xMhpno5gVBaveJQUOO/V5mgK2XbUr9p kqB2JKNJ6uB6h0ls/lL54QvRJ5Tazd2Y9KbJDLPyI2AY7Q4I4fnyKLb7e/JrTAL6ZBiw 6wIM9iYgfcYkeJiiJHH7qidiYDJ1h5+yza+Q4= 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=9E5854CLySYNW++CI2hbMx7lj/zywi/5uAsoAy9RQM8=; b=il9gO5Ot4zO3qmS1yXGZsPEof5vLFpcRVm7vb3z3C/eeBBN4Uayt48ad+1L1smt3jO /ZOagM87iU8pqrsh1PCaGLpwYDR9i2G1R1Bp5C0rkv+BIa6jl0ptnQFPlGe8th5WYWyK xyRR63ZoXnjvy+5hRLzYIrkxQGHVDg16KEymUtG3uxtLmF+vnFrjPJDE2nOUOvHlh5lN 8LDxFJXVzb743Eoxi0pEGYaP1+LBcEufP1H/C/nAdnZUWlM+ibmFmg3vRFmKH5Iu70Uv TlFxi+gGwxrGwzZWPbt3EnY7m3FeMiLTz8lm6sGSziT9QT/CaEoOx32OmAgUdnswHPwq 7iBQ== X-Gm-Message-State: ALyK8tKDpBGLmkN3XOqzPKPtQYY8iHxdX43tob5prtGuOKhSlfyEUPpukblemMO8uLrbp0YY X-Received: by 10.98.100.132 with SMTP id y126mr12084235pfb.101.1464249568139; Thu, 26 May 2016 00:59:28 -0700 (PDT) Received: from localhost.members.linode.com ([2400:8900::f03c:91ff:fe56:1324]) by smtp.gmail.com with ESMTPSA id v27sm3686855pfi.49.2016.05.26.00.59.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 00:59:27 -0700 (PDT) From: Wei Chen X-Google-Original-From: Wei Chen To: xen-devel@lists.xen.org Date: Thu, 26 May 2016 15:58:43 +0800 Message-Id: <20160526075843.25236-5-Wei.Chen@linaro.org> X-Mailer: git-send-email 2.9.0.rc0 In-Reply-To: <20160526075843.25236-1-Wei.Chen@linaro.org> References: <20160526075843.25236-1-Wei.Chen@linaro.org> Cc: julien.grall@arm.com, sstabellini@kernel.org, Wei Chen , steve.capper@arm.com Subject: [Xen-devel] [PATCH v2 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 bit31 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 --- 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)