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 068B242CC8; Thu, 15 Jun 2023 18:18:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E892B40E0F; Thu, 15 Jun 2023 18:18:57 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2058.outbound.protection.outlook.com [40.107.94.58]) by mails.dpdk.org (Postfix) with ESMTP id C7F5E40A8B for ; Thu, 15 Jun 2023 18:18:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRw7gErhSvi+3fIkXgcRYSgdS1efulqnYIqqMgo1X/7DZdXHWAeOIPhvdV19nDDPvbTBzCF8/XPinEQ7X1oGyYDlYUEzJMCQCHavUjUXYXfj+jW35xub2Hjub0Gl5GIdtgaehmve+kkGlVTxPTOgDjn4w4HAKu7z5A7eZ0XiwrYe3fcFBXQulCa2Eh2bAbq7OKwSf5D3YBUUYKkYd60++c22OnN4TA7LtpTVYx0Mi08KBZBFZ7MLXIRl7Mue4uMfKVYfLWi4Oto/KpQEAU+4eustD6QydGVEnQZwBeQNIwsy6IYtFCvf2vRNWB/0+P+MYiuSIjGDqBV5/D7BO5SYPA== 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=JUeEVlpc3ijZwd4MaQSFA+YEzSTDqnD04FfKTVjYscU=; b=jx4BSBJ9uAjoKvQHWcctN+cJj2qXBQk8RUXYyofMEAW5S+L5OtoNTiyIQUGsW+zkZaDuzIaQXVUcnPtyOIKeURqOayATDgrj+mOf8GQz/W54yUElO/xksUQb7NL6TyVaFKrW325bajdDXufw5Q/ZWHhFDkE/k4JdSSJgprb8dsNZ/S7c0667Oflvd76fq+CM0fOsKWM0MGbNTeIPBB+KOWlbFrvsjqC3UjlrzHO9OtYsd8XjoT6aNDVr2tGPhl/01lnf8d2eMAIaZi75W39hrToeQxx/jPhrO1Pc5rGsdP359ngyrci46ZnkFfuDqLlFpdE2MW19c5gUQooYS1iEdg== 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=JUeEVlpc3ijZwd4MaQSFA+YEzSTDqnD04FfKTVjYscU=; b=M3lK18Vd9C5IOUSCeTaH+PCVGV3LSk/S1aGMihM6gkrACXcIiZ25GPGpj7XbE97EsyulBgZ4bXy149fL9dD7XH9/RuCluIj+TuKaLa7THDYUMFr2c48jEk1IBAjQ7B2ER2pT0NvZTkFErDVAkN2rQ5J2vnfiRxWNrEm1A6KQpO0= Received: from BN9PR03CA0975.namprd03.prod.outlook.com (2603:10b6:408:109::20) by CH2PR12MB4327.namprd12.prod.outlook.com (2603:10b6:610:7d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Thu, 15 Jun 2023 16:18:54 +0000 Received: from BN8NAM11FT104.eop-nam11.prod.protection.outlook.com (2603:10b6:408:109:cafe::bd) by BN9PR03CA0975.outlook.office365.com (2603:10b6:408:109::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.27 via Frontend Transport; Thu, 15 Jun 2023 16:18:54 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT104.mail.protection.outlook.com (10.13.177.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6500.29 via Frontend Transport; Thu, 15 Jun 2023 16:18:53 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 15 Jun 2023 11:18:53 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 15 Jun 2023 09:18:53 -0700 Received: from xhdipdslab41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Thu, 15 Jun 2023 11:18:50 -0500 From: Nipun Gupta To: , , CC: , , , , Nipun Gupta Subject: [PATCH] config/arm: add AMD CDX Date: Thu, 15 Jun 2023 21:48:46 +0530 Message-ID: <20230615161846.7371-1-nipun.gupta@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT104:EE_|CH2PR12MB4327:EE_ X-MS-Office365-Filtering-Correlation-Id: cfc21f69-409e-46f4-caa9-08db6dbc3696 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ndgWI8kHxVjTYXRRR37neDL1GSCEfZIt9vPM5EHIlgtNV5oqyLDDfYN6QKs3W6lZTLsuIEc7j7UCeCZcWZ9r53jAFSjg8zTw9gTmIOHuc5jRENXbsxkAoETEAlaoRUgTplfd/IY9kPocaQ+1/EC1jo7lSVi7G7pMuEOoiy5Ls4vGC8OcToSflz7GHV41kcOkhzvReG2E5UvhDqCSm1r0PgywRfvGS4Qg+hj3AKCN6hXx0PwFrpqmr5IquUGhVq1xx9ommsYtaLyuxaTih6s/LsJEH6dw/0MfRXoB9tE6T7zenlirYtwD+2tStSarmwlRNgGp2VpIs3IQJlI3aOen9o8CvDqXNm0cVh6X9E5ax9ExFT8w9NkkboL2EGsZ9sYtJ18DUd2DkjmFfOlM9YTm/x+eI79zD/WEgtRPiHly3S7l4vKodHEBbvnM6qU+bhlBij8gZfaS/ctOnhwCNQZ9pzjxAu7TD2vQZYX5dWtN+KjM4FBYINRLA7PGAJuyFYv8Jsp/9JGWtn60oCsF4IC05m5/zbzTDU6xfAr0iDzE0rSzaHDsV8ulfEMaFTaHiQDxg9IW/H0qMiMbYt7o6n8JDa0RmZ9GNR7WKr5GiIUig6QqVb7pm7WUxcpdzJBSpLk3uBZGbddlub18ICkOWvLDghmppCemerK/x9UsdZd7yTjswJegnvjc7CSenlQmxi9TFo5mUEz8wyCuVMMd7Yqm+VeNTb0c2HlUhjra51i4VtFsJI579lsiAFf2Xqn6Qj8Z X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(346002)(396003)(39860400002)(136003)(376002)(451199021)(36840700001)(46966006)(40470700004)(1076003)(26005)(36756003)(186003)(478600001)(966005)(40480700001)(6666004)(40460700003)(2906002)(8936002)(316002)(41300700001)(8676002)(44832011)(86362001)(81166007)(356005)(82310400005)(5660300002)(82740400003)(54906003)(336012)(110136005)(47076005)(2616005)(426003)(4326008)(70206006)(70586007)(36860700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 16:18:53.9719 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cfc21f69-409e-46f4-caa9-08db6dbc3696 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT104.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4327 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 Add meson build configuration for AMD CDX platform. Signed-off-by: Nipun Gupta --- This patch was earlier submitted as part of AMD CDX bus, but as it is platform support it has been separated out from the bus series. Previous patch link: http://patches.dpdk.org/project/dpdk/patch/20230421145406.12831-6-nipun.gupta@amd.com/ 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 ae2226988e..213b535a6f 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