Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp701713rwb; Wed, 14 Dec 2022 01:29:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7sN+buQGltKJu0qWpkUO1sNpZosroqG/KPJpq8m6I13S5rHIL0RH/yVAcS1LMDllLYboeo X-Received: by 2002:a17:906:b181:b0:7c1:65f7:18d8 with SMTP id w1-20020a170906b18100b007c165f718d8mr12734974ejy.60.1671010145330; Wed, 14 Dec 2022 01:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671010145; cv=none; d=google.com; s=arc-20160816; b=K5isW7LJfRfTnho4T74zqzOcX6YeWwMRoOZHVgNnKkEY1jeP/q+CcW0EZfnvnkRBtp mE2U1DrQxe4RSfaEKPjZYU/oONaCjfO+K7ehBrbejY5d8OOykigK6DHB1OYuMd7Bry4D JQQQi28pwDDpebOO4CnhXEyWxGldI4dHINUhXQ+b//U2VFGN13cbj1OkLMwpA/rLt0t+ obZTdFwhFiVsfA6ZCDkCA2fSEUNDh7tXYQWHrnqvxt1F9BQazJqbQJ4+A+SB6q+rxp+e q7L99ekyKGv7DlH/9EzK/N76EHKvpXLnzhnnByySe6jQRMRrkOucClES6FL7+4DfwCTv rOhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TaKoUOeTGRwlzCtidKIq7LbHam8H49FcW68eZiX44h0=; b=XSG1y3O1aqOZUDmX+vaxP22kbXoNbvasMaZ+rnPVm97Rkmkk2etoAf80mfiEr6sFyP TTxuOjLW3/VX+JRrAqGYGgdtQXsaowe2O+t0ZDi/UynK6q0qoX6PhyuVR7pA4tmjjb2Y AH7xup0YtOsUiKDdxPXuEeOdKKJDyU61WpQ4mZarZPCwTJw4jkHJGdUJE4JLNi21ev9s twBgxzxHOHxZbGTy5p6+A7oj5YfvhTlNuU/WbarPuyONrWkXoofs3l5k40qsS1rZF1IT w0Jm6F5WarkyMmXTG9ZYINwn9Dw8jy29pnyx2bryQbNnj+nb8ExlignkbjdT/jjufg6i la0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0drlkZO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a17090651cc00b007ae9abf1994si8988444ejk.837.2022.12.14.01.28.48; Wed, 14 Dec 2022 01:29:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0drlkZO2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237723AbiLNIwT (ORCPT + 70 others); Wed, 14 Dec 2022 03:52:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237180AbiLNIwS (ORCPT ); Wed, 14 Dec 2022 03:52:18 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67BE91901E for ; Wed, 14 Dec 2022 00:52:17 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 296BAB810FA for ; Wed, 14 Dec 2022 08:52:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74295C433D2; Wed, 14 Dec 2022 08:52:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1671007934; bh=a44KHZV5ozazTqhTJY1VPwLhc0YsMskNoT1I+bEyLx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0drlkZO2dW/NQunugXLcGkykNhfwnToCPByJr8ieqBWd/49CA3ipjlx+DoCumkUuU UfpjxLijkaSKkFYKV2i/zmb1otKoGJ4PMZnNYnOQaqJRWpEmMfPAqx5s13403PlZJ9 JJomjyPWrCq7GqbRSjKLQaqRYaxxK3gvOEPhG3cs= Date: Wed, 14 Dec 2022 09:52:11 +0100 From: Greg KH To: mawupeng Cc: naoya.horiguchi@nec.com, catalin.marinas@arm.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [Qestion] UCE on pud-sized hugepage lead to kernel panic on lts5.10 Message-ID: References: <2b4d03bc-2b6e-45b0-655a-58b66672187e@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2b4d03bc-2b6e-45b0-655a-58b66672187e@huawei.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 14, 2022 at 09:33:10AM +0800, mawupeng wrote: > On current arm64 stable 5.10(v5.10.158). If a UCE happnes pud-sized > hugepage, kernel will panic since current memory failure can not handle > this kind of memory failure since commit 31286a8484a8 ("mm: hwpoison: > disable memory error handling on 1GB hugepage") > > The latest kernel(v6.0) can handle this UCE since commit 6f4614886baa ("mm, > hwpoison: enable memory error handling on 1GB hugepage"). We are trying to > backport this patchset to stable 5.10, however too many other patches > should be backport since there are huge difference between 5.10 and 6.0. > The full patch list will be shown at the end of this mail. > > We do not think backport all of these patches is doable for stable 5.10. Is > there any better way to fix this problem. Please just upgrade to 6.0 (or 6.1 as 6.0 will be end-of-life in a week or so). That is the simplest and easiest way to resolve the issue, right? Or what about 5.15.y? thanks, greg k-h