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 2D9C14550F; Thu, 27 Jun 2024 23:12:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9FC440E2C; Thu, 27 Jun 2024 23:12:08 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E53240E2A for ; Thu, 27 Jun 2024 23:12:07 +0200 (CEST) Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45RKucEI002451; Thu, 27 Jun 2024 21:12:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=pp1; bh=L R1TlvhT8i4QDRVIOlyG9lG5Bksl5HDyrk8OkW2PW7w=; b=FFqmZxzwwi4bqv6kc 5MkFvu7hXmkwAV5iwuatS/FLBt3eCN0xLy28GeTiCS1+PkGnb6GixwPyT7UudQTS kDi2Doopm7aJoaepop5PYeODnWdeoL9mq91gIhIEsYIZ86HNgmaWW1e6x+BwbqeG HDDeyGdSzJbdwh82TZJzcfSWTELaqkRVMSNRLWA5kVr//EEXRq4i9NcsDou84IS0 xlH2VV8TBIMthwS8XTWIPmLzpyHXbMa6StOVPq250rjgMmqKGWJY9eGqylk6JUwD +5E8/3YtixwaQB5wFXf+bXyPoH9u0N9njIInSVpdP0MPs2dO1JSRbsRtmQG7jb/1 vmrEQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 401f5482uq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jun 2024 21:12:03 +0000 (GMT) Received: from m0353729.ppops.net (m0353729.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45RLC2kZ025887; Thu, 27 Jun 2024 21:12:02 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 401f5482up-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jun 2024 21:12:02 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45RK8Q4G000402; Thu, 27 Jun 2024 21:12:01 GMT Received: from smtprelay07.wdc07v.mail.ibm.com ([172.16.1.74]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yxbn3mgv1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jun 2024 21:12:01 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay07.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45RLBwOR26149552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 27 Jun 2024 21:12:01 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D12905805A; Thu, 27 Jun 2024 21:11:58 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 29E935805F; Thu, 27 Jun 2024 21:11:58 +0000 (GMT) Received: from [9.61.6.100] (unknown [9.61.6.100]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTPS; Thu, 27 Jun 2024 21:11:58 +0000 (GMT) Message-ID: <81a9db62-18db-4bbc-a27b-a941d9c55016@linux.ibm.com> Date: Thu, 27 Jun 2024 14:11:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] eal: verify mmu type for DPDK support (ppc64le) To: David Christensen , thomas@monjalon.net, Ruifeng Wang , Tyler Retzlaff , Bruce Richardson , Min Zhou , Stanislaw Kardach , Konstantin Ananyev Cc: dev@dpdk.org References: <20231130191844.612699-1-drc@linux.vnet.ibm.com> <20240529183222.105731-1-drc@linux.vnet.ibm.com> Content-Language: en-US From: David Christensen In-Reply-To: <20240529183222.105731-1-drc@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: JUipfoXO7dUc-U3gp0O-dXooclwWkVTO X-Proofpoint-GUID: ilzQ57C3OQtD3rGC-vMqbMvyeOzwdD-T X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-27_14,2024-06-27_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxscore=0 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 spamscore=0 adultscore=0 mlxlogscore=453 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406270155 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 On 5/29/24 11:32 AM, David Christensen wrote: > IBM POWER systems support more than one type of memory management unit > (MMU). The Power ISA 3.0 specification, which applies to P9 and later > CPUs, defined a new Radix MMU which, among other things, allows an > anonymous memory page mapping to be converted into a hugepage mapping > at a specific address. This is a required feature in DPDK so we need > to test the MMU type when POWER systems are used and provide a more > useful error message for the user when running on an unsupported > system such as P8/P9 on PowerVM. > > All architectures other than ppc64le unconditionally report that the > MMU is supported. When running with ppc64le on Linux, the MMU is > tested and the actual result is returned, while running with ppc64le > on FreeBSD unconditionally reports that the MMU is supported to avoid > unnecessary breakage until an actual test can be implemented for that > environment (i.e. keeps existing behavior without the patch). > > Bugzilla ID: 1221 Any chance I'll receive a review for this patch in this release cycle or should I go ahead and mark the Bugzilla as will not address? Dave