From nobody Mon Nov 25 03:45:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1718357518; cv=pass; d=zohomail.com; s=zohoarc; b=Z1QV5YzzyuZgK4Jw5C1tTsADJeLk4GHU2GA1eiazRyKUHGwsVX7BninOl+DGrLSLMP3/qOwy2lm+zbbSBYlpdE4IOvujx093ChlMyfEhyR4CT0CaW8v6+Hce6EkC8iimniVZsqMSMrYe0U0IXpM1qZjDjuzfgus6/M9Crvc3Dj4= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1718357518; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=HyNBX4L1WkbunR5hjsblvsULo3b072zs80fc/CU/47o=; b=WaPX01TXU+TI+AXmtYNVEo94G15Bb9VmwQpmIa5ccFBSkczpbG+VmBbHxAsWE4ZTVb/yUrwhvjRUkYdG21Rv1scZoodMnx7N1IS4VYXE0uBVyvn+DR6XnKOI9kzVFfeRv9OAF7dbUrJ/N0ucE2nQTNcOieUtp/Nl1zY1ueUi62Q= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1718357518649640.1362644057629; Fri, 14 Jun 2024 02:31:58 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI3Gn-00086F-5e; Fri, 14 Jun 2024 05:30:53 -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 1sI3Gj-00083X-R2; Fri, 14 Jun 2024 05:30:49 -0400 Received: from mail-mw2nam10on20626.outbound.protection.outlook.com ([2a01:111:f403:2412::626] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI3Gi-0006xN-4G; Fri, 14 Jun 2024 05:30:49 -0400 Received: from BYAPR01CA0030.prod.exchangelabs.com (2603:10b6:a02:80::43) by DS0PR12MB9059.namprd12.prod.outlook.com (2603:10b6:8:c5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.20; Fri, 14 Jun 2024 09:30:41 +0000 Received: from SJ5PEPF000001E8.namprd05.prod.outlook.com (2603:10b6:a02:80:cafe::45) by BYAPR01CA0030.outlook.office365.com (2603:10b6:a02:80::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.26 via Frontend Transport; Fri, 14 Jun 2024 09:30:41 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by SJ5PEPF000001E8.mail.protection.outlook.com (10.167.242.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7677.15 via Frontend Transport; Fri, 14 Jun 2024 09:30:40 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 14 Jun 2024 04:30:39 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 14 Jun 2024 04:30:39 -0500 Received: from xhdsaipava41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Fri, 14 Jun 2024 04:30:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDnjiKbqr3+sBj3NjNiPLLaZfy1toAs6AoNEafHP0IXpJsH2TfC4mMSivFe2XOY1vfmYJVRRgrqenVHeVU/xTFL6Ck0ksGalnAn7yk6yG11wcun+PVso+aGAVRxnObgu3NizFJwp2ykUqESFBXy6FIwNWersipclynWjWnjXXN39FV9o5/4oNn/VZoHYOG57jdYUD0tgIjHDErAAel7thUTJiN1DNMDLhLlUzXr6TWeV+RkgzqVyO06AGMfDhoKHUTojNffK8iK42LuoG7rv8/kzIykLYztTg+BDfz35TVcw+Y/b7VeQpjoTBAVY531xrKoEJ1sTlX5KsrHWmhWkYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HyNBX4L1WkbunR5hjsblvsULo3b072zs80fc/CU/47o=; b=guX3VntTak8MFcgmUicPEGekZJvVPXoo1UBWey7RedGD5yEBbZircaRsEOEtByzSLn9UsutxfaPbjUFOwhbY1WVWHvdf+h0MPWGlzfC74GW4AdFDTKdeWd+UTFuJHNPIZyn94nKfLBPqtze8yXHwDRhu2s63L/WU8jSjgZgZEGgd7Qr3o5ZPJgVh3IMKy9UronsmHgV5mCNTFFO2kNcjNEVe4ElZXurWzO2xOdgdEQliWc6ScM+gHwN5kWGgH6a8gQ3HXvmDP0wOsSu5T3cLpl1JB6UrmgxK99ZB1cyNdRDds4aD7gh/emlcVwTvc1O9V2BvCOvmp5aY8WjWEqJjpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=nongnu.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HyNBX4L1WkbunR5hjsblvsULo3b072zs80fc/CU/47o=; b=FdwIu92q4Nu5THIGSPTaw2vjQg0sY6NIcCGED6Dgi1W8YOOJmWz6CiM1Ew3dEMRQs50p0D+0qPyILknd4LPvWQudoPMgMINlI+1uVsXm0mAdSI5Kvl6n56eH42G67efti0Fzi/ULJD1R//z5R0GnYaex+cEMbdmsBh137c9zJuo= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C From: Sai Pavan Boddu To: , CC: "'Edgar E . Iglesias'" , Peter Maydell , Subject: [PATCH RFC 2/3] target/arm: Enable dcc console for a53 and R5 Date: Fri, 14 Jun 2024 15:00:25 +0530 Message-ID: <20240614093026.328271-3-sai.pavan.boddu@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240614093026.328271-1-sai.pavan.boddu@amd.com> References: <20240614093026.328271-1-sai.pavan.boddu@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB05.amd.com: sai.pavan.boddu@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001E8:EE_|DS0PR12MB9059:EE_ X-MS-Office365-Filtering-Correlation-Id: fc110b81-cb98-4c80-5f91-08dc8c54a869 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230035|36860700008|1800799019|376009|82310400021; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?WW3fB9gYZCTs7tqD60KDHrPod2heGUeZlDKRyz2f7sSxrcXiElQ9jxSN86T+?= =?us-ascii?Q?rt+LIQ6ZReaZmPIVmUez5lh3d/Wsc9pTTLN6MjE+Rxi6m/BmV7HpUVyGoG1j?= =?us-ascii?Q?av1ANKuaeEnqzDZyXjfgtYNOzZVxaAE6Tg+WlJyG6ZaphTTVepE7XnRcTR61?= =?us-ascii?Q?H6BWyzfm8Q/zlC4FOZf/D96iHdSqToeNrCZ71bGBgoDMloiPW31qA2tcw2g2?= =?us-ascii?Q?vyulQTPe/GBRAFEjR+iF3qXCAuI31mQ3n2n6C3dWrB+8bcQdfc7H116+xY/2?= =?us-ascii?Q?+lFv302vYqTDLVe0JVA1/sdaTOQgDdWFNnESyx8oTyV/u3JJsUbwGxAkjj+i?= =?us-ascii?Q?u3Rn7MelDerpHavdKfBN/t4pDCZca5ivKkbY+HJ/zIE0kvB8S6Y7HCT234Ug?= =?us-ascii?Q?S8DBFzWa9Z1Kkwo/T8imHBJEadiUXWV3TWJrHZya5uiJtvROwrhg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1As/HgwuSLCuEfZnHseE98r+2a/8v0iq?= =?us-ascii?Q?aMt1sZeqXKyT7h087nTp+MCn9lVfyrq4xDhBf1DXcTsgdsEPQA=3D=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230035)(36860700008)(1800799019)(376009)(82310400021); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 09:30:40.7106 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc110b81-cb98-4c80-5f91-08dc8c54a869 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001E8.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB9059 Received-SPF: permerror client-ip=2a01:111:f403:2412::626; envelope-from=sai.pavan.boddu@amd.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.145, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1718357520236100006 Content-Type: text/plain; charset="utf-8" This enabled DCC support. Signed-off-by: Sai Pavan Boddu --- target/arm/cpu64.c | 1 + target/arm/tcg/cpu32.c | 1 + 2 files changed, 2 insertions(+) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 262a1d6c0b..e39740303b 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -667,6 +667,7 @@ static void aarch64_a53_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_EL2); set_feature(&cpu->env, ARM_FEATURE_EL3); set_feature(&cpu->env, ARM_FEATURE_PMU); + set_feature(&cpu->env, ARM_FEATURE_DCC); cpu->kvm_target =3D QEMU_KVM_ARM_TARGET_CORTEX_A53; cpu->midr =3D 0x410fd034; cpu->revidr =3D 0x00000100; diff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c index bdd82d912a..b0ef51a9bf 100644 --- a/target/arm/tcg/cpu32.c +++ b/target/arm/tcg/cpu32.c @@ -562,6 +562,7 @@ static void cortex_r5_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_V7MP); set_feature(&cpu->env, ARM_FEATURE_PMSA); set_feature(&cpu->env, ARM_FEATURE_PMU); + set_feature(&cpu->env, ARM_FEATURE_DCC); cpu->midr =3D 0x411fc153; /* r1p3 */ cpu->isar.id_pfr0 =3D 0x0131; cpu->isar.id_pfr1 =3D 0x001; --=20 2.34.1