From patchwork Mon Nov 25 14:27:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?=E2=80=9CWilliam_Roche?= X-Patchwork-Id: 13885021 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 CC87ED58D50 for ; Mon, 25 Nov 2024 14:28:10 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFa3w-0007Ze-Cc; Mon, 25 Nov 2024 09:27:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFa3t-0007Yt-Fk; Mon, 25 Nov 2024 09:27:37 -0500 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFa3r-0001U8-Cd; Mon, 25 Nov 2024 09:27:37 -0500 Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AP6gLWS000436; Mon, 25 Nov 2024 14:27:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=JcRMedMtEYbr8ozp5sl/bwsH+cuZg7qQXXPH/ikOmRA=; b= AT6SSnju/WbW9exwfTcIuI+FYJzHL+kAk/Ka5JmQxA4714EGqJPeWIx5Uh/ZSRJl 9B95tiFQZUlG7DEIeDL/je+bU8FEqmOSiF+7JCcZL8yyDiXqa2ZguMF3X2AgNLt4 bGLY5+lEwWR471Pe+U6Nb2XiO1WcJheo0b3vjjGtK+W8/30jShUDYFpb+q2W7FSA mY7ND0FxHa0Wr3U294J9Y442Idu5G08wy2q0OlanA8QSou67pCxv6J4AE4MEcZra tzibzvcQXGjwpQuI6oBBqxPTvUr/ynBVvk3p5sT62VFET+UeELR9lE1Yh6czILgu e7jhAMuaoG9dpelO/j8zFQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 433838k8h1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 25 Nov 2024 14:27:24 +0000 (GMT) Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4APEPXkA002706; Mon, 25 Nov 2024 14:27:23 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2043.outbound.protection.outlook.com [104.47.66.43]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 4335g7tdjd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 25 Nov 2024 14:27:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fkbSbYjLhd1vdMiQdoGaM1FlIfwsp5ntbJUi6oB4qa/I9sGNQRpdkAiu4Tx4Ev9gk3m+reuka8+/WrgmZDIDtI12zmfQ8GTb9vm2eGzLrclR1qWiKeFscyOEgmSp+1FqXR8yUWu6DHY/EQFUFuiiioGScJflkWPvx1fTbKaS97djWT4l00A7vmMnKaowxcvQH3eKyQlvIKXgw9zmkXT32Z+zdowje4+kJfP6ABZbcGCFeiGVypGgfK1hBRUvhYPvKRkSp0MFmFi4rzXktKpuqihs03Rkl1A+Dxw5vGCrToZ+A8SwthbsyW96W7t9y9Qr+H/VBM6u7tVhnmdmjFQFJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=JcRMedMtEYbr8ozp5sl/bwsH+cuZg7qQXXPH/ikOmRA=; b=rYZvCKLYKj7XmM2ke9ETaX7xXruBuHtEWA6Oa3MNettnMYwlPS1sz0NmBbVqdZtTlsfaKEV6wqnW61d816b2QPRtHK1wd2c7R37WUfTvwC72CXzDVnBQ3ZN3DTPMZ9kmeFTwg8i+bwk7fSERSZ1yfePHCzhHXar7FvE0WaRIj/ZHA5GVo5Om/Cs8pyZwSK0iJ04qUMe8ciL7ysslh2qW4UsHoiEH5okq134Q5SvRC3eH2/NaBe5R6mpWC27frOzK8s+SYxBNva3Gen+fw5qD8p3SbyrDoRayvkX03cLZdxd48tfQme5AMRmc6SPFa0AzjGTaWElj6b2d2QEu4ZSGyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JcRMedMtEYbr8ozp5sl/bwsH+cuZg7qQXXPH/ikOmRA=; b=tDsTUzP+3Y9JlloBE3k/g5/5FOworzw3t+ALqo+d4gd/Uaw4ntYUouDxdrx6GFQlVdQ3llWlscePjFG+yWOE1Drzgboc+TuJsSYooJD3fx/iTp3SWnQbjm17kSf4oSuG0MgMZLIfpX4x8/wvZQxd3f2BkId5NaSjgZiAYdnKk5U= Received: from CH3PR10MB7329.namprd10.prod.outlook.com (2603:10b6:610:12c::16) by IA1PR10MB5995.namprd10.prod.outlook.com (2603:10b6:208:3ed::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.21; Mon, 25 Nov 2024 14:27:20 +0000 Received: from CH3PR10MB7329.namprd10.prod.outlook.com ([fe80::f238:6143:104c:da23]) by CH3PR10MB7329.namprd10.prod.outlook.com ([fe80::f238:6143:104c:da23%4]) with mapi id 15.20.8182.018; Mon, 25 Nov 2024 14:27:20 +0000 From: =?utf-8?q?=E2=80=9CWilliam_Roche?= To: david@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org, qemu-arm@nongnu.org Cc: william.roche@oracle.com, peterx@redhat.com, pbonzini@redhat.com, richard.henderson@linaro.org, philmd@linaro.org, peter.maydell@linaro.org, mtosatti@redhat.com, imammedo@redhat.com, eduardo@habkost.net, marcel.apfelbaum@gmail.com, wangyanan55@huawei.com, zhao1.liu@intel.com, joao.m.martins@oracle.com Subject: [PATCH v3 0/7] hugetlbfs memory HW error fixes Date: Mon, 25 Nov 2024 14:27:11 +0000 Message-ID: <20241125142718.3373203-1-william.roche@oracle.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: References: X-ClientProxiedBy: CY5PR15CA0249.namprd15.prod.outlook.com (2603:10b6:930:66::16) To CH3PR10MB7329.namprd10.prod.outlook.com (2603:10b6:610:12c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR10MB7329:EE_|IA1PR10MB5995:EE_ X-MS-Office365-Filtering-Correlation-Id: bb1bccf9-144c-4f0f-4543-08dd0d5d450c X-MS-Exchange-SenderADCheck: 1 X-MS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ORIVublmUZ69bilJgybVUespI7KteLGIUh56BX+lVf1lwYzzhGNp2nVpB6c7VCmh2T9tRvP5lmImGIGayGu2ADH48EdSWmDuXaivgpcbH3DZRPUOW/UNKavujED97wVhzOQCwSYkyek45M9nw1R1n1oZnEgi0+xgIg+pYCxFJKAIaik/5zi2oKSI2cmE9DX21aWXqzgZsnqW5QVBu8oOqfHx0OMZfcmi4N5JzM1agI2cA6d+RnUpwZqMmKq+yJx78POadeDiyo5DbSUGgOT4NO3IZSlB6HqaKV9FP3b4ZU+BAwpmKfLaLTaJn2646ksDn5iUtu5sKYRi1ZLAcnzFWu1a/2f4k6MQAFgdFXLCdQuS5/bcHfHc4hbAI+gZnFg7DEw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR10MB7329.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(7416014)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: C2PlQ3whfquiM7IM/U7tjlDTDf4dYnxfCPQCW8aLgiwvn+zUtMf+MLoxiG7UEXih2uPj7NKP0dHY8OYMHGyRueqUr+fRiKqtooZbu7aWtp/oPLDNrEMKKFeiDB1l8XpawrNKiqSrAKM3c2zMqFtkAWzAqzvn+9wFh/EGnhl51Bz/bLVwLsM3/0JH7aB1Vi7sXIB8ejT6LnvOO7iI/am4O0G+TWBnkyXTVq0Uyz3M+g6UO6XBUyO+Th2GWIPT4nHUacBNrfcYi3+JO3ZTw2eNDDUuXZetOJvQijIkkmLh4KiHWHiP23+r87U3clUE/f+K0t7SGhW937ZzNdBFX9tcbgZqQuNu2yE+AwitAY6CA5G0jb/EdnStiuipZazNGdFog9ubSyhUQtFAqbw2DIQVoeQCOy56GjUIbbqSEGN3ECFjVWAUy0H1L6U1iwX/40TI1pN5ErqfBZuPOgJeQfQscgEuS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j8H2XqtdXE6VUBPomghMD+cwK95D2MI0SpCamEBJP/mbnS5uB1IvVLUkCNLTVxlpQ== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: HurKueISPYM0AF8FiJB6dyp2lpoxkhDYZfs0rN2DYkkEQwABBsq/d2WuZl+WihcuqJ5L2zkrfjuSCs8Tj9K/oikSgypnCvBHAqOhqTY3gok0/HYNjfhJRWlOcynoPazrgOT7yQOOIZ/mKszgSMoaB5FMK33YovWMY0FaM0c2pLt+nD5RsAYmzuSzu1qfSU/nUXh9sgE/OGu+8ZVtt1vtYnUYWidwEKBAg85AHK3CSnN062Vact4P+cSvG9jdb6r760rhVlZ3vrpOW8gz4dfx6a0W3tP7U7cM4T/FqfUdGO4J0nBahnRSAByFfm+OSqEBJulJXgSVFueFni8Q6Tmd0GjSlOHnP1c7+QusCLss4zPvDZdjoFE4vA9BXEu8aaCm5EmJlS8YhKRffKRaUHIB6T2AwYQrLhC91aFw8LUhurCsvN7d4uHnxCYZ1JuRl5GlCqTJlo31Mw93wDSViay3uqol/5SwZOFTLKkVgkTsnu9TtcBHMXUG1f7MVtk9bq2OOadiqoOImADWkKnJREiJ6nccYsq57htQXYMm+W/KhuSvmjlYaThQZBT7rOOyIc9hBgXU9zpqxzeRXEi28unTlb716MeTxc1XItF9W84YijA= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb1bccf9-144c-4f0f-4543-08dd0d5d450c X-MS-Exchange-CrossTenant-AuthSource: CH3PR10MB7329.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2024 14:27:20.0006 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: W/VCXBGjfMX8QR2U5Hzh9w4SQCbPnWpCQjh5DLe2fKpCs5+Sywfm4Q0u4cEeloD/WvI2fiGl8Kj83Tox2E3p99ZJ5RdaEfWrWFSRnNmcjUo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB5995 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-11-25_09,2024-11-25_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000 definitions=main-2411250122 X-Proofpoint-ORIG-GUID: sS7UwvZIaR-RdY23RIDqkFzJcO_X56TI X-Proofpoint-GUID: sS7UwvZIaR-RdY23RIDqkFzJcO_X56TI Received-SPF: pass client-ip=205.220.165.32; envelope-from=william.roche@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: William Roche Hi David, Here is an new version of our code, but I still need to double check the mmap behavior in case of a memory error impact on: - a clean page of an empty file or populated file - already mapped using MAP_SHARED or MAP_PRIVATE to see if mmap() can recover the area or not. But I wanted to provide this version to know if this is the kind of implementation you were expecting. And here is a sligthly updated description of the patch set: --- This set of patches fixes several problems with hardware memory errors impacting hugetlbfs memory backed VMs. When using hugetlbfs large pages, any large page location being impacted by an HW memory error results in poisoning the entire page, suddenly making a large chunk of the VM memory unusable. The main problem that currently exists in Qemu is the lack of backend file repair before resetting the VM memory, resulting in the impacted memory to be silently unusable even after a VM reboot. In order to fix this issue, we take into account the page size of the impacted memory block when dealing with the associated poisoned page location. Using the page size information we also try to regenerate the memory calling ram_block_discard_range() on VM reset when running qemu_ram_remap(). So that a poisoned memory backed by a hugetlbfs file is regenerated with a hole punched in this file. A new page is loaded when the location is first touched. In case of a discard failure we fall back to unmap/remap the memory location and reset the memory settings. We also have to honor the 'prealloc' attribute even after a successful discard, so we reapply the memory settings in this case too. This memory setting is performed by a new remap notification mechanism calling host_memory_backend_ram_remapped() function when a region of a memory block is remapped. We also enrich the messages used to report a memory error relayed to the VM, providing an identification of memory page and its size in case of a large page impacted. ---- v2 -> v3: . dropped the size parameter from qemu_ram_remap() and determine the page size when adding it to the poison list, aligning the offset down to the pagesize. Multiple sub-pages poisoned on a large page lead to a single poison entry. . introduction of a helper function for the mmap code . adding "on lost large page @" to the error injection msg (notation used in qemu_ram_remap() too ). So only in the case of a large page, it looks like: qemu-system-x86_64: Guest MCE Memory Error at QEMU addr 0x7fc1f5dd6000 and GUEST addr 0x19fd6000 on lost large page 200000@19e00000 of type BUS_MCEERR_AR injected . as we need the page_size value for the above message, I retrieve the value in kvm_arch_on_sigbus_vcpu() to pass the appropriate pointer to kvm_hwpoison_page_add() that doesn't need to align it anymore. . added a similar message for the ARM platform (removing the MCE keyword) . I also introduced a "fail hard" in the remap notification: host_memory_backend_ram_remapped() This code is scripts/checkpatch.pl clean 'make check' runs fine on both x86 and Arm. David Hildenbrand (3): numa: Introduce and use ram_block_notify_remap() hostmem: Factor out applying settings hostmem: Handle remapping of RAM William Roche (4): hwpoison_page_list and qemu_ram_remap are based of pages system/physmem: poisoned memory discard on reboot accel/kvm: Report the loss of a large memory page system/physmem: Memory settings applied on remap notification accel/kvm/kvm-all.c | 2 +- backends/hostmem.c | 189 +++++++++++++++++++++++--------------- hw/core/numa.c | 11 +++ include/exec/cpu-common.h | 3 +- include/exec/ramlist.h | 3 + include/sysemu/hostmem.h | 1 + system/physmem.c | 90 +++++++++++++----- target/arm/kvm.c | 13 +++ target/i386/kvm/kvm.c | 18 +++- 9 files changed, 227 insertions(+), 103 deletions(-)