Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4677368pxb; Thu, 14 Oct 2021 09:46:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLF7sRPcL3fPDmn26gyLvJU0Pd//WAakAuQQ/My75fjnXkwtX3BnkPCwR4XepnLMnVwFPy X-Received: by 2002:a17:90a:ba88:: with SMTP id t8mr21442830pjr.15.1634230012051; Thu, 14 Oct 2021 09:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634230012; cv=none; d=google.com; s=arc-20160816; b=p5MffKcvggQp+wpptO4wMeuJ+0VaoeAWRS5XUXj86t+2bq8HI868tZe9onNLAi7w0R L10vB23DAVKp/vo26UU3URrZVlQJm8FTZo7h8UpAbsatL3YNpxndlzzo5XXs0K4Opkdk Z0mTyL996q18mNldXa6faT+zF2sFTYA0suCXGBseisZXXoRGJS/TP2hlNIo7ebg6jElS OxCJeR4R0nUzICxbaG/x2LxkpDg7OsaeBNvbf1paWXmxIkCQc6b9CooUNW+9sgmOMJoi DKsvx7LjN/rqbXhmOFsFMBfGf7uFsEYc2na+Sn3qMzO26ocs8hcNQEBEqv8vGpe86AJ3 cJLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vDDmqTSSM2bL2DR7PpN6E5Y6DxdU1LJ7c+RAog1a0nM=; b=OA461wG4fFWNttdOrA7eLxSuaPhkoRSdqKQOBeNSL+i7ijA6vRztAL+Iq6EZMtz+yW vYo5uunLfz0LHNr9U8xC6bWbhIYtGeWkJIrDqlBc1tDb2dUXi2rkiTUVSPYIPNrIGJxh tQ8jCBZQrXLppk51iv1qoDJYAHtS/F1nduCNwGvna8j7nvmCalEemZpVoOu8616OsXx8 uyMt4WQFeL7+12u0ntq7IZgAvXC7F8LZvSrX/qdj+kAauBEfJXi6KHlQtuuslaXS4i2C D2yY0XrWM+OM4MrJivZ/mO5DvC8UeXvroCgbJyWY2PWrWuJL5+dIgqImVDJFbIAUnSnv U9sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=VgkQ0zI3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v185si912646pgd.373.2021.10.14.09.46.38; Thu, 14 Oct 2021 09:46:52 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=VgkQ0zI3; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232613AbhJNPAF (ORCPT + 99 others); Thu, 14 Oct 2021 11:00:05 -0400 Received: from mail.skyhub.de ([5.9.137.197]:44698 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231890AbhJNO7D (ORCPT ); Thu, 14 Oct 2021 10:59:03 -0400 Received: from zn.tnic (p200300ec2f0c72008718c38cc37e4684.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:7200:8718:c38c:c37e:4684]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 9C1D61EC051F; Thu, 14 Oct 2021 16:56:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1634223417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vDDmqTSSM2bL2DR7PpN6E5Y6DxdU1LJ7c+RAog1a0nM=; b=VgkQ0zI3OH+VHmOqIk/Ze9OAYnrgdN+QitI7/dYE8MBuEBZIL3vOen4abDrTvudTHx48NP OJhWOHWqXjK+LrlSj4zPdfAkcJUJw8vGxfOeJhqFrrgpLO0CxHJ5jeUHPtNpgwjc9mURco vRe0yg1ve1hGfpr5FeRKqOyD8aYE+MQ= Date: Thu, 14 Oct 2021 16:56:56 +0200 From: Borislav Petkov To: Ville =?utf-8?B?U3lyasOkbMOk?= Cc: Ser Olmy , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [regression] commit d298b03506d3 ("x86/fpu: Restore the masking out of reserved MXCSR bits") Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 14, 2021 at 05:43:14PM +0300, Ville Syrjälä wrote: > Hmm. Actually I just stared at the code a bit more it looks > a bit funny. Was it supposed to do this instead? > > - fpu->state.fxsave.mxcsr &= ~mxcsr_feature_mask; > + fpu->state.fxsave.mxcsr &= mxcsr_feature_mask; Whoops, I had it like that in the original patch: https://lore.kernel.org/all/163354193576.25758.8132624386883258818.tip-bot2@tip-bot2/ I blame tglx. :-) Does it work if you remove the mask negation "~"? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette