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 C97C0428F8 for ; Sun, 9 Apr 2023 17:46:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1249410EF; Sun, 9 Apr 2023 17:46:01 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2060.outbound.protection.outlook.com [40.107.237.60]) by mails.dpdk.org (Postfix) with ESMTP id D5A6C40141 for ; Sun, 9 Apr 2023 17:45:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GlvqafhnO9d3uXy5Qm+fxtA+0GVK8ntb7zAjbG6tMs1VwR4EOUoLsSmQdgFzcKiq8xaQ6OOF3neRVNvT9y51xKJsD6io669YS6amNf6AAEUqLttZ3uZFdLRMk+6psg/wbs6Ff8kUSocEGNZ0cA+rmPwNfEjLELTZMEX1qicDq/bnOzjrTDVC7VPl0on8yBZJ8qCd2ydIdvLrS48zLhUS5Vq7wDsUWLegsUA0vYxcnlJp43O6Nkv8VC+7H8j6d/dNXvNQTlFz1tRrKk/oYud8iFxqvJiu2m2eV/mrobcFqWh0pX99vHg5n/4gt6duXDf1goT28+3bKn6ZTXeyFLnmsA== 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=D5yxjW15iYSREQm4AjjjKciDhNmv05trtrryzr/inbQ=; b=iSWcf6tQeHQ1WtMc9WjgDmwbDrlue+Z527WDyk4r8iNFhFBRAWo91wkUmkzw1eDePAULR2BtdL+jCyXSmdb/grtv4/FuXGCZVFG9XDiWl3uq0xoqdgLjFhiIFRT50pqVkA2xV+xsBCoRJ11bja+mwSvgCtoliAREYHQte7jvekloo7W988eEm8KECsFy3zGdxzZjYbw9ObAdr2YKIdUxxkyuBo8APYkBWNmMKGEn4ZnSPjeuZLRrQ6s3djAfBoFP4OTtjWiuzxqjaBWTz9JofXS6tUffIPXwzqZ/98pLHFtohVG9jlEN3jvgNwV4rpVoOheCsLtLHIS8GEeVJWFKmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=gmail.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=D5yxjW15iYSREQm4AjjjKciDhNmv05trtrryzr/inbQ=; b=owaYqKiq6tyXdQumt8i/7ZziWWyD1DQNWCLq0/c7nH7MwdeX9nWEH5jp8MhM2h2PiiryrrkNS2gKIQq6qmXfzGLJ3l5uU58/aFwTuPhGANM4mfm+nWZG62U8UUykyHz+2v/oAPcrf7O9UGI5cnlPn9UHzN6JkNCn1r/fx6ziA6OhN/DDNpANg2oU7odQ8qQN5p1g0cH84aoflrdzZjnxVUneuLiHEaUHVPH4m5D6D9ij1owtFYKbbdlHBXaiUEdrI3OGcmM6HFOX9sPMC57Jr8mk1jkkcH/eZ27k95UBkGAKd8ox+D/gG8hCy/qjZ3nk2khs/WomxpHfV0C75tghMg== Received: from MW4PR04CA0288.namprd04.prod.outlook.com (2603:10b6:303:89::23) by LV2PR12MB5895.namprd12.prod.outlook.com (2603:10b6:408:173::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Sun, 9 Apr 2023 15:45:57 +0000 Received: from CO1NAM11FT083.eop-nam11.prod.protection.outlook.com (2603:10b6:303:89:cafe::fc) by MW4PR04CA0288.outlook.office365.com (2603:10b6:303:89::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35 via Frontend Transport; Sun, 9 Apr 2023 15:45:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT083.mail.protection.outlook.com (10.13.174.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.25 via Frontend Transport; Sun, 9 Apr 2023 15:45:57 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 9 Apr 2023 08:45:46 -0700 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 9 Apr 2023 08:45:45 -0700 From: Xueming Li To: Dmitry Kozlyuk CC: Boris Ouretskey , Isaac Boukris , dpdk stable Subject: patch 'doc: add Linux capability to access physical addresses' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:45:29 +0800 Message-ID: <20230409154530.7780-3-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409154530.7780-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409154530.7780-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT083:EE_|LV2PR12MB5895:EE_ X-MS-Office365-Filtering-Correlation-Id: 89189cb3-228a-46aa-6589-08db391182a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ijL75CvurDF/xgX/gGW4+7Cf/aRQJYjQNdQiWUDhkTM+dUBxgtyztTG8YXvlGYc7Cfkqu0omioyBRfhS81LEVfK0/4t4bw97KgTnLYhhCbbTUNQlEfV2KGogWfLZZQKWNht9mYloA0k8IEA/k5FUQ44IkjivH8wl+aIH/KhIQ1X1EusLbT85K1UsPPUpKB30HshkMPUvzyKiyNXqyPTROLyDrndBMrIsQoAoydXmvUiZs281noZC8mHdTubLU7b1YbUfXR/ZP67Naat5OuJIpDqIZ1Vzmh3m/c9U9j7QFcm/nwd3YzEp8BIqb1NKYfWdP0h8FCdStkMb4wwQasPxmskW4yMVHFyTzVxdA3ojo2fp3HL/Yp3Ytmfvbe82FyxdHIlBJSvHUxvvYVruyoBM4QJTaCGbrVs0fK5wCt5Hsr8Sws8ysRiqzFzqEzJP+keEW+CXH/o67br8QszwKHuNE/kCVQGq+lPCY/kLAVGjSThW9iRAjPZTLHMAgXKpP9MS0oP8kau6iRh9YdR6hfYJB7CwUqC5S/qFMSjkFlsKAfX70aBZ/57ejTl+VrpmRdmtcjj2+5pJCye84M+bTNGlDixzFK+X6TEsdBKb5/obTgTIN2BxiyWUVM3yimJ2xuYjnEbA/pzMjcRWs5ZlcSDtMx27MejsMZZz19tMnlNI4bOkw4DFjdwbtdJvUZPi8/c5bO8QLAeFluuI2vJtIYfskhVjfk8zXLThnrHafvVCCo+lqFprQ9/KGvVHdMatPjRWjTpmfZxxVYe4G4A8DBbnq+TazRsoTCGsRZIGiil5+Us= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(396003)(136003)(376002)(346002)(39860400002)(451199021)(46966006)(36840700001)(55016003)(6666004)(8936002)(7696005)(40480700001)(966005)(5660300002)(86362001)(70586007)(70206006)(8676002)(6916009)(4326008)(478600001)(316002)(82310400005)(36860700001)(82740400003)(7636003)(356005)(54906003)(2906002)(53546011)(1076003)(26005)(2616005)(83380400001)(66574015)(47076005)(426003)(336012)(41300700001)(36756003)(186003)(16526019)(6286002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:45:57.0337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89189cb3-228a-46aa-6589-08db391182a1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT083.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5895 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 Hi, FYI, your patch has been queued to stable release 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/11/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/d4dc7b1d1b751d30e2bef01ca8df7d8b2e626fd5 Thanks. Xueming Li --- >From d4dc7b1d1b751d30e2bef01ca8df7d8b2e626fd5 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlyuk Date: Fri, 20 Jan 2023 00:24:24 +0300 Subject: [PATCH] doc: add Linux capability to access physical addresses Cc: Xueming Li [ upstream commit 50b567c66da268bcc7206dab92f690148d57ad8f ] DAC_READ_SEARCH or DAC_OVERRIDE capability is required to access /proc/self/pagemap, but the Linux guide mentioned neither one. Recommend DAC_READ_SEARCH as less impactful. Fixes: 979bb5d493fb ("doc: add more instructions for running as non-root") Reported-by: Boris Ouretskey Reported-by: Isaac Boukris Signed-off-by: Dmitry Kozlyuk --- .mailmap | 2 ++ doc/guides/linux_gsg/enable_func.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.mailmap b/.mailmap index c09043056c..5dc95a9d07 100644 --- a/.mailmap +++ b/.mailmap @@ -169,6 +169,7 @@ Björn Töpel Bo Chen Boleslav Stankevich Boon Ang +Boris Ouretskey Boris Pismenny Brandon Lo Brendan Ryan @@ -528,6 +529,7 @@ Ilya Maximets Ilya V. Matveychikov Ilyes Ben Hamouda Intiyaz Basha +Isaac Boukris Itsuro Oda Ivan Boule Ivan Dyukov diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst index 829084d80e..2344d97403 100644 --- a/doc/guides/linux_gsg/enable_func.rst +++ b/doc/guides/linux_gsg/enable_func.rst @@ -55,12 +55,12 @@ Refer to the `documentation + setcap cap_dac_read_search,cap_ipc_lock,cap_sys_admin+ep If physical addresses are not accessible, the following message will appear during EAL initialization:: -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:42.349381500 +0800 +++ 0140-doc-add-Linux-capability-to-access-physical-addresse.patch 2023-04-09 21:45:38.819042200 +0800 @@ -1 +1 @@ -From 50b567c66da268bcc7206dab92f690148d57ad8f Mon Sep 17 00:00:00 2001 +From d4dc7b1d1b751d30e2bef01ca8df7d8b2e626fd5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 50b567c66da268bcc7206dab92f690148d57ad8f ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index cac02a6f48..0859104404 100644 +index c09043056c..5dc95a9d07 100644 @@ -25 +27 @@ -@@ -171,6 +171,7 @@ Björn Töpel +@@ -169,6 +169,7 @@ Björn Töpel @@ -33 +35 @@ -@@ -534,6 +535,7 @@ Ilya Maximets +@@ -528,6 +529,7 @@ Ilya Maximets