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 6DD474247C; Tue, 24 Jan 2023 15:08:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CA0542D41; Tue, 24 Jan 2023 15:08:12 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2068.outbound.protection.outlook.com [40.107.223.68]) by mails.dpdk.org (Postfix) with ESMTP id C8E3F42D3C for ; Tue, 24 Jan 2023 15:08:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H03ELA4wj+l9gPOURudY79WVSaO4otBrqU7R+SQkynqFFSP3Fw0qqY12nstujvqQwNpCqikvy8Z/pRLr6gnX6sZROt67z8EaHXy9Yo6EixEgJGoFN3NgdH9V9eEu6xiCYNdNP3Lis1KyU/n7Y22YFZRao6N5TSxg0C1Pp8jrLt7NLlmhOUm5GNzDSdcpfjLAjve/yRqoq4Ij3MmVYCXz7BH8CIIB3U4QSviZFRBtlXG5u80geRcT5tq8a58kMG7k/kQ1aTlEznf/p+E3tTMek3h8QQQPC+Y1wn/16VtKvVcEZA+pEnBqJ4ul3qqaVw8xnUwzzmV/yH6ZGg8kZmUTMQ== 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=WhbO2kAJLUI1PvMdRsumRlz702cPn1BssFFzCxI7eVE=; b=QWwJb0swCvwjbdcB4C24eg7Wby2ZADMcwxzKO6dCjhaV7BuorM2TN5kS7zrTMAZZG/Jji8ITKxt3kBEgK6nWjNpqf1zE4m4SeETKhTile3G4ZOiFo2ePYe03gVRQQkwY4oe3uYbcPnTKUKrAcIcf2d6EQGO5okUgtCnWLhHGHRMiDRKz/Zv344GW2cYtGIhWL6P0YM8bTgPfKsQFTg8dlEsyOf8m8irz68ez7CwQXzJmYG+OG+i2cST3fY/C734vxxDCqHJ2uP0c7Jeh5AZHJa7L2nAZ1fnUP8SVjIfGYIRmVRUQvWxO1RTLoOqk6ZS5mPINnVYxJecGLHwk+KzKBg== 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=WhbO2kAJLUI1PvMdRsumRlz702cPn1BssFFzCxI7eVE=; b=n2wPPsF5c+Iz8S1A+cvpyt+PPEbpQ6AmDGZqzFiTjia9x+AxVjPR+jAfnACOYdMHzVWXZ15P2RA2LbZX9ld6RuguVQJErDQ92G8nI/3rHPrzzBnLB3GHd7kEemXxEn7U+rRTa5WQioJkEgVle4wUmpKoJz1OzgIrj95rj32DTk4= Received: from BN9PR03CA0961.namprd03.prod.outlook.com (2603:10b6:408:109::6) by LV2PR12MB5965.namprd12.prod.outlook.com (2603:10b6:408:172::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Tue, 24 Jan 2023 14:08:06 +0000 Received: from BN8NAM11FT005.eop-nam11.prod.protection.outlook.com (2603:10b6:408:109:cafe::94) by BN9PR03CA0961.outlook.office365.com (2603:10b6:408:109::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33 via Frontend Transport; Tue, 24 Jan 2023 14:08:06 +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 BN8NAM11FT005.mail.protection.outlook.com (10.13.176.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6043.17 via Frontend Transport; Tue, 24 Jan 2023 14:08:06 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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; Tue, 24 Jan 2023 08:08:03 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 24 Jan 2023 08:08:02 -0600 Received: from xhdipdslab49.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 24 Jan 2023 08:08:01 -0600 From: Nipun Gupta To: , , CC: , , Subject: [RFC PATCH 6/6] config/arm: add AMD CDX Date: Tue, 24 Jan 2023 19:37:46 +0530 Message-ID: <20230124140746.594066-7-nipun.gupta@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230124140746.594066-1-nipun.gupta@amd.com> References: <20230124140746.594066-1-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT005:EE_|LV2PR12MB5965:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f92f13b-a052-4e09-5bc2-08dafe146a6b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IoWuwsxoYHtPNkK5Jwv90idzuKf8c54l5Q2YNoUKV0rdqUSZK+s5ouLJ5SOOyUMGXUlxEIo1l7unz1N5rOl0cvzGSb/NT0nX/FKPwp/HPOQnm0ZC81xTSgHUsPN+8AoZoXwiPAhvE1jfbaQYlBW78sC3pfeFE0i6hZelbn/4WVgFCMXJF8enxv2EV4pHQbdgveNGlyyKXeSHaRQrJBBOfGB7clFvIPjjQAPk411ky3daLrgjdIrRGwo/rX9gaZqrTTRZ1tRYsEYw0YV5MHodTOn+IBIAFO5NPINUPeecCCxovnysH0W/8r6goyk8+9Iq/ABn3Kq+J6zV2Pn0kfu9HXfdAAzO/WwPlwUGAJUlYr637rnth3gsisfSlk8Gz7Out0UDVN/BKGfHu+t7GxfvYrmDgljXqEhLXtFZ3tX9eSub0jw7WB3tZckselvsIm/gec8oyjleduZqunBCeVZKijYJjWc0P74qlXMbHv8y+e057YjnvcD+1pJXoHJ3vGqxKg51SBQxLNfZMsf/3rGJ3iYmH7TwCS/vYNRUMoZyM2ooqbKGmrO8epm0kop4lOZCZh5J/re1KRxab8thEUMLFpk2oy4pxVO/qVD9u6aV0Eej93CNhLjAkNQaLIA99ZHdCOt3Epgefez7qJ0kSAs2y8GiD7f/Cj20ZohKDjuS1UrZk4hlEp9WcgxGsvTsPQWIOltojMUH7Z2mKGavlKZ7Q77mrjxUAsbpNIBGURphsDE= 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:(13230022)(4636009)(396003)(39860400002)(346002)(376002)(136003)(451199015)(36840700001)(46966006)(40470700004)(36860700001)(36756003)(316002)(86362001)(70586007)(4326008)(70206006)(54906003)(8676002)(110136005)(186003)(26005)(40480700001)(6666004)(356005)(478600001)(336012)(81166007)(2616005)(1076003)(44832011)(5660300002)(47076005)(8936002)(40460700003)(426003)(41300700001)(82740400003)(2906002)(82310400005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2023 14:08:06.4099 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f92f13b-a052-4e09-5bc2-08dafe146a6b 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: BN8NAM11FT005.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5965 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 | 15 +++++++++++++++ 2 files changed, 32 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 6442ec9596..76806b2820 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -63,6 +63,7 @@ part_number_config_arm = { '0xd09': {'compiler_options': ['-mcpu=cortex-a73']}, '0xd0a': {'compiler_options': ['-mcpu=cortex-a75']}, '0xd0b': {'compiler_options': ['-mcpu=cortex-a76']}, + '0xd42': {'compiler_options': ['-mcpu=cortex-a78']}, '0xd0c': { 'march': 'armv8.2-a', 'march_features': ['crypto'], @@ -302,6 +303,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', @@ -448,6 +461,7 @@ generic: Generic un-optimized build for armv8 aarch64 execution mode. generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode. armada: Marvell ARMADA bluefield: NVIDIA BlueField +cdx: AMD CDX centriq2400: Qualcomm Centriq 2400 cn9k: Marvell OCTEON 9 cn10k: Marvell OCTEON 10 @@ -474,6 +488,7 @@ socs = { 'generic_aarch32': soc_generic_aarch32, 'armada': soc_armada, 'bluefield': soc_bluefield, + 'cdx': soc_cdx, 'centriq2400': soc_centriq2400, 'cn9k': soc_cn9k, 'cn10k' : soc_cn10k, -- 2.25.1