Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2422220rwd; Fri, 2 Jun 2023 09:10:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52jIlkP+SIEwJJhrGMI/APgsIVma4rvWNdCYsiEumKiDgybIY1QgpoFvr+zTEO1yrA60X9 X-Received: by 2002:a17:902:f68e:b0:1ac:85b0:1bd8 with SMTP id l14-20020a170902f68e00b001ac85b01bd8mr194911plg.34.1685722204914; Fri, 02 Jun 2023 09:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685722204; cv=none; d=google.com; s=arc-20160816; b=YBbhEA9z0EBlY7N2vi1x3kTSJuMJ/4YVu72bptfYZCSjN6l6CY5oZFjIaRrr9RntoP YS5vIwIggOI0N7Tqhu8dUcvgAf2EMLphCunstJGVxq3Co6G2Nt3wljOiOromVPv5x0Qp OoC5Sh7Ce0MCPz1Wo57iRDvmP0X6l/Na/NNbDCbTrrKo9r6/Lw1wT73P2/8pmdSc42bt 0olQgmiPw5g9+PtHWaDVZEy6I54FYaej4yGIPVMrtyhyu90wL+avChjuFnd7k4hOt37w WLMoxAQf2VVQbGu8Yf6VCksp0H9cbWrgpbpYpnOPalnGIFNWYbhmcskGeKUmr0dGazFt j6VA== 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=yXwINzbU9Zs+L0XJla9Sp6go4vxnlnsmfbOc7yeYTlg=; b=AXw7x+8vVGTyhvZpngITT3OiP+7/pTVyttYXrRlgRpFU+ZW3QhUUc8nvhWqscNNzrf jzo1GWubUHwu1k8bbxC9zXrlQSrCyATsK+ngnO8SGvw8l8kc0MN2U17yKkhDddFNlrE6 f11xu/25eT0UnI5jDovpJenDixJ2yGqMySyay5I5dhDY9Ke0scAuQZxNowYa0Z0pWAU5 wneOP6pGHnF4jpkNQLpm3OK32mqxt+wOCzz5c7DSlmT4J0JZqh4Smvjz2/dy/L89/M2f FemXgiXTWsW0OlUxrRjLOXg1Y3yWWsQWHodftL79S/XVAkqepEyv080pGbcCxW6+Q7ZB BKlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=XjzTNN9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a170902da8800b001b00ae4ad40si1126406plx.368.2023.06.02.09.09.30; Fri, 02 Jun 2023 09:10:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=XjzTNN9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235249AbjFBQB6 (ORCPT + 99 others); Fri, 2 Jun 2023 12:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234468AbjFBQBs (ORCPT ); Fri, 2 Jun 2023 12:01:48 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F18081B1; Fri, 2 Jun 2023 09:01:43 -0700 (PDT) Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (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 37DD71EC0138; Fri, 2 Jun 2023 18:01:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1685721702; 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=yXwINzbU9Zs+L0XJla9Sp6go4vxnlnsmfbOc7yeYTlg=; b=XjzTNN9dGShPCHk2P3RO/MYH8qxFqVPSbpqSrH0vbSD7bZkoRW072+rG7QuGewjGkRIlYN KYjPwC2zLJdjp33UgxK8HIeMnftgmaPJUet3aj1uKf8P7nInqVhsakdfHTL6UaepT4yy9y B0qgrT+QAEQDhSgThggjTlEdVZx9XR0= Date: Fri, 2 Jun 2023 18:01:38 +0200 From: Borislav Petkov To: "Luck, Tony" Cc: Kefeng Wang , "Song, Youquan" , "naoya.horiguchi@nec.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "akpm@linux-foundation.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "chu, jane" Subject: Re: [PATCH v2] x86/mce: set MCE_IN_KERNEL_COPYIN for all MC-Safe Copy Message-ID: <20230602160138.GDZHoSYsWoPAinMszk@fat_crate.local> References: <20230526063242.133656-1-wangkefeng.wang@huawei.com> <20230526070952.GAZHBbQNAWZJP6tOXv@nazgul.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 02, 2023 at 03:12:30PM +0000, Luck, Tony wrote: > > As mentioned above, I am focus on copy_mc_XXX calling, it will > > abort if the exception fires when accessing the source, and we > > want to isolate the corrupted src page, maybe we could a new flag > > to indicate this scenario, the *Final Goals* is to let core > > do_machine_check to deal with the corrupted src page. > > A new flag seems like a good direction. Before anything happens here, the fate of the now unused EX_TYPE_COPY needs to be decided first. Then new stuff. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette