From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C79BCD711D5 for ; Mon, 22 Dec 2025 05:58:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2D2E26B008A; Mon, 22 Dec 2025 00:58:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2AAE26B008C; Mon, 22 Dec 2025 00:58:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1ADB76B0092; Mon, 22 Dec 2025 00:58:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 0B7576B008A for ; Mon, 22 Dec 2025 00:58:16 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C90F013BFB3 for ; Mon, 22 Dec 2025 05:58:15 +0000 (UTC) X-FDA: 84246051750.27.8EC9C9E Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf03.hostedemail.com (Postfix) with ESMTP id 6566020011 for ; Mon, 22 Dec 2025 05:58:13 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=cWL4iAVT; spf=pass (imf03.hostedemail.com: domain of sourabhjain@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=sourabhjain@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1766383093; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=X5EzYw+0qS6x7IrbJAsEhyBmKheOYvSaiiPnOy2Yisc=; b=Da3+0ETRFR2gyIIL3qDcHC1P4NeXXCNmltqFH/7VnAvl9mmk/gtnTpJuGH/H0B4/4URdNo sxuujxD6TmTkK6kWdC5lAK5t38U0vuq9T45v6MEC94Tb8pgtBfrwrXpGCP78gyZ4v6CUd2 OGeEmOhQzYAtadvvOaw8FyCxkGzMpm0= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=cWL4iAVT; spf=pass (imf03.hostedemail.com: domain of sourabhjain@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=sourabhjain@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1766383093; a=rsa-sha256; cv=none; b=i7KiBee/V/0UElUeeZpdhZF6ei+05KKMbzEWNrdqIcWY+gHNGcR2ZwM6Yl2URKcv/uuQ1i lm1QYlt9gN5VvhjxXG74LUooiRIIPGKm2k6K3FIJMpL916sPZlLs62qP223/6fpQxgtHrQ Zts4nbERf5U9NQpPKq5QjSvW3NMeMOE= Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5BLMhAvZ015053; Mon, 22 Dec 2025 05:57:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=X5EzYw +0qS6x7IrbJAsEhyBmKheOYvSaiiPnOy2Yisc=; b=cWL4iAVTUeG+ss+exyWDmA jq1KKOYYvyzpMuLMuIP52jZXxEB+i2/nFwWl2aqwXGPcKuT5lrYrshqrVZ7UiKEc 2pMrlDC0iCfzng+RqQ+BQBMl4Muv/w+2xK6/5Zmdyj9d9Zv7VAiePHkWEz+5Zf1r ExZilm2QakhmCC7YUerpE9rikXFyzHPYjsb3tjaQiFpxBPsT6cGwJd2vhzQnHyaX RK/U0LeWaRiFrM8WVvQ1iJ+txWE4ZMRPl8PQK1rcCeUU75YDWOqJ7aHYDrbLkHqA HaKMjOLoqT7wsIZF8YQwZGC2v0JWLFxpZatC3QUQuvDEaU42T3ZR73t8oKUR9TzQ == Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4b5ketp63e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:45 +0000 (GMT) Received: from m0360072.ppops.net (m0360072.ppops.net [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.0.8) with ESMTP id 5BM5vbec022706; Mon, 22 Dec 2025 05:57:45 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4b5ketp637-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:44 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 5BM4BkcY001099; Mon, 22 Dec 2025 05:57:44 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4b664s4ngg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:44 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 5BM5vc8m50397562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Dec 2025 05:57:38 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 129FC20043; Mon, 22 Dec 2025 05:57:38 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC49620040; Mon, 22 Dec 2025 05:57:33 +0000 (GMT) Received: from [9.124.208.188] (unknown [9.124.208.188]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 Dec 2025 05:57:33 +0000 (GMT) Message-ID: <16fef7a5-6853-4a6f-8d27-e005fa351eb7@linux.ibm.com> Date: Mon, 22 Dec 2025 11:27:32 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6] mm/hugetlb: ignore hugepage kernel args if hugepages are unsupported To: "Ritesh Harjani (IBM)" , "David Hildenbrand (Red Hat)" , Andrew Morton Cc: Borislav Petkov , Christophe Leroy , Heiko Carstens , Ingo Molnar , Madhavan Srinivasan , Michael Ellerman , Muchun Song , Oscar Salvador , Thomas Gleixner , Vasily Gorbik , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, x86@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20251221053611.441251-1-sourabhjain@linux.ibm.com> <87a4zcml36.ritesh.list@gmail.com> <655cc605-2ce1-4ccb-8cc0-a0a31a9c89fd@kernel.org> <87fr93ky5i.ritesh.list@gmail.com> Content-Language: en-US From: Sourabh Jain In-Reply-To: <87fr93ky5i.ritesh.list@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: HO9Y3xTMJbvw0LSrOOB0LjX7yn-FHs35 X-Authority-Analysis: v=2.4 cv=Qdxrf8bv c=1 sm=1 tr=0 ts=6948ddd9 cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=yPCof4ZbAAAA:8 a=L2GzoeH3I7b4KdntMNgA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: 9hic2OIlQ0QN3dNT0_DvKxFRKKtPor_n X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MCBTYWx0ZWRfXx8qB1vId+1x7 WH+r8WETKkHWnVlj5bSDn+RRQbheu8D+YozSZTmQKwmrjFw76JydBoKwfMEnznwRLC8VZsqpMmF JrIFwmXM4HYSApxOkQsp8Sa4PXCgxgdk4M9LmuzDtuT6eso3k5Zyr9Po0TKilPVlNAkWKc4mDxt s38D3+6/KI1g3ppSW6jCBeOP4WGzKWHSWOjxSZ1ulIB3pmhciF6IzgCtYBR0lA+4jjS5HZAdHoi PJzKZkaf2yC3Hc22u+yyjbH/2jfyowsSQys6UrvqFL+nUT0ksKtGCdHSg2bdxv+kAWaDjvMrGSg afs4DZ4ft8OZRZC72sIg6tVq0vIab+Pu+8RWF6/iwA7tGIekzrvl66XqgKlWG+/c0+tDqqOCq+0 CuT3KaT27TXnbbej7xlc2ZEkDq6rB0Bpc2RXeqkCD1zWNDURuE5sSlLgU0mhPvquLuVDXDh5/fd fTtWNz5S/Yd1xpQGjOg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 phishscore=0 impostorscore=0 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2512120000 definitions=main-2512220050 X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 6566020011 X-Stat-Signature: 6zakhkbzihpuf9rdf6794fibjkmb9q6i X-HE-Tag: 1766383093-544302 X-HE-Meta: U2FsdGVkX1+hwGwMWiSQFnc+4omIr6nQQ0IrCsZwjWE5ueIsIa8gQ85ZOA9lQORpC6wq5pR5ONYe07JtMSi53bcl5pItLp1VY5CJVM0hLnvS0Wzka5FZH7ALNKWiWgsuftYbquEA4/yqRamnmXhB+TCAxlzQs/P+rKy0TwWgF7tI8cPdiINSBL0YAlvVShQPntmz8MW97hoisvu9oi0smWPxv6SVs3mRviZqu98cOdZhkekueYnZPVfthFy74nK71QsG5D/ryHhSVrRhOP04yMBlexjGC/+PzLX/p5RRKCz4/y0+rRSsuKrUr/5JKYQxF5lrdpo3tHdKEln/bbfBAxBZsOBfjkYn7eTQx54XrfRMsJN+FVboqoRAGoQX3YdqMYh8nw1H6MCE0eauKIGEyPs8Kww18m2yyaKDiZX6h5LSGpU5pspB3m+LXcBzqRLn1pqcLwBU1dIaZ1fQZYQGgqznpRC59yCVG/CbJn9DkNmb7ZaZ/dh81wrjyw2RPKba4L6Gj4uwMhT59WKOlYSUKE3xpEDFAuZVYT4eXt44IELaADL36fkFTp2vCI8m9+meLYQhZ/2XhQfIjWx0GdmZrF04rx8eHTrdw/zR7l0Xokqd5QSgXbbMdQTQagwjgisN6gsQybYM8Ab5HiMRNCc3z7L+MsvI/yaOxoCFofZIr4OYaWIRtvmuie8hLVGU1pDo2FfdUYrYVgtn7AQYZKT+O3FQaf37qmnb+KDFrF+9AxKA6xBoCnjgeWXmmHmWh15vg5PsODrDQze3nZLpD3QwOnHD07NlW5ak9hpU3GDAoVbyDy87k4pITA6fnzTNg+1UglIzo5NjPP3HnrZ1DGm20o5ib16xfPT6G+KIyrUFtzrRL2htAYB0Fa35JZwIQ15nRqDV+SI+0TTTfXDoYefPklwkFXpJ6onv9Wa+rDDx1nw+2okAR3RU8xA2tLBtMLe3QMsZjSLIqa2Kwo9zp5Y lztEJopp zNA6cc0A3h50/pg/TMWuJGFF/xfLmYMLmcZYdhqK9nb2g4HO0nRQXNa9nT5nAClOv4ET0xMfsGsEFEcaSuFz6TwxM7zYZDxQ4Uqsz5JrVfg4vKp9eJ9t8YiGaUrAQ1yx1/9toSTDZRcsAp81SpWIdOIXmCpA4DHLhyQVewcM9kdSPmu4H/q3o7PWROKqW/Sv/WWRTR6YnIf2oe73jJq4p72WIHcm8uml1WHlnRmBN/kLUAaqpPn6MbWv9nkriapmFlrRrFd0g+/esGv6bPJdPoh/Gb6vRI60QlFYoAEK0pdln7cB0FGlxnO9fOYSY+qcx45PmeEIIqz8U2Q8vs1FO2f/UT6/eYBKh8dh2BRNxXxIAyGsV+Mn+AGrgZZ6RAcWQN3ON7ORT0OZgfLQH8mQP4KUbpBs3ruJwWQAK6Zl3mjzyKCnPG+9maRz/OYW0yE+zG9h+mRYytZdAN05nSgCz1+0uJw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On 22/12/25 08:42, Ritesh Harjani (IBM) wrote: > "David Hildenbrand (Red Hat)" writes: > >>> Coming back to the fixes tag. I did mention a bit of a history [2] of >>> whatever I could find while reviewing this patch. I am not sure whether >>> you have looked into the links shared in that email or not. Here [2]: >>> >>> [2]: https://lore.kernel.org/linuxppc-dev/875xa3ksz9.ritesh.list@gmail.com/ >>> >>> Where I am coming from is.. The current patch is acutally a partial >>> revert of the patch mentioned in the fixes tag. That means if this patch >>> gets applied to the older stable kernels, it would end up bringing the >>> same problem back, which the "Fixes" tagged patch is fixing in the 1st >>> place, isnt' it? See this discussion [3]... >>> >>> [3]: https://lore.kernel.org/all/b1f04f9f-fa46-c2a0-7693-4a0679d2a1ee@oracle.com/T/#m0eee87b458d93559426b8b0e78dc6ebcd26ad3ae >>> >>> ... So, IMO - the right fixes tag, if we have to add, it should be the >>> patch which moved the hpage_shift initialization to happen early i.e. in >>> mmu_early_init_devtree. That would be this patch [4]: >>> >>> [4]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2354ad252b66695be02f4acd18e37bf6264f0464 >>> >>> Now, it's not really that the patch [4] had any issue as such. But it >>> seems like, that the current fix can only be applied after patch [4] is >>> taken. >>> >>> Do we agree? >> I think we should document all that in the cover letter, an describe >> that this partial revert is only possible after [4], > Yes, I agree. Let's add the above details in the commit msg. > >> and that that must >> be considered when attempting any kind of stable backports. > Sure. I would prefer if we change the Fixes tag to the one which I > pointed in above [4] (with explaination in the commit msg). However I am > still ok if we would like to retain the existing fixes tag and show [4] > as a dependency. I think we should keep the current Fixes tag with an explanation for dependency on [1] in the commit message. Would anyone have a different view? [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2354ad252b66695be02f4acd18e37bf6264f0464 - Sourabh Jain From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75C0EE6748D for ; Mon, 22 Dec 2025 05:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1SiuSCJxhBkjPCvhoUMq83HE3L2VDeGoRRl0tZ2Z25E=; b=K6lf2iw8LQ/Kat ipdHh+moxFgBTTSVrImn9dK1PgfejsQsWhRGELVaNkr4N/COLUoIAyGVz2Q3yHeNkffCDTL8fuiF/ jJkFw2x5KFhAx41ktIVVRTDRfTys+nuPFCE8ZokCHpj9AfnYo+IR+3GnTTfPBxsvIkUZVOEOAE4X8 PZuOMedIAe6CQyM/mttvTePgareAPVQdKgGpgmJ8ud4MlsNIhn/AOaml5c565MAOu+hGARHlUwvn3 a7dNatjnnNi8O8YtCjebwDRmVp5gAnL4wLPt2TfilFbkSUQuDszDgcheDcgtj1+K0dmT37jsc/65G MaUf6+ArFf4B4NISD8Vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vXYwW-0000000DD5O-10u1; Mon, 22 Dec 2025 05:58:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vXYwU-0000000DD4s-3UyN for linux-riscv@bombadil.infradead.org; Mon, 22 Dec 2025 05:58:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=X5EzYw+0qS6x7IrbJAsEhyBmKheOYvSaiiPnOy2Yisc=; b=neyRxQQwvothcu0X38k0wWjoJv 5MtiYqE8kQOssLR0ENiaCCA0O+00HbnYgXnbYi/IlvWUvjMU6kVCakULcDHgRLnuxuMMaRnzMDjM1 YZ8sqvHVeBZNr4aNnF9WPtQxgguwvj1dLtu2NKBkNFTbKc7D2+NiPSUPoZ6rKM6qEwxisG74APrC2 5iES3vnJH0Lm2DsLsGlsovCt0tPMpNFpGRFvoNeHwLS5+4in2Z/WHN6wxboQNjOY9EhPSFoRM8IJ+ /MNvVXKl3je78WH4cNE5OKdFWvcOeeq0AvhiEGzagAIW/Tid9xt7GYmoue74ZFYO3NSkOVuK+0U6w DPiLqqnA==; Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vXY4z-0000000EOVb-2ZPV for linux-riscv@lists.infradead.org; Mon, 22 Dec 2025 05:03:36 +0000 Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5BLMhAvZ015053; Mon, 22 Dec 2025 05:57:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=X5EzYw +0qS6x7IrbJAsEhyBmKheOYvSaiiPnOy2Yisc=; b=cWL4iAVTUeG+ss+exyWDmA jq1KKOYYvyzpMuLMuIP52jZXxEB+i2/nFwWl2aqwXGPcKuT5lrYrshqrVZ7UiKEc 2pMrlDC0iCfzng+RqQ+BQBMl4Muv/w+2xK6/5Zmdyj9d9Zv7VAiePHkWEz+5Zf1r ExZilm2QakhmCC7YUerpE9rikXFyzHPYjsb3tjaQiFpxBPsT6cGwJd2vhzQnHyaX RK/U0LeWaRiFrM8WVvQ1iJ+txWE4ZMRPl8PQK1rcCeUU75YDWOqJ7aHYDrbLkHqA HaKMjOLoqT7wsIZF8YQwZGC2v0JWLFxpZatC3QUQuvDEaU42T3ZR73t8oKUR9TzQ == Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4b5ketp63e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:45 +0000 (GMT) Received: from m0360072.ppops.net (m0360072.ppops.net [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.0.8) with ESMTP id 5BM5vbec022706; Mon, 22 Dec 2025 05:57:45 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4b5ketp637-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:44 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 5BM4BkcY001099; Mon, 22 Dec 2025 05:57:44 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4b664s4ngg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Dec 2025 05:57:44 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 5BM5vc8m50397562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Dec 2025 05:57:38 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 129FC20043; Mon, 22 Dec 2025 05:57:38 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC49620040; Mon, 22 Dec 2025 05:57:33 +0000 (GMT) Received: from [9.124.208.188] (unknown [9.124.208.188]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 Dec 2025 05:57:33 +0000 (GMT) Message-ID: <16fef7a5-6853-4a6f-8d27-e005fa351eb7@linux.ibm.com> Date: Mon, 22 Dec 2025 11:27:32 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6] mm/hugetlb: ignore hugepage kernel args if hugepages are unsupported To: "Ritesh Harjani (IBM)" , "David Hildenbrand (Red Hat)" , Andrew Morton Cc: Borislav Petkov , Christophe Leroy , Heiko Carstens , Ingo Molnar , Madhavan Srinivasan , Michael Ellerman , Muchun Song , Oscar Salvador , Thomas Gleixner , Vasily Gorbik , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, x86@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20251221053611.441251-1-sourabhjain@linux.ibm.com> <87a4zcml36.ritesh.list@gmail.com> <655cc605-2ce1-4ccb-8cc0-a0a31a9c89fd@kernel.org> <87fr93ky5i.ritesh.list@gmail.com> Content-Language: en-US From: Sourabh Jain In-Reply-To: <87fr93ky5i.ritesh.list@gmail.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: HO9Y3xTMJbvw0LSrOOB0LjX7yn-FHs35 X-Authority-Analysis: v=2.4 cv=Qdxrf8bv c=1 sm=1 tr=0 ts=6948ddd9 cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=yPCof4ZbAAAA:8 a=L2GzoeH3I7b4KdntMNgA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: 9hic2OIlQ0QN3dNT0_DvKxFRKKtPor_n X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MCBTYWx0ZWRfXx8qB1vId+1x7 WH+r8WETKkHWnVlj5bSDn+RRQbheu8D+YozSZTmQKwmrjFw76JydBoKwfMEnznwRLC8VZsqpMmF JrIFwmXM4HYSApxOkQsp8Sa4PXCgxgdk4M9LmuzDtuT6eso3k5Zyr9Po0TKilPVlNAkWKc4mDxt s38D3+6/KI1g3ppSW6jCBeOP4WGzKWHSWOjxSZ1ulIB3pmhciF6IzgCtYBR0lA+4jjS5HZAdHoi PJzKZkaf2yC3Hc22u+yyjbH/2jfyowsSQys6UrvqFL+nUT0ksKtGCdHSg2bdxv+kAWaDjvMrGSg afs4DZ4ft8OZRZC72sIg6tVq0vIab+Pu+8RWF6/iwA7tGIekzrvl66XqgKlWG+/c0+tDqqOCq+0 CuT3KaT27TXnbbej7xlc2ZEkDq6rB0Bpc2RXeqkCD1zWNDURuE5sSlLgU0mhPvquLuVDXDh5/fd fTtWNz5S/Yd1xpQGjOg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 phishscore=0 impostorscore=0 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2512120000 definitions=main-2512220050 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251222_050334_491322_2929615A X-CRM114-Status: GOOD ( 20.97 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 22/12/25 08:42, Ritesh Harjani (IBM) wrote: > "David Hildenbrand (Red Hat)" writes: > >>> Coming back to the fixes tag. I did mention a bit of a history [2] of >>> whatever I could find while reviewing this patch. I am not sure whether >>> you have looked into the links shared in that email or not. Here [2]: >>> >>> [2]: https://lore.kernel.org/linuxppc-dev/875xa3ksz9.ritesh.list@gmail.com/ >>> >>> Where I am coming from is.. The current patch is acutally a partial >>> revert of the patch mentioned in the fixes tag. That means if this patch >>> gets applied to the older stable kernels, it would end up bringing the >>> same problem back, which the "Fixes" tagged patch is fixing in the 1st >>> place, isnt' it? See this discussion [3]... >>> >>> [3]: https://lore.kernel.org/all/b1f04f9f-fa46-c2a0-7693-4a0679d2a1ee@oracle.com/T/#m0eee87b458d93559426b8b0e78dc6ebcd26ad3ae >>> >>> ... So, IMO - the right fixes tag, if we have to add, it should be the >>> patch which moved the hpage_shift initialization to happen early i.e. in >>> mmu_early_init_devtree. That would be this patch [4]: >>> >>> [4]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2354ad252b66695be02f4acd18e37bf6264f0464 >>> >>> Now, it's not really that the patch [4] had any issue as such. But it >>> seems like, that the current fix can only be applied after patch [4] is >>> taken. >>> >>> Do we agree? >> I think we should document all that in the cover letter, an describe >> that this partial revert is only possible after [4], > Yes, I agree. Let's add the above details in the commit msg. > >> and that that must >> be considered when attempting any kind of stable backports. > Sure. I would prefer if we change the Fixes tag to the one which I > pointed in above [4] (with explaination in the commit msg). However I am > still ok if we would like to retain the existing fixes tag and show [4] > as a dependency. I think we should keep the current Fixes tag with an explanation for dependency on [1] in the commit message. Would anyone have a different view? [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2354ad252b66695be02f4acd18e37bf6264f0464 - Sourabh Jain _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv