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 49E27428E3; Fri, 7 Apr 2023 08:04:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 393E640E03; Fri, 7 Apr 2023 08:04:51 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2058.outbound.protection.outlook.com [40.107.96.58]) by mails.dpdk.org (Postfix) with ESMTP id 2450A40041 for ; Fri, 7 Apr 2023 08:04:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N30AXDcb+cQVdhkI1g4tcsYvjvMsnMySmK8nQXHPn7EXhovN4Gk7rxOZygGudMPOoKEYcdfhvFXbmgZmM7Ysmj/wCRtBxk2m4Odr4qC77CZOfnmsFgv34oHdpD5Wnzh+4Wbk0QCrpd6Q1jhgtouC0y+rx8PM2PMbjdIfh+A3JmxILlKrIMku2Xv7AXaHNC99R7e0Ud9N3O+sQI17qdLF4n1PG7W/F4nZX9y4PfJ75j9FIwHHcZz/5+m8yMGe1ZsDh4PkoHFGddoiEqUWlhCeMjbpGzZTKtQNTo9UTyttawL9sVKLUC6O0M4gMNI5Vu53wfg9CFr8GubVsUywA4a7oA== 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=Uk+eVHPw136joHZTI78/HegAfvm4F4BjMhL95K8g/StkMo8Qn0lGvTYwdlGfCieC0yoJCjiu94eAFkbmqiyFxuHH75UlkiE1uI3fxprc0lkUIyTuUXWpuD01HM7ZQGP37p0mCBxU23IBi9BNcg3EGvwexrDyYKCs/E2YoIhXYtrgfTDNpIuxz49T8G+GBx3MgYNyfQvv9i07LW5M+kL52BOhE0JRuNa+jE9/myTekwKiT14zkgn15WZ8rsqKFKtLNlKjnVkefgX+gI7RWAYHRMvES92TnzgXaOClnmSjth5bIN7kYjigoV2DhfvayFE8CrWI34JhOKkjLG2lsZ4vDQ== 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=3R6NeypSPz46XZLVfVR5UzdnmMJRyhAQQSLKaVgTODp38nLt5PHHpl7lbJNI0drX7SO3p6cUH97KAcXIM7+nHNJ7ur3oRqJ42+JFZTnkwnPoug01h12Cni8pmg27psuNX6bBeGm4x38DV+qSfr0RxQwdJ0hcK7zblg6UAawsBJg= Received: from DS7PR06CA0023.namprd06.prod.outlook.com (2603:10b6:8:2a::14) by DS0PR12MB8503.namprd12.prod.outlook.com (2603:10b6:8:15a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.31; Fri, 7 Apr 2023 06:04:47 +0000 Received: from DM6NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2a:cafe::e7) by DS7PR06CA0023.outlook.office365.com (2603:10b6:8:2a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.31 via Frontend Transport; Fri, 7 Apr 2023 06:04:47 +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 DM6NAM11FT055.mail.protection.outlook.com (10.13.173.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6277.31 via Frontend Transport; Fri, 7 Apr 2023 06:04:47 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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, 7 Apr 2023 01:04:44 -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.2375.34; Thu, 6 Apr 2023 23:04:28 -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.2375.34 via Frontend Transport; Fri, 7 Apr 2023 01:04:26 -0500 From: Nipun Gupta To: , , CC: , , , Nipun Gupta Subject: [PATCH 6/6] config/arm: add AMD CDX Date: Fri, 7 Apr 2023 11:31:52 +0530 Message-ID: <20230407060152.16335-7-nipun.gupta@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230407060152.16335-1-nipun.gupta@amd.com> References: <20230124140746.594066-1-nipun.gupta@amd.com> <20230407060152.16335-1-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT055:EE_|DS0PR12MB8503:EE_ X-MS-Office365-Filtering-Correlation-Id: e7802db5-525c-43d5-d7e6-08db372dfdad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eGo7LKXjw3ekUcFVn/3nR5jr2pI2Ty9YxF7KxHrfsGXyw31+PLy6O08ERNOMaEllveyIiim4ijValLWyUFpBh9HdeUVt23PKfcr1/xYLYqGnPqTht+mk4a39XMexh1kolp1eJlryx7uKAAmYHsffxSBlhzGawvro5OvXIVXiPcHRFObDLjdOFngU1FeUtwRlM/jcwVEYjVVFQSzQo4aS7V2hW6VHzd8j0IXKH6YInp7l3RbovTcWig/Y2N9bHRIAGAY/Y/eimxZWV0MjNMDXdwZ5axJNd9eRBuZvaxtUcPj/vNZ6aNUSZlGwuwG/DUbjDEhHxLp/fIJ6JNQXQhLCUaLsqWDaR8jKgT98lSGMreTVN6dMA/BxaZ9vpkRf0Ht0R6cQuDcI6W2bbX7dW6fOGs6j1CjkyxiIL92OWr30Yt7/9ug+6oge7aXJ/MLVzcME0N6qvl6YsScqTga4o8AM2WDjzLXhckPwq9Z9h41URl2V9bEGMEab83xn+Th7ZoxJI1LO50R8FQu0ReComvP43PIf/5qXIV9radALeOf6hjfGi2eKLuU3P26lRaiFelHHXgwzr6u4f9tUhOk+t771SvCntvoDXu+Vf422SYjjWU6oP33QDfQyyNUzsVitscIjjniCmuAF4g7t5DPhKJePyHxUNUdo1a+WwOrUka2mU1rodyjg/AYHWdrXhXcD8UNPbQexCpW3FNoyiVve3cf5izU0DKAkmIEdSS61x9B2EBQ= 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)(376002)(136003)(396003)(346002)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(2906002)(41300700001)(4326008)(8936002)(8676002)(70206006)(70586007)(44832011)(5660300002)(478600001)(54906003)(316002)(110136005)(26005)(426003)(36756003)(47076005)(40480700001)(1076003)(186003)(6666004)(2616005)(336012)(40460700003)(36860700001)(82310400005)(82740400003)(356005)(81166007)(86362001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2023 06:04:47.1360 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7802db5-525c-43d5-d7e6-08db372dfdad 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: DM6NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8503 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