Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1435003pxb; Mon, 22 Feb 2021 01:36:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoJwre4vftM7DmZ5updB7XN8jkxQh7g9SylZfrQpWJiuVXyksvp5+kF8syWsVsRq5t7N1k X-Received: by 2002:a17:907:3e26:: with SMTP id hp38mr20380841ejc.459.1613986582149; Mon, 22 Feb 2021 01:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613986582; cv=none; d=google.com; s=arc-20160816; b=MUdlf4lfcINl5VNPlwQxHQKze4UkHEY3k93Ks25sxUZBHQLY1s/akZTlcF3uuhFdQZ 83XL55HFNhYEL/lOPtR9pqfrl7aDuXIkg7ZSKkrtwpSpI8jupzeWz2yjY3iEXsfDrrPf u97Ad8JEUoUwh6VOfhG2+hgmsxGIC2KHMztT0ednVqxCpcCe7v9q0b3Zn/nBWoNkgGWR 4p0DcuoMKzQsIbzEUNKeQcKToU01Rnj56CJwSxIBqIjVZ8HORDHrExo+J2HO023yjICg 2eEFXg8E+wOxYKXj8mvgVRlERdMBUNnAtoBPGnThhBVFPyPGC4ChdXnc1SGXE4tTKKWx jkyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=yztQHqWGcKaagEyEH+xxr9+Szfb0FeO3h2rWrPYbeeM=; b=Tu35ho+jFgSbb1NLfxVRgxQfFAxHsk1kxVhDQn3lwGcvicMr+wql0EJ50rSvHiTPdC stqWOuZZSP9rSEB7AoeeCwXzG8xjrvmmRvZ6x/0tjrf+FlmyS/+TFA/uD1WOBhTQvWgv 0tUiEyvxZtcTEOosbMz9R6ucHb5d2v2GCqyuGI6qQUdP1Mx3dh3puHQYg9I89EvekxKn xaac9fyRIDftKpYoEvc9uaPK0sAHJTVP/kQInLj09n2KcGtTfOuFPjNvVf8WddyPU8Zx 8wWddHTFzySwz/OAlBLGjqg4Vs45Bfq8fGK3vWfViuTGcPLAk/S36XCzSS0lV67uBEpC XGHw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si7430907ejc.694.2021.02.22.01.35.59; Mon, 22 Feb 2021 01:36:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbhBVJcw (ORCPT + 99 others); Mon, 22 Feb 2021 04:32:52 -0500 Received: from mail.kingsoft.com ([114.255.44.146]:44947 "EHLO mail.kingsoft.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230179AbhBVJcJ (ORCPT ); Mon, 22 Feb 2021 04:32:09 -0500 X-AuditID: 0a580157-f39ff7000005df43-c6-603373aaf480 Received: from mail.kingsoft.com (localhost [10.88.1.32]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.kingsoft.com (SMG-1-NODE-87) with SMTP id E4.A7.57155.AA373306; Mon, 22 Feb 2021 17:04:42 +0800 (HKT) Received: from alex-virtual-machine (172.16.253.254) by KSBJMAIL2.kingsoft.cn (10.88.1.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 22 Feb 2021 17:31:09 +0800 Date: Mon, 22 Feb 2021 17:31:09 +0800 From: Aili Yao To: Borislav Petkov CC: , , , , , , , Subject: Re: [PATCH v2] x86/mce: fix wrong no-return-ip logic in do_machine_check() Message-ID: <20210222173109.7b7ac42a@alex-virtual-machine> In-Reply-To: <20210222092403.GA29063@zn.tnic> References: <20210222113124.35f2d552@alex-virtual-machine> <20210222115007.75b7de9b@alex-virtual-machine> <20210222092403.GA29063@zn.tnic> Organization: kingsoft X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [172.16.253.254] X-ClientProxiedBy: KSBJMAIL1.kingsoft.cn (10.88.1.31) To KSBJMAIL2.kingsoft.cn (10.88.1.32) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsXCFcGooLuq2DjBYPFvaYvPG/6xWUzbKG5x 4VQDk8XlXXPYLC4dWMBksXnTVGaLNxfusVj82PCY1YHD43trH4vH4j0vmTw2repk83h37hy7 x/t9V9k8Pm+S8zjR8oU1gD2KyyYlNSezLLVI3y6BK2PCnISCCSwVC65PYWpgnM3cxcjJISFg InFwTjdrFyMXh5DAdCaJjUfnsEE4rxgl1s+bxgJSxSKgKtH9/DIriM0GZO+6NwvMFhFQkvi6 aC4TSAOzwCFGicPnXgCN5eAQFgiVWDKtEKSGV8BKYvW6H2BzOAV0JW4v+c4IsaCPUeLxrR9g g/gFxCR6r/xngjjJXqJtyyJGiGZBiZMzn4A1MwvoSJxYdYwZwpaX2P52DpgtJKAocXjJL3aI XiWJI90z2CDsWIll816xTmAUnoVk1Cwko2YhGbWAkXkVI0txbrrhJkZIpITvYJzX9FHvECMT ByPQbxzMSiK8bHeNEoR4UxIrq1KL8uOLSnNSiw8xSnOwKInzijnyJQgJpCeWpGanphakFsFk mTg4pRqYNjgJLT6cMrnqyMVLJo+nWDDd/GDasMDImXffJetzPBNutlXFbpfu3L9jzsOqjTl2 ZYpG2YVK8gL/HmbfndAZWPOQ1X2Gy/V3098Y3i3y85h2xkLEwSfB5dDtKVaS4W879zf+FlvX qiqznW87737jiSU7EtOPTd50RJ1TJd5O2Xbe823vW6d7627n+ahpz/pH2Sjl222N9IbfSnfL 53p9cc6YWuARc1fp2ym17XMXWng7e2dPyflb6G0S1nNq3e7CmT+bbfeFbovwrFe4em3HhDsn j/Y/ufa/RbEi9uGLc30Cm9ky7rKb+6lZrVJPMddZ9obp4YWPZtHffE/xJn6Z2a9zd9kGn78a FuoM1ku4lViKMxINtZiLihMB2B5wfgMDAAA= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 Feb 2021 10:24:03 +0100 Borislav Petkov wrote: > On Mon, Feb 22, 2021 at 11:50:07AM +0800, Aili Yao wrote: > > From commit b2f9d678e28c ("x86/mce: Check for faults tagged in > > EXTABLE_CLASS_FAULT exception table entries"), When there is a > > memory MCE_AR_SEVERITY error with no return ip, > > What is a "no return ip" - MCG_STATUS_RIPV? yes > How do you trigger this error? you can inject a memory UE to a VM, it should always be MCG_STATUS_RIPV 0. Best Regard! Aili Yao