Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp531864pxf; Thu, 11 Mar 2021 08:55:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyj2dkkdT/v49b2gynjO46SeGoAPUGVDBYqqBjPmin6Brv8y8yR7l/ToAUsVnQLprz//9QZ X-Received: by 2002:a17:906:ae88:: with SMTP id md8mr3848744ejb.264.1615481757407; Thu, 11 Mar 2021 08:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615481757; cv=none; d=google.com; s=arc-20160816; b=Z7r0U1bJxYPcnzEXR91YT4F/stLEQgyQk8eoj6fKH6KvrrZ5VC4LCXAQ/8C+lb1Qli jWhNPPOZdRwXjRohlW5p5qwFVyR1eE870p/5O7wUdR+NExfUt2yMOTTh18dOh50WQPwX DjJDvRzzAu76X450rVN09yRu3o2B3wIbVlf9+Avh29zOi5fOI3059ikB5uvdYmzBlu/I wVkwnr8OzwlIGyrqA/mtxeFHgeXoDeMTnhNx6Y4GkOorFpKK9iCgqFksnE5xu1s5QGPs +doLmQRXSBWseoIuBs8U75/flB08elYkyxT/mz/BV1Pn9Jn/Ab5qhxAuvb3qL1tjCR2i 2YSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=ItpObI+Dj0UZoehE0lPGxEdfFguTgpJolVccBaJf77g=; b=U0XFEZ1Vi+2E0Dd7BWVDU2jeEev+f5RN9WPP/5Eqp4uPF9P7sd0DoscM4Zd/Gd2nah sj9x5zOuQd6VL4gIpZ+ENpmmjA0O86YVgZCc/5V1B9WTlGwRu9bBpPd+HcA0IUJv69Md 9NbO7W2Itk+q33nwvzRfXeZZyjakDY5xxKJcHxeSFqsLWBF+7oLvFyTF+KZ5eg5MCr8n ey3RteBTWib+uvY6Ppb61yXwd3GVVc+twDWqXlhSXiTu1mXIb4Mts6DIqZ6xnsCvDB1m DvHjJzqAHwKjdNEVNF6dktj1jOdwBaRjpSv+jDWUInRP6LXZkN4HA57NElxn3hHcc0xS or8w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si2099235ejy.263.2021.03.11.08.55.34; Thu, 11 Mar 2021 08:55:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbhCKQwb (ORCPT + 99 others); Thu, 11 Mar 2021 11:52:31 -0500 Received: from mga01.intel.com ([192.55.52.88]:23860 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbhCKQwW (ORCPT ); Thu, 11 Mar 2021 11:52:22 -0500 IronPort-SDR: YAdINEIgmbH/hQVcIK1v9V1MPj7M6ZP7BEzzK0lVX/pS4MtkjYC1k04fkX/fyRWdO0SVRRTCJH Zo/gr2Wrm5wQ== X-IronPort-AV: E=McAfee;i="6000,8403,9920"; a="208524935" X-IronPort-AV: E=Sophos;i="5.81,241,1610438400"; d="scan'208";a="208524935" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2021 08:52:16 -0800 IronPort-SDR: pLYlvNMkjbGeEf4DGOz05C1/jN6MKQ7sSXym97DOI81RuiFg9om+rbzMSFdenQWzFhhjJnrQPp Zt1HnO3fx8QA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,241,1610438400"; d="scan'208";a="409545876" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga007.jf.intel.com with ESMTP; 11 Mar 2021 08:52:11 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 11 Mar 2021 08:52:11 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 11 Mar 2021 08:52:10 -0800 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2106.013; Thu, 11 Mar 2021 08:52:10 -0800 From: "Luck, Tony" To: Andy Lutomirski , Aili Yao CC: Oleg Nesterov , Linux API , Andy Lutomirski , HORIGUCHI NAOYA , Dave Hansen , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , X86 ML , "yangfeng1@kingsoft.com" , Linux-MM , LKML , "sunhao2@kingsoft.com" Subject: RE: [PATCH v3] x86/fault: Send a SIGBUS to user process always for hwpoison page access. Thread-Topic: [PATCH v3] x86/fault: Send a SIGBUS to user process always for hwpoison page access. Thread-Index: AQHW+52QL4Na2ZzwuU6zOFVHHVSkcqpmUikAgAAvRAD//40+AIAC4sSAgAMSD4CAA5534IAAicMAgAKzWQCAAAergIAGtN8AgADz2wCAAI0/AP//fEfggACQgACAA46dgIAAAmIAgAB7hlA= Date: Thu, 11 Mar 2021 16:52:10 +0000 Message-ID: <0a0909a9005842fa9e49ba9917580e79@intel.com> References: <4fc1b4e8f1fb4c8c81f280db09178797@intel.com> <047D5B49-FDBB-494C-81E9-DA811476747D@amacapital.net> <20210311091941.45790fcf@alex-virtual-machine> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.1.200.100] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBJIHRoaW5rIHdlIG5lZWQgdG8gYXQgbGVhc3QgZml4IHRoZSBleGlzdGluZyBidWcgYmVmb3Jl IHdlIGFkZCBtb3JlDQo+IHNpZ25hbHMuICBBRkFJQ1MgdGhlIE1DRV9JTl9LRVJORUxfQ09QWUlO IGNvZGUgaXMgYnVzdGVkIGZvciBrZXJuZWwNCj4gdGhyZWFkcy4NCg0KQ2FuIGEga2VybmVsIHRo cmVhZCBkbyBnZXRfdXNlcigpIG9yIGNvcHlfZnJvbV91c2VyKCk/ICBEbyB3ZSBoYXZlIGtlcm5l bCB0aHJlYWRzDQp0aGF0IGhhdmUgYW4gYXNzb2NpYXRlZCB1c2VyIGFkZHJlc3Mgc3BhY2UgdG8g Y29weSBmcm9tPw0KDQotVG9ueQ0K