Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1970364pxb; Mon, 8 Mar 2021 10:35:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiIybBTVrUy6pTpuqmKJlRvQ79W9BdHGZSIUUC47OT5aiaU0WYp8zRwFZXdToHNP/0dyCA X-Received: by 2002:a50:e1c9:: with SMTP id m9mr24666052edl.307.1615228534274; Mon, 08 Mar 2021 10:35:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615228534; cv=none; d=google.com; s=arc-20160816; b=t3SYvKtiZKi79D5Z5V8LJ8Joy0z0VUNtgU4hBWccCor6nrQ0WhMPPAb/WIbBwO9fai iK0+8FAh06bka63oRsHnwImxqktjTYaEmNAlz5uoXvRC9ZYmRNE2nys2WXyc1q8UgOfi MyTxvfIpzHFHNKrVxbRCS770BwygFDsMGwUjxAnta0u0CYv6n4csnSBXkEfesk584w3E tzFFRvJY1ISgczVTkjWKAI7MUquLM2hI3l8Sxk+CeVacd6pnhnCQE/WL67/5Fw4s83sU wyWeOJ15Kj0HKrfKMLl/k6Zef4dcSSspPoVZ7TxeC8dHHCJ/B2TwSSku++lS9KsP1qpx kzfg== 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=F2phxKTJMMW0z6LRIS0incy7Ehxu/XrxHNQj8ARvRqQ=; b=GiEmfdStECF3QLssevIrjiyCa25a9IXQwTycoSN2lV6dUXoUiEuLf378xR6usIZ/+b XS3ZnZSX2X6b65FYxzl+BWKBc38YkCmQkRItrnu5EnaCNk7pbmKpvabmcBWBdUfBm4al Jt4cITlfiWVzpswUg7CZtOU33K/TlykFCCdM3agAVM+ficd2AnYf24fgD8rP0RfedkyP RohQ152peEJtlB+nGwfVW1w2b3Zx1J81nVc1zTDSEYlMA+HcqHsDP4n+ZWIEaKCzpLCN uW94tyJmslAoNC6mcCla8HEU9USA9TF1ax1SlmbVbNYyIyrixTwc3wDJJ+W1cFtKZRFk aTzQ== 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 d3si7637426eds.83.2021.03.08.10.35.11; Mon, 08 Mar 2021 10:35:34 -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 S230075AbhCHScI (ORCPT + 99 others); Mon, 8 Mar 2021 13:32:08 -0500 Received: from mga11.intel.com ([192.55.52.93]:62939 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbhCHSbr (ORCPT ); Mon, 8 Mar 2021 13:31:47 -0500 IronPort-SDR: qCvNj870y8vPboMto6mMCXingGJyTszw5K9OFrdsM83y+IQC670uN2m30cNMswDYH2elqkXynu k93pCAx7Mf4A== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="184720942" X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="184720942" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 10:31:47 -0800 IronPort-SDR: 1vpfTv/xLbfg8qBk0iB7CACv0cQC1t0xzAP+6vxKIPs54rdQcftIuvJ76W8DI+K7rW9QE07fhe muP5bA7eyJ9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="369500948" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga003.jf.intel.com with ESMTP; 08 Mar 2021 10:31:46 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 8 Mar 2021 10:31:45 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 8 Mar 2021 10:31:07 -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; Mon, 8 Mar 2021 10:31:07 -0800 From: "Luck, Tony" To: Andy Lutomirski , Aili Yao CC: 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 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//fEfg Date: Mon, 8 Mar 2021 18:31:07 +0000 Message-ID: <4fc1b4e8f1fb4c8c81f280db09178797@intel.com> References: <20210308174912.4ac9029a@alex-virtual-machine> <8F3F763F-59CC-4E25-B4DE-89CD0632F754@amacapital.net> In-Reply-To: <8F3F763F-59CC-4E25-B4DE-89CD0632F754@amacapital.net> 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 PiBDYW4geW91IHBvaW50IG1lIGF0IHRoYXQgU0lHQlVTIGNvZGUgaW4gYSBjdXJyZW50IGtlcm5l bD8NCg0KSXQgaXMgaW4ga2lsbF9tZV9tYXliZSgpLiAgbWNlX3ZhZGRyIGlzIHNldHVwIHdoZW4g d2UgZGlzYXNzZW1ibGUgd2hhdGV2ZXIgZ2V0X3VzZXIoKQ0Kb3IgY29weSBmcm9tIHVzZXIgdmFy aWFudCB3YXMgaW4gdXNlIGluIHRoZSBrZXJuZWwgd2hlbiB0aGUgcG9pc29uIG1lbW9yeSB3YXMg Y29uc3VtZWQuDQoNCiAgICAgICAgaWYgKHAtPm1jZV92YWRkciAhPSAodm9pZCBfX3VzZXIgKikt MWwpIHsNCiAgICAgICAgICAgICAgICBmb3JjZV9zaWdfbWNlZXJyKEJVU19NQ0VFUlJfQVIsIHAt Pm1jZV92YWRkciwgUEFHRV9TSElGVCk7DQoNCldvdWxkIGl0IGJlIGFueSBiZXR0ZXIgaWYgd2Ug dXNlZCB0aGUgQlVTX01DRUVSUl9BTyBjb2RlIHRoYXQgZ29lcyBpbnRvIHNpZ2luZm8/DQoNClRo YXQgd291bGQgbWFrZSBpdCBtYXRjaCB1cCBiZXR0ZXIgd2l0aCB3aGF0IGhhcHBlbnMgd2hlbiBw b2lzb24gaXMgZm91bmQNCmFzeW5jaHJvbm91c2x5IGJ5IHRoZSBwYXRyb2wgc2NydWJiZXIuIEku ZS4gdGhlIHNlbWFudGljcyBhcmU6DQoNCkFSOiBZb3UganVzdCB0b3VjaGVkIHBvaXNvbiBhdCB0 aGlzIGFkZHJlc3MgYW5kIG5lZWQgdG8gZG8gc29tZXRoaW5nIGFib3V0IHRoYXQuDQpBTzogSnVz dCBsZXR0aW5nIHlvdSBrbm93IHRoYXQgeW91IGhhdmUgc29tZSBwb2lzb24gYXQgdGhlIGFkZHJl c3MgaW4gc2lnaW5mby4NCg0KLVRvbnkNCg==