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: 9140283 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 78BCF60467 for ; Mon, 30 May 2016 06:13:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C99A2807E for ; Mon, 30 May 2016 06:13:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 617B328212; Mon, 30 May 2016 06:13:26 +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 1C3992807E for ; Mon, 30 May 2016 06:13:26 +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 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" 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 --- 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)