Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3108019pxb; Tue, 13 Apr 2021 19:26:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh4spwAiAqI1RDAp8xrhmTwZf8jGxqlpsGiwxTnOq7Yg+ptHuXPTmanqU16uREPHOFC/jN X-Received: by 2002:a17:906:4c82:: with SMTP id q2mr35789143eju.80.1618367167108; Tue, 13 Apr 2021 19:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618367167; cv=none; d=google.com; s=arc-20160816; b=fhrnjr9Iy6kZOooof2jBG3uM0j91iULLjXVwCFsNugfRApmySbUYMNkgT4SoKAmCjp +D+nRpE8gWnlnByA3RghdbYvFxf7+gBtwXYnJ4ms6MI6jYwKARqaPwhR8WsxNA68KQW+ 4CwpBc/V6JC5BUagfPIXokPnplSWU1FN5GqIaCIw7mR+c2/0u9QtoAV2nt6Xh8zAIzZK DJbhKftLMETvqihYXc6UJVGCjAZTz/r0867c3phwSOuVuuH940hR8ZrukGAxpGQK+0rQ okLMQeId8lRifsuhLeY5na/bcU9KW93iqepLW6barMQUYPDpDoTJlmgLFnT7uAw7iAs3 4JXg== 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=WT21uRFfxG57dpy86wdnFTmJ/6KQdICChGRZJ5ahLTs=; b=rN6jHh94zauPelhIcG+7FFg3E89LNw7asGhMja3l/KlXZ8xVgLl4xXnsqedAlmjaBh C59+YlMkrDk5DDTUJ7JyiXuMze2Y8HwtynK/Up9KfXvdJfmekwr/F5jsbEG/Af2jxkjR 6gSNNEikj1rKe6TGUbBM71nxbww/omOeOvl3v2g0cHglTPzHC2Fx28t4jJMH6g+Wdcr0 R89awfEVYezYAyQPn23tWGVat52Sd+ydJDK/rbtgo0EUe+5TZjZkHSj8npe7Z746qx4p SAsLP1prtlOIWqFjMYwRY3921+s1leaIaGwbMPQmk0V+RHiPf6AGVbSB9dQMFJK44TnB DwQg== 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 cz23si11407661edb.378.2021.04.13.19.25.43; Tue, 13 Apr 2021 19:26:07 -0700 (PDT) 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 S241847AbhDMQVp (ORCPT + 99 others); Tue, 13 Apr 2021 12:21:45 -0400 Received: from mga17.intel.com ([192.55.52.151]:50746 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243617AbhDMQVn (ORCPT ); Tue, 13 Apr 2021 12:21:43 -0400 IronPort-SDR: vDGbHZqvdumhyllk8hPbLu5kZNRWOKNlWBTW6LTLXo92JlMifG0a0jc9VFZ4cilPaOgTexDrK5 ceSzNy30YXJQ== X-IronPort-AV: E=McAfee;i="6200,9189,9953"; a="174548200" X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="174548200" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 09:13:05 -0700 IronPort-SDR: 1pO1hJaf8WINRL4wbzdxmyH32S+GgXOczS4j9m4/wM9SwmUlTFBg3ogbHz4fddrBKoZrsmjX49 b1BCNxTidZfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="443484427" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 13 Apr 2021 09:13:04 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 09:13:03 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 09:13:03 -0700 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; Tue, 13 Apr 2021 09:13:03 -0700 From: "Luck, Tony" To: Borislav Petkov CC: "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Andy Lutomirski , Aili Yao , =?utf-8?B?SE9SSUdVQ0hJIE5BT1lBKCDloIDlj6PjgIDnm7TkuZ8p?= Subject: RE: [PATCH 3/4] mce/copyin: fix to not SIGBUS when copying from user hits poison Thread-Topic: [PATCH 3/4] mce/copyin: fix to not SIGBUS when copying from user hits poison Thread-Index: AQHXIdNZ5cXe1TMEnUGYFh4Lw8pmVKqqGL4A//+RoICAAS+iAIAAFhAAgAfbOAD//+zj8A== Date: Tue, 13 Apr 2021 16:13:03 +0000 Message-ID: References: <20210326000235.370514-1-tony.luck@intel.com> <20210326000235.370514-4-tony.luck@intel.com> <20210407211816.GP25319@zn.tnic> <20210407214310.GA479383@agluck-desk2.amr.corp.intel.com> <20210408084958.GC10192@zn.tnic> <20210408170852.GA485019@agluck-desk2.amr.corp.intel.com> <20210413100722.GC16519@zn.tnic> In-Reply-To: <20210413100722.GC16519@zn.tnic> 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 PiBTbyB3aGF0IEknbSBtaXNzaW5nIHdpdGggYWxsIHRoaXMgZnVuIGlzLCB5ZWFoLCBzdXJlLCB3 ZSBoYXZlIHRoaXMNCj4gZmFjaWxpdHkgb3V0IHRoZXJlIGJ1dCB3aG8ncyB1c2luZyBpdD8gSXMg YW55b25lIGV2ZW4gdXNpbmcgaXQgYXQgYWxsPw0KDQpFdmVuIGlmIG5vIGFwcGxpY2F0aW9ucyBl dmVyIGRvIGFueXRoaW5nIHdpdGggaXQsIGl0IGlzIHN0aWxsIHVzZWZ1bCB0byBhdm9pZA0KY3Jh c2hpbmcgdGhlIHdob2xlIHN5c3RlbSBhbmQganVzdCB0ZXJtaW5hdGUgb25lIGFwcGxpY2F0aW9u L2d1ZXN0Lg0KDQo+IElmIHNvLCBkb2VzIGl0IGV2ZW4gbWFrZSBzZW5zZSwgZG9lcyBpdCBuZWVk IGltcHJvdmVtZW50cywgZXRjPw0KDQpUaGVyZSdzIG9uZSBtb3JlIGl0ZW0gb24gbXkgbG9uZyB0 ZXJtIFRPRE8gbGlzdC4gQWRkIGZpeHVwcyBzbyB0aGF0DQpjb3B5X3RvX3VzZXIoKSBmcm9tIHBv aXNvbiBpbiB0aGUgcGFnZSBjYWNoZSBkb2Vzbid0IGNyYXNoLCBidXQganVzdA0KY2hlY2tzIHRv IHNlZSBpZiB0aGUgcGFnZSB3YXMgY2xlYW4gLi4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