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 59873A034F for ; Wed, 10 Nov 2021 07:34:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 530B94068B; Wed, 10 Nov 2021 07:34:26 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2054.outbound.protection.outlook.com [40.107.220.54]) by mails.dpdk.org (Postfix) with ESMTP id 72BA240E28 for ; Wed, 10 Nov 2021 07:34:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CA/DOdpk5ZLLgqS7NpYqP16ze08/gJZ8RdsJxZwVZNwU9+HvqpwqADEbdMRiqb6VlKowuHz/j9/MSVsOhAOpmkGLpsnsGgVw7ODqZTCnkGQl7od3AxjowcfsH9y3+b6iQo32zg+ZzsyECaWqqwt95JcgszMgWZKZrRR5waoTMeAW9eq3hi0iZT2utDHi3sWI4A46NpsBktCbf84Y/z5XUOjs41wAxNAcDvq883XQG93tbNwoGy9syP0F/9cRk8ch8HCi1qMBSJWOSwHO/oOMZZzX9GcP0/mrJG5nG+DpsrSkKdrUC2X7lYlvL3Rw7CdjZL3nWIHn8PFvhdW6bZ5/lg== 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=sHpR+JlgHl1+9AToV4/7qGiP791dRZxirYvn2nbQKxc=; b=HzD/gDdSTQ+TJxgkak8McF0PzfDdQeMqIV3CqBTa2x6lvuf/DHQ39Qx5vN4Uc/1ocG9sOIHYnVabRFjdB35DrmKdQy+uzW6eEGl1BLTpJuhsEfcwCx6oayl/OyNmT0NCYhoGBsn3TVEi0vo1wvIlIJlz4CaI5LqO4tfzqcR882kx9X73kRFc//2qsVlNBmrckH5WYdE6MzPenmRKBX/wfYuQfufo+3bgq8BS4/dWSlpdq1h9YGuxl86QuBaA1IJY78wCYbo1RAYt/1P9LP4DqqkxS7SmSg9EodrTDjSwQwaLWLCuNd5X8onHpKWsiUPF779lMY5FMA33zPs8Kr17zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sHpR+JlgHl1+9AToV4/7qGiP791dRZxirYvn2nbQKxc=; b=Sal1UpaHDPqNvA4bLZEnmFtYWw1yXrCldXoESpLzRwnEeNorZhVjCqNMaNngIywuAy9xb0FBStuTxxsqoiFuwmgFgMxCNRa5IZtZI6QrBxoy39Y4L2zRd1maiTnVUYO84yh6kbFvMQBDFGM1iDCAOP60sfvWmw9JdI3ce1RX3KHOGCbcLOdSEkboJIH+EIz9oEqQUieQiriJxmRDHKTQHI/wpFKkovUORjekzedVsrq+OzaOTqtlBUlYzscvBEzFxew8TXbcs4t+EpqVR5ml+Gz7PSMSHnIESCjw8r6vEimkU0EhLADTKoRRTXPD6ea9k+EMwR8LqmbCxHGjMdVhYg== Received: from DM6PR02CA0164.namprd02.prod.outlook.com (2603:10b6:5:332::31) by BY5PR12MB3827.namprd12.prod.outlook.com (2603:10b6:a03:1ab::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Wed, 10 Nov 2021 06:34:23 +0000 Received: from DM6NAM11FT022.eop-nam11.prod.protection.outlook.com (2603:10b6:5:332:cafe::42) by DM6PR02CA0164.outlook.office365.com (2603:10b6:5:332::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 06:34:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT022.mail.protection.outlook.com (10.13.172.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:34:22 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:34:19 +0000 From: Xueming Li To: David Christensen CC: Luca Boccassi , dpdk stable Date: Wed, 10 Nov 2021 14:28:21 +0800 Message-ID: <20211110063216.2744012-18-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 81d2dca9-e4b3-40fa-12a2-08d9a414225e X-MS-TrafficTypeDiagnostic: BY5PR12MB3827: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4CAeQqt72ApQ+KihJqXf7KGIzqeUUBWddyTKhKjyJgiLtDDdhU/Oa7Fzdw8hX5sII2KvzdmHGFI4jBCclWVwHtPks+nDtESgXo0fh97udTYJ4rANb3vdA94cZUa5DT6pBWeDrQTzWk+UkxuiWFxvu7P39QefLYtH2x/jlUOGplxV82YYE7RMqAMGiYfHah2D3MXQSHyluIpiNmZfBVWUdbXVxjvk1bm5x3G60qhZdwkyl8hw+GfHsbCPP3ig78ha8ggbVohzI2XeBbqqwB6ruK+ilz49qQlhjecpkAC0wtmK3euAKr89LOFH6Ar38lgUAxCsjG4vX/GdQHDRtfHAi7gkgezNm/0fBflo/8IZWUxsymkszvkWK7h+VlBVfcHSL+dNk52+bZGEPB62JBFDpu8SJiRvmlnDh1b6DhKcBsitHeEs8JOGgdhFraFMmfOp7FEnSI33iJp7eRdfoYPrsTYbQ+rWnriGVuoLFJahHl/TpcnMHW/EWm6Cka/pFEboJWEfDWpyFNQRb025PlFD1Cm68RmOXuGEC4z2AYtBAhA3lanuNp49ZExzgaxL0x3QHWLuVRGOVXW0JoUJdrmI6fdQTdmGIteGUVOu+88r8TgI0e3xj6NvIErcJQSLVcHgoz3BHVPGhY0rD4mWZ8ORCP/2hAdZKuhB/1sOsGBnmDEbc68RGqmh1Co+3Zx/wbP5jiVm+1aMtEKyPnHtE0j+XsPaaoMiBIlW9Rr87ozjr6DeJBkGXkHunpuGmbY1hk7Wb96fBx7HKuq/e66mwb0YfrOwHOZDeRQNA11fNckAFSujhaufShs+MewJLO+1qtd7PePdTf+NLMB4KUsSDu347A== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(36756003)(83380400001)(82310400003)(7696005)(70206006)(356005)(54906003)(316002)(6286002)(7636003)(2906002)(966005)(55016002)(4001150100001)(186003)(36906005)(336012)(5660300002)(426003)(16526019)(36860700001)(47076005)(8676002)(6916009)(508600001)(8936002)(53546011)(1076003)(26005)(6666004)(86362001)(4326008)(70586007)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:34:22.8429 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81d2dca9-e4b3-40fa-12a2-08d9a414225e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT022.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3827 Subject: [dpdk-stable] patch 'config/ppc: ignore GCC 11 psabi warnings' has been queued to stable release 20.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/c3672a36e6fdf7cc3402ea2ce3c475df0d645c2b Thanks. Xueming Li --- >From c3672a36e6fdf7cc3402ea2ce3c475df0d645c2b Mon Sep 17 00:00:00 2001 From: David Christensen Date: Thu, 2 Sep 2021 16:53:26 -0700 Subject: [PATCH] config/ppc: ignore GCC 11 psabi warnings Cc: Xueming Li [ upstream commit 394407f50c90ca3ce4b882aefb9e26eae4ba6bca ] Suppress the gcc warning "note: the layout of aggregates containing vectors with 4-byte alignment has changed in GCC 5" on POWER systems by setting "-Wno-psabi". Warning was originally added to gcc in commit https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9832651 to warn of the vector alignment changes introduced in GCC 5. Older gcc versions forced vector alignment to 16 bytes due to requirements for POWER 6 and earlier CPUs, but these restrictions don't apply to CPUs supported by DPDK. Bugzilla ID: 739 Signed-off-by: David Christensen --- config/ppc/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/ppc/meson.build b/config/ppc/meson.build index ed6ea07d24..bea72f86b5 100644 --- a/config/ppc/meson.build +++ b/config/ppc/meson.build @@ -1,5 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Luca Boccassi +# Copyright(c) 2021 IBM Corporation if not dpdk_conf.get('RTE_ARCH_64') error('Only 64-bit compiles are supported for this platform type') @@ -17,6 +18,13 @@ if not power9_supported dpdk_conf.set('RTE_MACHINE','power8') endif +# Suppress the gcc warning "note: the layout of aggregates containing +# vectors with 4-byte alignment has changed in GCC 5". +if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0') and + cc.version().version_compare('<12.0') and cc.has_argument('-Wno-psabi') + add_project_arguments('-Wno-psabi', language: 'c') +endif + # Certain POWER9 systems can scale as high as 1536 LCORES, but setting such a # high value can waste memory, cause timeouts in time limited autotests, and is # unlikely to be used in many production situations. Similarly, keeping the -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:02.886643807 +0800 +++ 0017-config-ppc-ignore-GCC-11-psabi-warnings.patch 2021-11-10 14:17:01.754080379 +0800 @@ -1 +1 @@ -From 394407f50c90ca3ce4b882aefb9e26eae4ba6bca Mon Sep 17 00:00:00 2001 +From c3672a36e6fdf7cc3402ea2ce3c475df0d645c2b Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 394407f50c90ca3ce4b882aefb9e26eae4ba6bca ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org @@ -24 +26 @@ -index adf49e1f42..0b1948fc7c 100644 +index ed6ea07d24..bea72f86b5 100644 @@ -33 +35 @@ - error('Only 64-bit compiles are supported for this platform type') + error('Only 64-bit compiles are supported for this platform type') @@ -35 +37 @@ - dpdk_conf.set('RTE_MACHINE','power8') + dpdk_conf.set('RTE_MACHINE','power8')