Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4516722ybl; Tue, 21 Jan 2020 22:52:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwaNz6XiHJIjgUexR8IytVW5xqZWTkzVshUDpU4tbqa4F584aKJeK2tPtY5sGBPj2cRtDnq X-Received: by 2002:a05:6808:1c5:: with SMTP id x5mr5922199oic.57.1579675979454; Tue, 21 Jan 2020 22:52:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579675979; cv=none; d=google.com; s=arc-20160816; b=Sa/g0mUpnjsjpat6nZHfrsmLJRhLylr1WzIuodktfQpl28rwdT90+XliU+J86u5euR Mwk6/ABWQWhU1DWwy2fnwPn37D+I3AlEE91/5/SQytRBqayAultV+kyH0u11mGi54Oi4 GN9iLMJEOcmyPuqwwpV7gKEJSMv5XUdr5D6lizfXQU1GXvEie8GpAKrSB8rmX2N+hoRB XCId8/es75nMb+16O8PsXKXWajzpV1rtmKE3fPdd9bhXCvhXFVyFS7QeZ4m1pgBZz4e2 KDbfG2jtPyEDa2b7AVllHt/akrke0932RcAav/QF4v1kLSczbbG/ljRmBP+MMDBehMeS RE8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ME6d4DYyOi6wbW88pXk/iuT1W4qA5ULF0fCJAkJm1XM=; b=Mbski3xueCeKdk0mOIrFFSG8TKrX4qiVZ91clOWjYbP3pnbHndLtoxHauOkOFdhChv AsNej7QI3EWTjFpLnC88hyiE4sKKpg/0AVZViE/YTVW+EzfdnDzMyFqsI+BgImLxpSrn 8sbByi9i6XKaZZGtd4fiQY650VHrAsIFSQxpqP9KSQFC//3AfqoDuUC/l8tKEs4MbJbl qUJVoGDjFGm12snN2z4/372xR5U8A+jTIw+4vgYPDC+1/pByIYuT5qMdjfjznCKRjZla VccHf9UaiITwSObd1fKwvt/WOTqh3uAGmja59pjVIjST7qI++u+PyJSr3VHP9P45bkmW d8EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nQXSQYrJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si21325504oif.211.2020.01.21.22.52.47; Tue, 21 Jan 2020 22:52:59 -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=@gmail.com header.s=20161025 header.b=nQXSQYrJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725975AbgAVGvu (ORCPT + 99 others); Wed, 22 Jan 2020 01:51:50 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46706 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbgAVGvu (ORCPT ); Wed, 22 Jan 2020 01:51:50 -0500 Received: by mail-lj1-f195.google.com with SMTP id m26so5484587ljc.13 for ; Tue, 21 Jan 2020 22:51:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ME6d4DYyOi6wbW88pXk/iuT1W4qA5ULF0fCJAkJm1XM=; b=nQXSQYrJ2oqbSQ7650g3xuvOFMoW1eYSr1Y2vBe69pePUHA7rdFyLrPd7ppQUPKH1B KmkEtItK/B7F/YNkABerW+IF/W7QbfPRlx4lomIQAVYygpM0HBv28j65y1BNyjEXITDb kYdW2REkQkRLOZ3IuH+qZj1R5bOl1FwbRkJfLOkm6JC2GvzSliwdrboNlCDKvjJwhtzT 9zkMLFCFU/f8eQqJf76HTz4dZdLNQcd4gkRKre4vQS/wS1ydpxe3gP6Od2Wa3K6Kq9WY 0qUnPyTYQupW7fdmiNAf5ghZ0pbOs8HzQESFyP4yr5rqU8K8JBXj8F78p2fHG7v/uLjO IZeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ME6d4DYyOi6wbW88pXk/iuT1W4qA5ULF0fCJAkJm1XM=; b=hUr2k5KSWkV0P6NspmnUMipEcEmQMUwF2FhbEvo5bbkeZgidCno/bcC3bmhweMvvEJ +QdBiar0YV7bRn9QJ0sQMbY6jd7MC0UBzEuLwCwa1E/RqVd40NqhRcbcfqzUP4yybKFQ vpvkENJ7W5PPocu3USIZUsRBXiAhoc+FuNjzJeVva3jxE3KjUk7SOckyOBL4kJYCtPxt j/etsq/fDfwC/6ArEgDW9vgKO/eoBWpEOjONqrUdSbmdC1NiirqimFQrxa3TrxIHbKCX vUx2QFnINEco2sCnTTn9yTq6QIcSxvYoFA5SbixyuMV8Mulmgh1uNkJAxEJrnSZ5V5jK MNJg== X-Gm-Message-State: APjAAAXnHgGZfQ56NVfS5y/uzvrYuSNVPBCvui83eApDwx0GZiGnm4ux dolvAMD+Ey2L1++v+5S1eAI= X-Received: by 2002:a05:651c:20a:: with SMTP id y10mr4308582ljn.216.1579675908551; Tue, 21 Jan 2020 22:51:48 -0800 (PST) Received: from uranus.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id v8sm19864330lji.16.2020.01.21.22.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 22:51:47 -0800 (PST) Received: by uranus.localdomain (Postfix, from userid 1000) id 0521F4615C6; Wed, 22 Jan 2020 09:51:47 +0300 (MSK) Date: Wed, 22 Jan 2020 09:51:46 +0300 From: Cyrill Gorcunov To: Dave Hansen Cc: Alex Shi , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, Sebastian Andrzej Siewior , Pankaj Bharadiya , Aubrey Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/fpu: remove unused macros Message-ID: <20200122065146.GI2437@uranus> References: <1579596611-258536-1-git-send-email-alex.shi@linux.alibaba.com> <20200121114326.GF2437@uranus> <73a88e85-6995-6e3e-5eb8-a8c2b233364d@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <73a88e85-6995-6e3e-5eb8-a8c2b233364d@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 21, 2020 at 03:07:23PM -0800, Dave Hansen wrote: > FWIW, I'm not a massive fan of blindly removing stuff like this. Maybe > it's better to remove the cruft, but it's even better to try to figure > out why I might have added them in the first place. :) > > I *think* it was an attempt to ensure that a resulting PKRU value can be > written to PKRU, independent of the type it was stored as. > > Let me see if I can come up with something nicer than ripping these out. Sure. Thanks a huge, Dave!