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 E3F0F42CD8; Fri, 16 Jun 2023 10:36:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 746E34021E; Fri, 16 Jun 2023 10:36:24 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2079.outbound.protection.outlook.com [40.107.15.79]) by mails.dpdk.org (Postfix) with ESMTP id AA6694003C for ; Fri, 16 Jun 2023 10:36:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B3wSwF61vGtc9/RusE62PcxQ1yZVorCdriygTALZpKE=; b=sj1GlhF3kGoU+pH/regUGL91l3X0VcRAt2Lezme/1Hp9qWG1+B8zJIUWG2nCL3OjFbPKXjMaEdh9u4L8USv79gd85p7GKPNrfZ0WtNZ7FPZkTXoaEMJTnOrFlj6Ca+viuNOxLxNxWhUy91Ih9Od7iUcjfxnXTlQ4QW4EiNrFnlY= Received: from AS4P251CA0010.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d2::12) by DU0PR08MB9201.eurprd08.prod.outlook.com (2603:10a6:10:415::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Fri, 16 Jun 2023 08:36:16 +0000 Received: from AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:5d2:cafe::bb) by AS4P251CA0010.outlook.office365.com (2603:10a6:20b:5d2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.40 via Frontend Transport; Fri, 16 Jun 2023 08:36:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT036.mail.protection.outlook.com (100.127.140.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25 via Frontend Transport; Fri, 16 Jun 2023 08:36:15 +0000 Received: ("Tessian outbound e13c2446394c:v136"); Fri, 16 Jun 2023 08:36:15 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c7fdc070f44adb3d X-CR-MTA-TID: 64aa7808 Received: from d2665dba7b38.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 48DDDEE6-74A1-4C54-9B9E-A973A2FA1F46.1; Fri, 16 Jun 2023 08:36:04 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d2665dba7b38.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 16 Jun 2023 08:36:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Trw/ci+gUqQBcZ39jEqLJN3qiVbarzCKiequwDDVUOSdmgOyTHnFc2It/ZZXdgb4yuoQEDJGX/qIA/pr8+ZUAHMd9qyUtfe3gctL/EOyCT0h8xNnwUfETcVbaR3IAzV+bhmiWRIhSeudnSRGbD0E1COmJs/Z402qjrkhwYwUCcppTprkN2yV68pEBzPtkeMRASkVz+iaeJucWbIbHLmUTsRo4Pan3G/+/UDcPAg/gdSz3f+HjnSranRzCfSKHTkwyQsAtgzGY/We/YF09tU8XXjvdmbQ9VWKij1i0+bPx9oqfRarPc3ImaHwQLExTFtDW9qrFApTQOVBKLlI7MKfBA== 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=B3wSwF61vGtc9/RusE62PcxQ1yZVorCdriygTALZpKE=; b=bCNGjzutqCmc9eIu6uyC10UFEan+S8e/IsmVg/j2bhcfUCB+w+wynwv/90D9I+bloL2K8oOOWa6vnVUoklze81Cl88/rGb5kGpi7LgPdQ8l7dw8PAGSSXwmE/uaoC+Ffr9RGwHUHB0SvSUAnDGr2T8hiYLsfLu5iv11kfnbE0kVOUYobDryCJeKchT3/olrlmEFW7pLX4t/PQ6WUwaZlWUcvyvhykyn6WX4d8o1tVN1ZaA7hqeDFfWJTnQJ5WB6i++cKvPrHPEYMTbhmRNatvBsqzSRbodaZMzyaOJLRtQLzlH5MKHDV4dARMMA4dTS38TmsSrqosfEmBzD9FzFdRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B3wSwF61vGtc9/RusE62PcxQ1yZVorCdriygTALZpKE=; b=sj1GlhF3kGoU+pH/regUGL91l3X0VcRAt2Lezme/1Hp9qWG1+B8zJIUWG2nCL3OjFbPKXjMaEdh9u4L8USv79gd85p7GKPNrfZ0WtNZ7FPZkTXoaEMJTnOrFlj6Ca+viuNOxLxNxWhUy91Ih9Od7iUcjfxnXTlQ4QW4EiNrFnlY= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by PAXPR08MB6576.eurprd08.prod.outlook.com (2603:10a6:102:15a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.29; Fri, 16 Jun 2023 08:36:02 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::dd71:31fd:80b0:c4e0]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::dd71:31fd:80b0:c4e0%4]) with mapi id 15.20.6500.025; Fri, 16 Jun 2023 08:36:02 +0000 From: Ruifeng Wang To: Nipun Gupta , "dev@dpdk.org" , "thomas@monjalon.net" , "david.marchand@redhat.com" CC: "ferruh.yigit@amd.com" , "nikhil.agarwal@amd.com" , Honnappa Nagarahalli , nd Subject: RE: [PATCH] config/arm: add AMD CDX Thread-Topic: [PATCH] config/arm: add AMD CDX Thread-Index: AQHZn6Ue1lZ42v/3x02oEZcXd9qPA6+NG8LQ Date: Fri, 16 Jun 2023 08:36:02 +0000 Message-ID: References: <20230615161846.7371-1-nipun.gupta@amd.com> In-Reply-To: <20230615161846.7371-1-nipun.gupta@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 54390FD556A42A42A747999425969BA0.0 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|PAXPR08MB6576:EE_|AM7EUR03FT036:EE_|DU0PR08MB9201:EE_ X-MS-Office365-Filtering-Correlation-Id: eafec025-5aab-49b0-c874-08db6e44bfd1 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: c9MhvZTMHsQIg/LV9S9GgHkiTczxqkYBcs2HARTdtYILtXJVJFhvz6QILIodNAS20ofEZKWdITEvGJG3D/WIi5L9aX+Ye10BAQSqOMFxKTaAwPvtePYEsft98Ud8z9PTcH8f7y392rha3bGhR4gR0jirzXNExd11O37UouGNCjbJ66pFfOKVxt9m2ms12//WWnY1xYuBuq1xTv5qWN1GnqNo/GtQIHrPVe81coSziCo2CHap0ArgELzxZJoyzuKeheVsE5ebx5ZJUhUPNpibozT2ZUBeoZCbKvihBZtk1J3f1JAKGVsc3FSQn7aaeTxsbhg7t6teNPnPtxXrC7lWuZhugNe9W5KeRJemBF3iCuN1o1GCSUcUhGseYNV9/ZWQ2O34PpV9tFhtKqZCKQbf2b9FcPLUaTrQTUQc9TUV4k9nnhD84SK72nqDaMvVbVvNAGEJGhHBm60s+O/eImK/AoZgehUz7+PnqRpFceSbKKU6LqP2BOM47RFX9eM4FNInZwxuh2joUMljqF1CsVeZvt67ucFfKZ8U9gOAtI5+rVsHqnUTn1yb/xWpNfV8qp9/SN73XPy6X6HYuFDv1IGQFzsIX8lEmo7wuUX894iwJnU= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(451199021)(52536014)(5660300002)(8676002)(8936002)(2906002)(33656002)(38100700002)(41300700001)(122000001)(76116006)(66946007)(66556008)(66476007)(4326008)(64756008)(66446008)(83380400001)(186003)(54906003)(110136005)(53546011)(9686003)(26005)(6506007)(478600001)(55016003)(71200400001)(966005)(7696005)(316002)(86362001)(38070700005); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6576 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 3ab6261d-b89c-4d0c-75ae-08db6e44b7ec X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SYMJVxE+KXIpxVnisUToMGlR9NYvFflQs1q3p0cGcg3kwG5+JYI/IrISVIPEE1uEXnCFQOKl6TNWWtwTVfduTb/KGWtoaSdEapZAbkqarFNcXyNsNIc97GAaukujNrs3VAIk8YLchVQg6EAkn/UhdRr95212jwaE7nFef2qC/OXnS9jKKNtOsG3886EtN96GojcrfpEWO6JWEcjkKViItDTRsxc60/MtwLNbeAYkKeF5hOqdaszrSXlPYeYp2i6WhTTR0r9640dlXQOK6djiwpPBozc+AnCr3sHPbGPbzPIa0MqitMxtI9kdfP8S12FSwKgkjFCBHmYhF/P5hoEUvUdSabHsBXYoIom6rySTP2wM3T14gCNzvFm0qO6KLvBufAbfWfcW60QRwfyClyvaFCGPma6Xc9D5viQhv/W7j1XRUzbl09niLFs+5dqcQ8K929CooqqBB/k2iCmJm+o4RQqFLAjmQq6i9hTCSfwOdqINjMzwe28z17rP6okB3Ysj2RDRL9QeXB1ZzOTFUgma1UlW3KjKdYGoUWVMUxurWC//8uNRCudvNsfW53mg1/CZClsqDRxubfOW/637y29d4L81yBt+RVuIjlUEieJNQcX78KOBL6Xe8wxORIpgfWGjbfjWjc1BjcPhBBkNTcaq1nsi16Y9k+aRcmyphkRShS55Prk69eE9JmJvNHbD2o4MPhSIKonrm4CtPS0IZbtXjAulHKriSA6zE52Rw7MRRq0= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230028)(4636009)(396003)(346002)(376002)(136003)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(316002)(4326008)(70586007)(41300700001)(186003)(70206006)(2906002)(54906003)(110136005)(8936002)(8676002)(52536014)(5660300002)(478600001)(36860700001)(86362001)(966005)(7696005)(40460700003)(6506007)(26005)(81166007)(33656002)(53546011)(40480700001)(356005)(9686003)(55016003)(82740400003)(83380400001)(47076005)(336012)(82310400005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2023 08:36:15.7460 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eafec025-5aab-49b0-c874-08db6e44bfd1 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9201 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 > -----Original Message----- > From: Nipun Gupta > Sent: Friday, June 16, 2023 12:19 AM > To: dev@dpdk.org; thomas@monjalon.net; david.marchand@redhat.com > Cc: ferruh.yigit@amd.com; nikhil.agarwal@amd.com; Ruifeng Wang ; > Honnappa Nagarahalli ; Nipun Gupta > Subject: [PATCH] config/arm: add AMD CDX >=20 > Add meson build configuration for AMD CDX platform. >=20 > Signed-off-by: Nipun Gupta > --- > This patch was earlier submitted as part of AMD CDX bus, but as it is pla= tform support it > has been separated out from the bus series. Previous patch link: > http://patches.dpdk.org/project/dpdk/patch/20230421145406.12831-6-nipun.g= upta@amd.com/ >=20 > 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 >=20 > 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 =3D ['ccache', 'aarch64-linux-gnu-gcc'] cpp =3D ['ccache', > +'aarch64-linux-gnu-g++'] ar =3D 'aarch64-linux-gnu-ar' > +as =3D 'aarch64-linux-gnu-as' > +strip =3D 'aarch64-linux-gnu-strip' > +pkgconfig =3D 'aarch64-linux-gnu-pkg-config' > +pcap-config =3D '' > + > +[host_machine] > +system =3D 'linux' > +cpu_family =3D 'aarch64' > +cpu =3D 'armv8-a' > +endian =3D 'little' > + > +[properties] > +platform =3D 'cdx' > diff --git a/config/arm/meson.build b/config/arm/meson.build index ae2226= 988e..213b535a6f > 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -305,6 +305,18 @@ soc_bluefield =3D { > 'numa': false > } >=20 > +soc_cdx =3D { > + '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 =3D { > '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 =3D { > 'armada': soc_armada, > 'bluefield': soc_bluefield, > 'bluefield3': soc_bluefield3, > + 'cdx': soc_cdx, > 'centriq2400': soc_centriq2400, > 'cn9k': soc_cn9k, > 'cn10k' : soc_cn10k, > -- > 2.17.1 Acked-by: Ruifeng Wang