From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout06.his.huawei.com (canpmsgout06.his.huawei.com [113.46.200.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F6D939B49E; Wed, 22 Apr 2026 02:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.221 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776826267; cv=none; b=cos+IH1LiKau5/4Tu2BKL9WozNrG7U+0cSE8yXTw8j2nvteCny46WWvHvixCv9cEjnfntJkTuBy4RG75URgrOtqZWo6KLo0tPWm1tEWxnjsKt8HHU95KgY0OmteuELVMTGVd3PX1VboBJnRmH5cQ4tzXTrh9xdoGenmq7vwilqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776826267; c=relaxed/simple; bh=5FV3u8ah1n08/nxbXio9Qe6rYH3r3Pu5v8ZvDr8jTOQ=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=NUq6oIktKb0LCqHgErvhscRZt/U/EGIVxPBDgnvzCl0ovLxJ2wMSUgr6dG9cuE5nVgUsHzd+G042R7JE9HueeZ/XSJo2ZLkXT0q5SxGNbkuDkNI3pxGvTiuIbzq5DQxaw6PEvEadjpqLhCLeTTx8T+1f4jZCjYb4b8SnHxMbROk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=cPd7jLi/; arc=none smtp.client-ip=113.46.200.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="cPd7jLi/" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=zYYrLeSCtlIwWe1v/taaHs6p4N+WULPdk6AZYoEa9eY=; b=cPd7jLi/JI+BNpF2FcOInnMUj1bgR/zf+GCcJWH44tkf6D+2aN1oVmPTMGYR405U4jIbech9J vH4GSa+JpRx6QadZ0YXtyQpGzeolZ8NYvyrvI8MrkJpI2rTJpeH5R2Qd8yMUpxf6E1tvXlhASWd U4JChYSShKYEgYYZWPmqogg= Received: from mail.maildlp.com (unknown [172.19.162.223]) by canpmsgout06.his.huawei.com (SkyGuard) with ESMTPS id 4g0k8F1cwHzRhQx; Wed, 22 Apr 2026 10:44:29 +0800 (CST) Received: from dggemv712-chm.china.huawei.com (unknown [10.1.198.32]) by mail.maildlp.com (Postfix) with ESMTPS id A358C40573; Wed, 22 Apr 2026 10:50:51 +0800 (CST) Received: from kwepemq500010.china.huawei.com (7.202.194.235) by dggemv712-chm.china.huawei.com (10.1.198.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 22 Apr 2026 10:50:40 +0800 Received: from [10.173.124.160] (10.173.124.160) by kwepemq500010.china.huawei.com (7.202.194.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 22 Apr 2026 10:50:39 +0800 Subject: Re: [PATCH v4 1/3] mm/memory-failure: report MF_MSG_KERNEL for reserved pages To: Breno Leitao CC: , , , , Naoya Horiguchi , Andrew Morton , Jonathan Corbet , Shuah Khan , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko References: <20260415-ecc_panic-v4-0-2d0277f8f601@debian.org> <20260415-ecc_panic-v4-1-2d0277f8f601@debian.org> From: Miaohe Lin Message-ID: Date: Wed, 22 Apr 2026 10:50:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260415-ecc_panic-v4-1-2d0277f8f601@debian.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems200002.china.huawei.com (7.221.188.68) To kwepemq500010.china.huawei.com (7.202.194.235) On 2026/4/15 20:55, Breno Leitao wrote: > When get_hwpoison_page() returns a negative value, distinguish > reserved pages from other failure cases by reporting MF_MSG_KERNEL > instead of MF_MSG_GET_HWPOISON. Reserved pages belong to the kernel > and should be classified accordingly for proper handling. > > Signed-off-by: Breno Leitao Acked-by: Miaohe Lin Thanks. .