Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3507487pxb; Mon, 24 Jan 2022 11:01:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5o0UqLJhGlRw8H1c0f6uV3tERhSmR+1y3uC3QmSo3/4Xukv7F7M24xkWhNUbdZBLD+aQ7 X-Received: by 2002:a17:902:8ec6:b0:14a:c625:eb2d with SMTP id x6-20020a1709028ec600b0014ac625eb2dmr15621709plo.26.1643050887050; Mon, 24 Jan 2022 11:01:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643050887; cv=none; d=google.com; s=arc-20160816; b=ziC/GP+0l8dT3PWdeCunB98tyeKzMuZNdKeklcSWuIymtUCkEfrMm0yaPMCsSdSyDb hZAUNM8yzL6F5PsH3v04BtU3kDOw96u21+WSKuTKnCftLDQT9yQyRL6zVOt132mISirn 1C5jXMtw4R0nUjmzaVE2gdo4YboGgXPb2+CrbsNtPu/8ap2vjtz42mZEj5KJqgOQ3fNp FR+UgCVp1JsvWF9YN07M414n9zJt7NVyAd1YOl15pDAFaBwfeCNReHKNshBg0I7X1HEl Mb8X9dHbC9n3YcgCS17zH4cpY0QwgDpOzMNdwjNTeO9bde13+cbvJk/mlyt3tA89WlxL hInA== 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=CcLTDVSM75ulMuSB/GUt0Op09+BKvmEOlIHEnWSP7UM=; b=NzMYd0BGLFHUAks89YGANHlNnbzOl6EGW8y2e0kWj0rkaIC334dbNxBvwqwJLV0khg RVm6F+kA8wBonY1zFxDLBfM9uuk4Cnt1XmxOLjc3UL4FYmsSMIjkuuIF/0Vl6LYGOFoW nqq8UV+PbIw8gi8tU0tzWW/PR4tPKjYErnHPbUPgUXTPFCFqmoL22G+j1S37+7GuToA4 35Un+7d0L47c+XYPmDNFN/6MTGejdndMinkVLR3t6XUojKynAP6MvxGohCb06g02Oz6M eJZMRPxGPOJGHz8vGiHgkiYqcmao84hdpSFeLTjbs+v8mJHoLeKd2PR1MpN3CiAcySF9 4nhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kS4brgDk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si13249233plv.612.2022.01.24.11.01.13; Mon, 24 Jan 2022 11:01:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kS4brgDk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236794AbiAXJri (ORCPT + 99 others); Mon, 24 Jan 2022 04:47:38 -0500 Received: from mail.skyhub.de ([5.9.137.197]:48614 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234824AbiAXJrh (ORCPT ); Mon, 24 Jan 2022 04:47:37 -0500 Received: from zn.tnic (dslb-088-067-221-104.088.067.pools.vodafone-ip.de [88.67.221.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id F02141EC01A9; Mon, 24 Jan 2022 10:47:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1643017651; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=CcLTDVSM75ulMuSB/GUt0Op09+BKvmEOlIHEnWSP7UM=; b=kS4brgDkqwyrvLTFLRUEVirhDn29ILA76d5VFA0Ss9wQT1G21jLMjQCs1HttX3dlcL8xx8 cBLfcypm60raXTkbN/ydIm/oO6CSi1XTqdV8evIkTmSEUGlPTcHtSBPiDQRMetcyGa1t0O uDDgGt2V39NtlU78/jMiBBWdS8OkLAE= Date: Mon, 24 Jan 2022 10:47:25 +0100 From: Borislav Petkov To: luofei Cc: tony.luck@intel.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/mce: Always call kill_me_maybe() to handle memory failure in user mode Message-ID: References: <20220124081501.235236-1-luofei@unicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220124081501.235236-1-luofei@unicloud.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 03:15:01AM -0500, luofei wrote: > Just killing the current process is not enough, it is necessory > to offload the faulty page. > > In the virtualization scenario, qemu does not set MCG_STATUS_RIPV by > default. Yes, we've had this before. Fix qemu. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette