Message ID | 20241107102126.2183152-1-william.roche@oracle.com (mailing list archive) |
---|---|
Headers | show
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 6394B1DFE30 for <kvm@vger.kernel.org>; Thu, 7 Nov 2024 10:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730974911; cv=fail; b=GlPRf8vmEbjVdjWWAQauhkcby9bWjrhmHG0X4RozlfReYbdSiT+3mdUjrsMcQ+XI5OPMfMjDwdbsmwaqGQLWJb3zTgttWGYI89h7tXUDiF+vlIlmN0W0yp5n3B+WRUbsskLg3tfMMsytsm3GwReBG5jZ6DjU1f7HGGFD5qTnlP8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730974911; c=relaxed/simple; bh=S3nzrlgSfcwMO9SkHf3vXi0/tz+lbhd3WrXah5mQEXA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=JC8Uze9hDU+tHR9PD4pqs8WuUoRgbEE/Kt4M1lXOx21QAApR+QtImHTJEr2ABNKxDpMG9b0IhoHTaEFL5K3mHYBoa7/v+mXYlEmnM39M1halTZhjP+T3gnzBE51ZG6HX8ISGho/Os0MXtHCh58AfF1DaQMFODFLZ0+Q03LfTxIY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=oeJVMPah; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=L4+D3NIh; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="oeJVMPah"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="L4+D3NIh" Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4A71feAB029833; Thu, 7 Nov 2024 10:21:34 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=yctP/0Msvjx7Iz47FfA6haubLmelPA6MXTQieDQt7RY=; b= oeJVMPahLZvBVyGdFV11aCgZbFpjOxqgszGxtovb3Z5SD1GVab713zbl5Cm6eLKj wdt5JjORVy2ghIUKjZsjd4YRyWivGGFz9+oLBxEMekguGlYzbbtClq5YiZ15MiaS hWktBsuFKQiFfq8/+Y94m+OYGeGZyYLGwyRSXemwfuE1KdArVmxXOUO0tuD2r4AH KxSDmQSOL4LTxybBvaahkMTXB4tvKpTVoZO/reGYdK9A3+0uCFhowksf7SG6AyIa nUmQiqjhNpXZwLNnlXnLsUuuR3aFuGYn1poqhnHEIbRH3buzrnhwZLAhLPGYfG4d qMLn9XzSXe0T1jrGGywrKg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 42qh03d7c1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Nov 2024 10:21:34 +0000 (GMT) Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4A79FBjH031520; Thu, 7 Nov 2024 10:21:31 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2041.outbound.protection.outlook.com [104.47.58.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 42nah9hq8d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Nov 2024 10:21:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OAmyrIkXJU1SvnK3H12UCd4hqsiNif7ZfPKW/Cyjn1WtgIWoxKNmby42zhwpGFpIh1FYTke9o/GvcP6qfEjHG/GqQWHRkh8PQivuG47LkijeYxKiIJhwxEve73XCDTBnY0+PtoSWn3RyAIeihSAujgDu9QtfoQx6vgrIenG3ajCx5wbEHVw2O0RbEGLAYrG3OCT6QEwmAqvBKE65BWyhHtbIFuqJrp1/r0EshpH/DokgNlqTHQDplnVXZQCnswkfGbrO+1uq7/BsKPwFWtIS7pocv5M2d7YaGlkfUM2KuOP7Y4c2DNmIDSvi4T6k1FqhA0u7zArPYWpx0vA7RVBNaA== 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=yctP/0Msvjx7Iz47FfA6haubLmelPA6MXTQieDQt7RY=; b=XHnK4XgKdM/ZfpL8y8pW0GcuhQatuQuCdyvDBQusWkAidgkrFY/BqbIXxVMbrVC9H/CipsiaQqK2OCh50bssjguIphHdf1NodxOJqGkDVooI9f5JsKAmO4c7zJNETJF61TU0yqmbej4DY8nXC5di/WonZslaIhZuniwc5zhMoHeLH7Ot70TJRNviXZFDDmLoMjnksnS8KKIphcEDakv1uqgX+t/kqbsQONYq7wFEsLzcIaAioFM5waYYE8EkfOtfShaos5txmbhoUMOmQmUTEnNTBOnNkrj98lxz+a8BrDptUsD+OKOn5U5ziH+QDGNmFCalR/IzdAmOwO3bWNX5GA== 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=yctP/0Msvjx7Iz47FfA6haubLmelPA6MXTQieDQt7RY=; b=L4+D3NIhsufOW0Pf4EwFbYeuw6luUEVucevVZpPfn3JzfWoWjQlDiKx+ErDP9FIU/S3b7QKw8JluIyCckpkP4shPuAx3QGr3r7WMjcN36q/k+h16Cr7oseJp7z3youX1MYsrXsKCpUpCtBoGE/9c4KeBFchAFWwWvA82EPlcNKQ= Received: from CH3PR10MB7329.namprd10.prod.outlook.com (2603:10b6:610:12c::16) by DM6PR10MB4187.namprd10.prod.outlook.com (2603:10b6:5:210::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Thu, 7 Nov 2024 10:21:28 +0000 Received: from CH3PR10MB7329.namprd10.prod.outlook.com ([fe80::f238:6143:104c:da23]) by CH3PR10MB7329.namprd10.prod.outlook.com ([fe80::f238:6143:104c:da23%3]) with mapi id 15.20.8137.018; Thu, 7 Nov 2024 10:21:28 +0000 From: =?utf-8?q?=E2=80=9CWilliam_Roche?= <william.roche@oracle.com> 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 v2 0/7] hugetlbfs memory HW error fixes Date: Thu, 7 Nov 2024 10:21:19 +0000 Message-ID: <20241107102126.2183152-1-william.roche@oracle.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <e2ac7ad0-aa26-4af2-8bb3-825cba4ffca0@redhat.com> References: <e2ac7ad0-aa26-4af2-8bb3-825cba4ffca0@redhat.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR06CA0035.namprd06.prod.outlook.com (2603:10b6:a03:d4::48) To CH3PR10MB7329.namprd10.prod.outlook.com (2603:10b6:610:12c::16) Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR10MB7329:EE_|DM6PR10MB4187:EE_ X-MS-Office365-Filtering-Correlation-Id: 36c89716-7800-4216-5827-08dcff15f12a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|366016|376014; X-Microsoft-Antispam-Message-Info: yKYsVNwkDCYNT5zc91UdZG27BEndbtesHta8FyEbWttyKxQycssYXnLbQffpSZMa43b3Eb4D1xl0YrlTpIpkJ6JOeKRtNQwairdld3DbOZzOrYtQUtw3hJkYTpjzug7swnBBJMwfK4WU8/iZ81j2YDlrp3OqSl+6czEM+9V/FiFwlRZUVRJPBLRWClXGS6fqkeHaOdAb6lCtuFbQRLvp8bfPJq+S48KW/+7WGb+VJbKfPyLgQ9K/6TDQa/z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FLDtL3IgwK1OArkFk 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)(1800799024)(7416014)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xbHPfJBEB7QCeU0GmzRRcR99GF8SLxcy8GbFIpc/PvD3XM9uCHUvRQUZyeJD5n6/VZPypNfssoev+mQRDGcq43bazABFlaXVjWR0L4vGlm+wOo7p4TdO8Dv9PVozhwtdGBXdUapJtEYU9OCfGX1OFlKw8I57JHwNAcgjFK8mNngurvFgxusCYux5MX4ldObdBPzzT6VOzg/tIuNXPdlZuEd+v+NphNrTsqA/hkgxjAWi3oDFZiFXE/lB6rRMiGAqjz1NITRR+EjP8nlEU/jAsS68IrV7Msl/dmelXstZFER9LcXjcyJxTbzXmPtA/apQ3ZY9cpymP3etI+y2H01Y9QrQBR8wUVHHLRTQMjRfI3j4gH5khJNCnvAokdgaS/+be0QS9gVEsDyFw5oycMdTCuAYrU0K1ngZBv1F/X5f0pu71I4vfPf+GsRG/f8/bcNcfoT5nXT++40bh/Rxp7nbYsWnu/zqLYEuuhy1moc3GpjvOhppEv9BKZ56Kg2gMO/hh5K4DIErKHhcvs+zsmOYFnrSRh/JruyYO2QKYDK/VEihThYj4f7K3zok7NEBVn25iiJTIQysrsMXJ4NrDmua7N/qgAV3M2h6Eo872Efs7FWn52D1g9A/OKNPQK1YbJrkQe0bzxCRNLccOXZCTGeDqR6RBRetzch2I/js2/I/c+VNuBEJulKluVD/VA5xDVJwnXYSGchoTNib6dQ5jkd01ht1F2WXHwsW0lMAfWfTdaUUbYLdhoO/h7HarELpYffJb7Lpk7wyw3zQAoQy/V4r+LqkcvomvPFUmXwX5GcSkQV0jHUM5J7ReccVAPFoxswp7ZQSp88cxUd/vB1BbhoH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W0OC6T35hMDHG8mDrz4vlEn58vfFvrtGIX08LZSIe28DkLcAkf2BkUY0iH8sAe3qIuYQcOcV5q7bmORGqOJneVH186EVXxuxoH7zib3wG19R4CFftPnpppXkWNawAeb7goeoP0/F5C8W1KT91jff+xhsoyjLJdp7DmgJtINXzoaPoahj9qfpWHGAfCUXf2QL4fjQJVxs7m7OfnC/2iErTQxfKRAgWLqIFti1Jg0/phSiYrvsR0l2AYfpRCRgNdK9ogPNp7mRb2jf/GLORVi1/kzX3kqkiVTaoEdauA60+Qc9VYZ/yS1ObaVm/SvEn016Cj1is3afkaKXpot0iMykv0ZvWJrCQNVzyy96XLlb2+kCoPNvdxWV8BaMMvX0q2rRyR8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36c89716-7800-4216-5827-08dcff15f12a X-MS-Exchange-CrossTenant-AuthSource: CH3PR10MB7329.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 10:21:28.7325 (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: XiyMbTUqi1jnNySEcU+P36RWSoAF6OVSSHJ6MuaDw/VuUbCRc4/XmtocHZ4wkEs89zxuv/bnsTUByGdjkHVcc1qnLwkraKzLnH4A0iIjlLI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4187 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-07_01,2024-11-06_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 spamscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000 definitions=main-2411070079 X-Proofpoint-GUID: gan0oNlY9i0F7mh2rvNSWN2XwSCEpGwp X-Proofpoint-ORIG-GUID: gan0oNlY9i0F7mh2rvNSWN2XwSCEpGwp |
Series |
hugetlbfs memory HW error fixes
|
expand
|
From: William Roche <william.roche@oracle.com> Hi David, Here is an 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 track the page size of the impacted memory block with the associated poisoned page location. Using the size information we also call ram_block_discard_range() to regenerate the memory 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. Issue also a message providing the impact information of a large page memory loss. Only reported once when the page is poisoned. --- v1 -> v2: . I removed the kernel SIGBUS siginfo provided lsb size information tracking. Only relying on the RAMBlock page_size instead. . I adapted the 3 patches you indicated me to implement the notification mechanism on remap. Thank you for this code! I left them as Authored by you. But I haven't tested if the policy setting works as expected on VM reset, only that the replacement of physical memory works. . I also removed the old memory setting that was kept in qemu_ram_remap() but this small last fix could probably be merged with your last commit. I also got yesterday the recording of the mm-linux session about the kernel modification on largepage poisoning, and discussed this topic with a colleague of mine who attended the meeting. About the use of -mem-path question you asked me, we communicated the information about the deprecated aspect of this option and advise all users to use the following options instead. -object memory-backend-file,id=pc.ram,mem-path=/dev/hugepages,prealloc,size=XXX -machine memory-backend=pc.ram We could now add the request to use a share=on attribute too, to avoid the additional message about dangerous discard situations. 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): accel/kvm: Keep track of the HWPoisonPage page_size 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 | 17 +++- backends/hostmem.c | 184 +++++++++++++++++++++++--------------- hw/core/numa.c | 11 +++ include/exec/cpu-common.h | 1 + include/exec/ramlist.h | 3 + include/sysemu/hostmem.h | 1 + include/sysemu/kvm_int.h | 4 +- system/physmem.c | 62 ++++++++----- target/arm/kvm.c | 2 +- target/i386/kvm/kvm.c | 2 +- 10 files changed, 189 insertions(+), 98 deletions(-)