Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4776104ybc; Tue, 26 Nov 2019 14:34:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxd7HU3efIkR7+U9ViKHT+EnjCMUqJoo5FfaOJzrJ8HnhtGsFyir4PFJyqVtCN809m5VxIO X-Received: by 2002:a17:906:a841:: with SMTP id dx1mr4198980ejb.259.1574807657152; Tue, 26 Nov 2019 14:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574807657; cv=none; d=google.com; s=arc-20160816; b=y6gUL+Uq1nkFq8tFksxb0qzkjYSh5aOR2wuL6CSWeC9lFmy6Qd2iat36BPWO9daj6f e/EkxT0UUpI+CJrwVtafT2qvsuAjbXT5Bw7gVjsiKeOa4a3vMFkSZms7mXUSPYbIS+tm lzQG0FQT9gVZZbqMETNeM9eCYARG98WBfU7VpU7UDjzL/FnTAjRwi9FDcKALdrM/yxJp L5e15jqtFwrIcxQyqNl/BoxOr2ZqpLOnzYfDgtV3a8GhjGBbM7sySgsr21PreCMXQUzS rfJ5am8x3B70dYy9acA7g66bbg42Lk1WaolMaLa6kSJEwIz+Tq6hu7BOO8QcbdGtC9KP huyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=SvRgiXbuOoqNEm3OxNPvyr3hgCCZTVydK0BpMfWn0as=; b=FftbvG2pZJdCcnZ0srXXEuSQ2RzV24W/bL8F90T0MiD/3yzuvW0fGN2N4B5FJLftN/ EFt9/AgoxttZlejZ3tFVXjhu5yAWabva2CqqbE7depfEHwPB9ZkMclb1hL5nfEsh5QfU VUJxQVfECY5an6RMRrz+k7nbhCr0kFdl+iUYjX2rb8FcIE9ZZjJpaiDoyuoyPHDpNyAL mKk385ZQcrLsrXqYmZ6vTBHzYGSqHYPwzA+1/H5IlUgz9532szm07n89Oz3bH55D4jCW IJN59Sn3I3v+68vYSicMCRxLHhfBJyzLTwgIAosP16Eu+TM0fo+eHFQP5AjLtZXvEG5i drzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=GOi0Pvb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si9285532ede.431.2019.11.26.14.33.53; Tue, 26 Nov 2019 14:34:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=GOi0Pvb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbfKZWaQ (ORCPT + 99 others); Tue, 26 Nov 2019 17:30:16 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:34027 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfKZWaQ (ORCPT ); Tue, 26 Nov 2019 17:30:16 -0500 Received: by mail-pj1-f68.google.com with SMTP id bo14so8964467pjb.1 for ; Tue, 26 Nov 2019 14:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=SvRgiXbuOoqNEm3OxNPvyr3hgCCZTVydK0BpMfWn0as=; b=GOi0Pvb5BaNFOVx+WFLVcqM4IorZsaBZXe384eIVtRGd31vcXMH3bWNLdPt/IW4Ucp yGnEwC8DFatLSDA5cSWvTio8PtbEstwYj8/C7Ms94Qw3xfp2tlD05DP52DX24lNximIZ TK+pVJqhtC+eBINCQcNwdBMtaitraiWIdvaj7r4jxF6I3XGbtAwEuIQ4uKqezuwW4D78 3M83G7U8O+JxPezcjk7ennNKb+pRPf40/JWk1U9MZ2Y3IPcUUaww3Aron5e291NZMhT4 L6EH12vvm4L04PkHGSQUvblelp2S8HkMkElPEy4NmonmTOfF80UXo5w2IMSzyisDC8k/ bVYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=SvRgiXbuOoqNEm3OxNPvyr3hgCCZTVydK0BpMfWn0as=; b=HKLj8N2BQr83NJkWhf1sJOPRSd2N8sM255Opr5ASv/zricROqaYfUgxc3kQxjpCQ6l MD5jm2A2hoN3pyXhsdg78iJ87CZv0/BRORvz+UE2ZNR3UkdEWekdYJFKx5cnolY2tsu3 d53Et8/+4Gwul15pAHi/AuZQBq0fn7PohlMp8fBOTxRWMZzW9maAuj7q5V8QOTY7QgOq rJjg8vE+4MdBLvPsBRGDqaxsVTClD6O8dUVO5Iw0npX8XUyKJRc9zqYcnABRIrsEG1in mIVfM4un/hCqihkJHHFqHLC08v+EtdXSEjusCtaddahbcpVVAOaq5ac43fNkPGXBKoja Ewiw== X-Gm-Message-State: APjAAAX6NtaNvjLYlFxw4+oRFOIbI5npzoCTFyYTzv+2s7HuPJy+tk52 +WspJEIvDtqGe4I8mHCr9wl2pb3WLiQ= X-Received: by 2002:a17:902:760b:: with SMTP id k11mr670928pll.272.1574807415400; Tue, 26 Nov 2019 14:30:15 -0800 (PST) Received: from ?IPv6:2600:1010:b02c:ebf1:d072:2f46:c89c:d06f? ([2600:1010:b02c:ebf1:d072:2f46:c89c:d06f]) by smtp.gmail.com with ESMTPSA id u7sm13287076pfh.84.2019.11.26.14.30.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Nov 2019 14:30:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: AVX register corruption from signal delivery Date: Tue, 26 Nov 2019 14:30:10 -0800 Message-Id: References: <20191126221328.GH31379@zn.tnic> Cc: Barret Rhoden , austin@google.com, Sebastian Andrzej Siewior , Rik van Riel , x86@kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar In-Reply-To: <20191126221328.GH31379@zn.tnic> To: Borislav Petkov X-Mailer: iPhone Mail (17A878) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Nov 26, 2019, at 2:14 PM, Borislav Petkov wrote: >=20 > =EF=BB=BFOn Tue, Nov 26, 2019 at 04:23:40PM -0500, Barret Rhoden wrote: >> Thanks; config attached. I've been able to recreate it in QEMU with at >> least 2 cores. >=20 > Yap, I can too, in my VM. >=20 > Btw, would you guys like to submit that reproducer test program >=20 > https://bugzilla.kernel.org/attachment.cgi?id=3D286073 >=20 > into the kernel selftests pile here: >=20 > tools/testing/selftests/x86/ >=20 > ? >=20 > It needs proper cleanup to fit kernel coding style but it could be a > good start for collecting interesting FPU test cases. If we do this, we should have selftests/x86/slow or otherwise have a fast vs= slow mode. I really like that the entire suite takes under 2s.=