From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B96D3429AE; Fri, 21 Apr 2023 16:55:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E18EE42C76; Fri, 21 Apr 2023 16:54:49 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2057.outbound.protection.outlook.com [40.107.92.57]) by mails.dpdk.org (Postfix) with ESMTP id D7C7C42C76 for ; Fri, 21 Apr 2023 16:54:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=etRg3hirNU3QZq7erAbXEFR0/geQ/41bdFfEQoOnEFA0pysxxcgjwBSxt8rNJU84Ceyi+Ii+4jefaY9wCv/H16UoOnD9PeGRlLulwR8NEnngCwzp5eHC96DQhJjQ6I9GJkr4d+QA+gfE7C6/QsVAjerv9d3O9kWFdNLFDjEuS44+GACdZLlaQ2+lyKE0RvY/oYZfS5G0yHjusxGkl97v5LhsSJljeW5/QSkIRUWGlU4mB5kE+XxIqlUWghTl8E4iZOOvaO4B+Xr3nk/T5j4oHuZ6QGyyqP+t8tXml0EAE+emxcn8Yxilzica1Z4/9B3memTNrMMzau048hi1Pngsuw== 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=/lT7F1032zZI/CWW7hRDYlZKVy5DPattH0e5kUfJ9Jw=; b=RHOBC4fKRyZcKGqRqccBEOBQQe1trd5lNA+OCk+MZxQBfwGP5I2QufgWOhbJAmj6PKxvYvSAQex35uxc7Jalmppa+RkRLQ8VNucgndbtFi7qDd5UiYjhsnYzepgnPIsbJgCANpBTMDp4tN9Jg4KSbH9hmtDJbGSf5Yhu86y9CK9SiKNn8ZkYc0Dxx+Nw6IwI/h1QmPYjvNgBrFcQVeDTJC9om22DotUz0eTt3s0kJ+RvHbjo99ltBdxPwDH72yHB9Pvk4KLAGBecf7IFfzf2d8G96O5ItmeglperstWeZ4EsqMzbC0OgA6g41opIPNwEGci4/tzvtK6QH71j0HTTww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.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 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=/lT7F1032zZI/CWW7hRDYlZKVy5DPattH0e5kUfJ9Jw=; b=muyq92PdSZj6qEH+OndvWT53Ma9ERRjZVmP7TIrjGJZvrK9cA8kZKTKIdTQhiNbsEVAitGvJhg7KHIe+9Oky78xXvI1LEdSrKrB2Nmpu+33htvXG/lV9C0ztbK0ejE4bM+RtU2sIANtNjKYSNAX5mWBehMKuNtgzfhpMlTVK8rs= Received: from BN0PR04CA0131.namprd04.prod.outlook.com (2603:10b6:408:ed::16) by DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.22; Fri, 21 Apr 2023 14:54:44 +0000 Received: from BN8NAM11FT015.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ed:cafe::4a) by BN0PR04CA0131.outlook.office365.com (2603:10b6:408:ed::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.27 via Frontend Transport; Fri, 21 Apr 2023 14:54:44 +0000 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 (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 Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT015.mail.protection.outlook.com (10.13.176.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6319.27 via Frontend Transport; Fri, 21 Apr 2023 14:54:44 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.2375.34; Fri, 21 Apr 2023 09:54:43 -0500 Received: from xhdipdslab41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Fri, 21 Apr 2023 09:54:41 -0500 From: Nipun Gupta To: , , , CC: , , Nipun Gupta Subject: [PATCH v3 5/5] config/arm: add AMD CDX Date: Fri, 21 Apr 2023 20:24:06 +0530 Message-ID: <20230421145406.12831-6-nipun.gupta@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230421145406.12831-1-nipun.gupta@amd.com> References: <20230124140746.594066-1-nipun.gupta@amd.com> <20230421145406.12831-1-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT015:EE_|DM4PR12MB5040:EE_ X-MS-Office365-Filtering-Correlation-Id: aa6e142b-893a-42d4-bce9-08db427857f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xAr88/mSUaxsYm5etwRvn3fR7I901DF1pH/U9JM+ZZ+ccRB12jU73jsFuc3QyImJXjG+qwBVAQvd9LYPw8ekWqy6KsG50CU1c5Xz/NAfdnyrLlkuLmaj4B/SAYETdeNC1qt9gBZnkbJsGTBv5M6bKvHzKSPxJ21RxAv1FTjHsbbUbgSPleLmTw6TmeAfmjY+eB1HksEjUF/FXpXY0YdkmDNMOuu1XVi0iYKgar0PlN+/SJtJnmkvh4zpEmh7Di0oEcMnvkjuQ4Ch5fLuJdf2RvZ0PEydRgqn2ac4QsGY/yxKRBp8gB4cVgjUMMT4ZApeTLxJ3YooZ1Xfi7JmItdWqSbRSXPYMrG6TV8fd19TMh7bZfzGIfoWRDJgyH1h/+XbN1XsS7n1K4oFnQ09RL7Ybgz1dVjAkLZFZktma8xP57MJ2QVjiqOY/kDCQvOMSm1n6oLvZ/MIERptVCCdhmeDNRmB/YJP4iwWCMdsAN4ou6Tk12EzwJDsexkP2F2D4QkK5h93Mh2C3LjIaqeeNkaAVhmJ3InbsNJ5vaxMiDw7Pn7mNZ8FHqSVLOnPyUFx971Z8kOhECSLAhdk4Js+VWmirPjDxpWS6PlX9ft1y2Bq6ooAg6BMiNQGMDIg4SY/k3bcZ+aUnLIu7TDL8qFP/dvm8GUD/GfNLU8QyexsVpDbLaIGhhpsrzG52t2vUB+FJLYZGIzGTLx0ru4NYN2LhzeFz0GYmnYyv+qxpFTsgH/00Mw= 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:(13230028)(4636009)(136003)(396003)(346002)(376002)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(8676002)(8936002)(86362001)(186003)(26005)(1076003)(356005)(2906002)(82310400005)(81166007)(47076005)(426003)(2616005)(336012)(36756003)(36860700001)(70206006)(6666004)(54906003)(110136005)(6636002)(478600001)(44832011)(5660300002)(4326008)(316002)(70586007)(41300700001)(40460700003)(82740400003)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2023 14:54:44.2106 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa6e142b-893a-42d4-bce9-08db427857f7 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: BN8NAM11FT015.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5040 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Adding support for AMD CDX devices Signed-off-by: Nipun Gupta --- config/arm/arm64_cdx_linux_gcc | 17 +++++++++++++++++ config/arm/meson.build | 14 ++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc diff --git a/config/arm/arm64_cdx_linux_gcc b/config/arm/arm64_cdx_linux_gcc new file mode 100644 index 0000000000..8e6d619dae --- /dev/null +++ b/config/arm/arm64_cdx_linux_gcc @@ -0,0 +1,17 @@ +[binaries] +c = ['ccache', 'aarch64-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-linux-gnu-g++'] +ar = 'aarch64-linux-gnu-ar' +as = 'aarch64-linux-gnu-as' +strip = 'aarch64-linux-gnu-strip' +pkgconfig = 'aarch64-linux-gnu-pkg-config' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +platform = 'cdx' diff --git a/config/arm/meson.build b/config/arm/meson.build index 5213434ca4..39b8929534 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -305,6 +305,18 @@ soc_bluefield = { 'numa': false } +soc_cdx = { + 'description': 'AMD CDX', + 'implementer': '0x41', + 'part_number': '0xd42', + 'flags': [ + ['RTE_MACHINE', '"cdx"'], + ['RTE_MAX_LCORE', 16], + ['RTE_MAX_NUMA_NODES', 1] + ], + 'numa': false +} + soc_centriq2400 = { 'description': 'Qualcomm Centriq 2400', 'implementer': '0x51', @@ -463,6 +475,7 @@ generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode. armada: Marvell ARMADA bluefield: NVIDIA BlueField bluefield3: NVIDIA BlueField-3 +cdx: AMD CDX centriq2400: Qualcomm Centriq 2400 cn9k: Marvell OCTEON 9 cn10k: Marvell OCTEON 10 @@ -490,6 +503,7 @@ socs = { 'armada': soc_armada, 'bluefield': soc_bluefield, 'bluefield3': soc_bluefield3, + 'cdx': soc_cdx, 'centriq2400': soc_centriq2400, 'cn9k': soc_cn9k, 'cn10k' : soc_cn10k, -- 2.17.1