Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4409790pxb; Thu, 14 Oct 2021 04:46:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdTmF8f6IokPFIYeiLBsWHYpLpRLovPub1WXnGfjMvapfzEu7ICO/kHCV0yicskg4LCEbv X-Received: by 2002:a17:902:ed0b:b0:13f:4318:491a with SMTP id b11-20020a170902ed0b00b0013f4318491amr4592387pld.4.1634211972021; Thu, 14 Oct 2021 04:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634211972; cv=none; d=google.com; s=arc-20160816; b=Ng+tCkkdyZVy1w8Fg2ntzPCuth+LGAwTUGU/10IcysEX8dTwsDQbVkBNMBXEMYwQEH B7vfsoBiHp6tNov2StakepvNPR23VZTkDrFeMMlPX/2F4+pVoOtwk3GPTXefghrRYh+R 6/kl3lR8TkAmTzF34YSQrrqLoS3Z6TJ7WgwhHPlI8uMmUuvEjWJujT4BX9GGJiMjcWzc YYYPY14CgRFHukHmqietLno4xImTkKlX2MTQlmCz9BO3LAqyWvo8pOtSpckAkUFZuYFc 8ePvfK/QPB26FLMFhtSnxKpu1xXREdtWPb6v8ALRaSMXPCf3Dr/mSjEsBXn8mmuuj1xs FGtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=5nSeUuPqkYRXujyAby+ZjUHz8ISlyRT/jSxC/nUE4K4=; b=OFm8V8e70d+dupum9WpeqZBUA0rnMQb0QD4AnJl0WgandL6RIzPEQbGZZoVBOLkIzS CkbZNrNQBCiXhIhsDXyvLFarbA+HJc2zCSwWYDnNS7B8v4OAH2Ymf4v3MwRPWDaGcbfR VMa+k87BuLfJsQuzffmrPJYl+Y+j/rkJ4QJyPz7JZ/ddx23MQtuLqcfZT+hAwC1GEiPh yJLtnY5rrwwgGICo1nW9J8uaHtM38SBqsivSYqCKofjLLHqGP+Kp5jXY07rutF/bPJcv Sydf1IeesQ7tJuMp3dmtxJmQOzO0oQuDyKLkYIqjuYt1jE2F0mOX0kMS/zYGerpxwQlk 6wBw== 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 17si3118709pfw.315.2021.10.14.04.45.58; Thu, 14 Oct 2021 04:46:12 -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 S231251AbhJNLqp (ORCPT + 99 others); Thu, 14 Oct 2021 07:46:45 -0400 Received: from mga05.intel.com ([192.55.52.43]:27262 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbhJNLqm (ORCPT ); Thu, 14 Oct 2021 07:46:42 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="313858117" X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="313858117" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2021 04:44:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="626772293" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by fmsmga001.fm.intel.com with SMTP; 14 Oct 2021 04:44:34 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 14 Oct 2021 14:44:33 +0300 Date: Thu, 14 Oct 2021 14:44:33 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Borislav Petkov Cc: Ser Olmy , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: [regression] commit d298b03506d3 ("x86/fpu: Restore the masking out of reserved MXCSR bits") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Patchwork-Hint: comment Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I have a 32bit installation here that stopped working. Bisected it to commit d298b03506d3 ("x86/fpu: Restore the masking out of reserved MXCSR bits"). dhcpcd was the first thing I notice being affected on account of network not coming up, and after trying to look at it with gdb also gdb turned out to be broken. strace of dhcpcd shows a SIGFPE getting delivered, after which it gets stuck (seem to be sitting in poll but not responding to even ^C). And gdb seems to be stuck in a perpetual SIGFPE loop and won't even get to the prompt. The crucial bit here seems to be that most of the software is built with -mfpmath=sse. After rebuilding dhcpcd without that it started to work on the broken kernel. Rebuilding gdb didn't help so I whatever SSE usage is causing the issue is presumably happening in a library. Had to do the rebuilds on a working kernel as well because otherwise the build itself would die to a SIGFPE somewhere. Tested the same disk on on both a 64bit capable Pentium D and a 32bit only Pentium 4 just to rule out the specific CPU. Busted on both. -- Ville Syrj?l? Intel