From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A62EBC77B71 for ; Sat, 15 Apr 2023 13:08:34 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnfcV-0004rE-CC; Sat, 15 Apr 2023 09:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnbZm-0006is-Hi; Sat, 15 Apr 2023 04:48:08 -0400 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnbZe-00030C-Be; Sat, 15 Apr 2023 04:48:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 69E8F60F6D; Sat, 15 Apr 2023 08:47:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2365AC433EF; Sat, 15 Apr 2023 08:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681548472; bh=U8WABhsAkLpAnlwQZI56b2I0tzK5K4NZdbgTbNP5uPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n8aalNEVBvobcbFp9UIDEoxArzaKkd0Sh5wtyGUfa0ZHQnvzeG/CErDnwj2jaalYt pKf5P/zXcISkhSMn6iAruCfiEbQDK/h4B1ea0lQ8EF/wqVxEaj0kxgchKF7wyZz0EU dPvZ6RDVJXdI/Fev/spOyJZMkj8jpCyefFJNJC+I/al26BFmhiRsu+cGmhidsIFAib 4uqAERsKkPC3SGj8xJM1rXsPKGYyXC649kBKDZFL7sffh5lgY+odvq9moOdUK4+vL6 yxcWtue0WVb9Ci88y7SBUbDvlfAZhFcMGydb83n/bk054MNGpMDpu+DIZb4gOrzqOo wUzuge9Yr9vKA== From: Jisheng Zhang To: Peter Maydell Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 1/2] target/arm: Remove ARM_FEATURE_CBAR_RO from A55 and A76 Date: Sat, 15 Apr 2023 16:36:56 +0800 Message-Id: <20230415083657.2308-2-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230415083657.2308-1-jszhang@kernel.org> References: <20230415083657.2308-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2604:1380:4641:c500::1; envelope-from=jszhang@kernel.org; helo=dfw.source.kernel.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 15 Apr 2023 09:07:08 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Cortex-A55 and Cortex-A76 doesn't have CBAR, so remove CBAR feature from them. Signed-off-by: Jisheng Zhang --- target/arm/cpu64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 0fb07cc7b6..85dc9d57ff 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -796,7 +796,6 @@ static void aarch64_a55_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_NEON); set_feature(&cpu->env, ARM_FEATURE_GENERIC_TIMER); set_feature(&cpu->env, ARM_FEATURE_AARCH64); - set_feature(&cpu->env, ARM_FEATURE_CBAR_RO); set_feature(&cpu->env, ARM_FEATURE_EL2); set_feature(&cpu->env, ARM_FEATURE_EL3); set_feature(&cpu->env, ARM_FEATURE_PMU); @@ -919,7 +918,6 @@ static void aarch64_a76_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_NEON); set_feature(&cpu->env, ARM_FEATURE_GENERIC_TIMER); set_feature(&cpu->env, ARM_FEATURE_AARCH64); - set_feature(&cpu->env, ARM_FEATURE_CBAR_RO); set_feature(&cpu->env, ARM_FEATURE_EL2); set_feature(&cpu->env, ARM_FEATURE_EL3); set_feature(&cpu->env, ARM_FEATURE_PMU); -- 2.40.0