From patchwork Mon May 30 06:10:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Chen X-Patchwork-Id: 68825 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1240077qge; Sun, 29 May 2016 23:12:41 -0700 (PDT) X-Received: by 10.31.3.223 with SMTP id f92mr12054072vki.20.1464588761321; Sun, 29 May 2016 23:12:41 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id t138si20987407vkb.194.2016.05.29.23.12.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 May 2016 23:12:41 -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 1b7GQE-0008Rk-5c; Mon, 30 May 2016 06:11:30 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7GQC-0008Qn-Hf for xen-devel@lists.xen.org; Mon, 30 May 2016 06:11:28 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id 26/BC-24626-F89DB475; Mon, 30 May 2016 06:11:27 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRWlGSWpSXmKPExsVyMfTAGt3+m97 hBve+Clks+biYxYHR4+ju30wBjFGsmXlJ+RUJrBmH7qxgKWjkqHhy+RNbA+N31i5GLg4hgcmM Eg0XJ7KDOCwC85glfv5cwwbiSAj0s0o8nHsXKMMJ5MRINFyezQZhV0ncfTkfqJ0DqF1JomNCB cSkX4wS/adus4DUsAmoSHx/088KUW8mcf7kTCYQW0RAWuLa58uMIDazQKbEjS8TweYLC4RK3G y4C1bDIqAqsWTnZWYQm1fAQuJx40FGiDlKEq+uHAObzylgKTF/wRuwuBBQzd/pV9kmMAouYGR YxahenFpUllqka6aXVJSZnlGSm5iZo2toYKqXm1pcnJiempOYVKyXnJ+7iREYcAxAsINxaoPz IUZJDiYlUV43Du9wIb6k/JTKjMTijPii0pzU4kOMMhwcShK8nTeAcoJFqempFWmZOcDQh0lLc PAoifDygqR5iwsSc4sz0yFSpxiNObb8vraWiWPb1HtrmYRY8vLzUqXEeV1BSgVASjNK8+AGwW LyEqOslDAvI9BpQjwFqUW5mSWo8q8YxTkYlYR5A0Gm8GTmlcDtewV0ChPQKWbnvEBOKUlESEk 1MMr8SPZ5uHBT1cs15WxKuxxZpSzaMnxOS4vM5nu5ZG8wF8uB11fiHfa7aMpf9Zobx5hYl8jv d1Gsa8H/nucHmy0tGqNvxdl1/KqIbvJdZ+ex49js21Zf5e7Em0++cbFvygKO6y0q7tEeuwUXX qpyf89WWBrVajVdn5/38PNZH3xzArdP2scSpsRSnJFoqMVcVJwIAPXndl7EAgAA X-Env-Sender: wei.chen@linaro.org X-Msg-Ref: server-9.tower-206.messagelabs.com!1464588685!42287629!1 X-Originating-IP: [209.85.192.172] 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 16039 invoked from network); 30 May 2016 06:11:27 -0000 Received: from mail-pf0-f172.google.com (HELO mail-pf0-f172.google.com) (209.85.192.172) by server-9.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 30 May 2016 06:11:27 -0000 Received: by mail-pf0-f172.google.com with SMTP id b124so61390971pfb.0 for ; Sun, 29 May 2016 23:11:27 -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=EmsFy9cNt493Ucjgi0GrBWJNqlvK7O14jCInKbVaOow=; b=MZ/wwLSOMfGclBVnQ5U0VU5uiyZUuALsSw77Teg39CcGtDfH684UIQENOZhk5aS1ub gRLeo2GTzrE8E7hrTb5cqDW8REN3nGhZOokPFSrSCIcLflyCiq9tCFxn+5bqsZi9QPZa 2U7qVtKjRQ3L3LSTnRBxYuUBUZPW2kCUldI6s= 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=EmsFy9cNt493Ucjgi0GrBWJNqlvK7O14jCInKbVaOow=; b=YmRrfOAD79lLZ4W4L2FHmKfXdFvio8ppzLd6g9B7HOjXf48ooe4g170Q1UD6uyZ0Gi /7BFPKlVBYPaatpUuDYTVLi2/RWxVLJwTlw86b5Jba28cGeLCfaSGV0LbHBRN/IvjmGu Cisrwd3UIkt1tyyyIOaTENkP5+uLwgVD3uuOdO8iq9dDQqE20zdxaApl0deai0ukEKTT KGgQX+0h/xAkIBNUF832QrHnauzIl4PQ0f1xk8W2xOwGlYKz0FibTrIcfhSXh//o74Jd NjYGbdANVyrs4UKhXOp2cWThAH23EvLVIc3+CZiiv8ama/vJXbpBdBQ3J8NaM0cO4dYV dojA== X-Gm-Message-State: ALyK8tKVVpMxUy97hWDFVodxWCVbaetKeRAPN4j2GPu54Z3EnmOl77+7MKT9BtRUrLQ+XQwa X-Received: by 10.98.26.210 with SMTP id a201mr25363456pfa.46.1464588685551; Sun, 29 May 2016 23:11:25 -0700 (PDT) Received: from localhost.members.linode.com ([2400:8900::f03c:91ff:fe56:1324]) by smtp.gmail.com with ESMTPSA id r86sm29679366pfb.21.2016.05.29.23.11.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2016 23:11:25 -0700 (PDT) From: Wei Chen X-Google-Original-From: Wei Chen To: xen-devel@lists.xen.org Date: Mon, 30 May 2016 14:10:50 +0800 Message-Id: <20160530061050.10771-5-Wei.Chen@linaro.org> X-Mailer: git-send-email 2.9.0.rc0 In-Reply-To: <20160530061050.10771-1-Wei.Chen@linaro.org> References: <20160530061050.10771-1-Wei.Chen@linaro.org> Cc: julien.grall@arm.com, sstabellini@kernel.org, Wei Chen , steve.capper@arm.com Subject: [Xen-devel] [PATCH v3 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 --- 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)