Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp111757ybh; Mon, 9 Mar 2020 17:26:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsTJvyUdPcCMnFWp3P6vbMCvBqmvUYPQfyrJbY+v+R89dWJLbT1IdF6n/h8qiKe8mhCnIZ+ X-Received: by 2002:a54:4f16:: with SMTP id e22mr1327832oiy.170.1583800019554; Mon, 09 Mar 2020 17:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583800019; cv=none; d=google.com; s=arc-20160816; b=jK7V1au93xlS3K4PnaNMZPoq9FR+vFy1ew9zuHD8Oa4VghWy8c941yIE/yRC/1K65a gUFpMNaT4DmPGuyqRMWwj1wXqGmUfDxfYnoDyyfSuHfSdCJYAJz6uHkxMHkf7/jfAV3U XTR3VOsLlfcsThY7aJ0a5Yv0cOkxGjX9QTG+igIXj48vJmCCxScxxvgo8IjieD4rYTZc IY4LPsnWY+NPvt8QBn2Z2SWbkJX9M9zqxYnSWEBQnAfNYZTcxMbyuN/iCMUA8vZC7LP4 7aJqaE2TDL5/XNLcNJeJUYT3EO3Mg5EL0Ymh2yyZo4smE+sE+wkjfNNDNP6nVn6HFYZC yEiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=l8cIfFOJQ1rud7lMJxnw7VNi3H5zJJeiLSZ6XUw35uc=; b=UZ7kektxEOGX1S5FlTM9Uev0ZJgiNDf5/V9HfI2m7LtUR/GupaaesXtyabbJLBB6N1 rqzxwRU2xLpBvYWMpKCUzMBV6lC502YnwuZS0D524ieuTO1PBPtI5OLH6yAtbRYstdlq 0HcEsHYatyBDLynt7BenIdFJVZeSNr8g1yj2tRvkBy9Dq5+1c1msZIaP3CMYqAnLVOBQ VfXA6g0q+Y7exR98m85CoYSPuIit+Jszm6eny+BUEba4D1XwWlpNyKx2bDGt1lOUk+Tl p+1q/EwK34dgMCER+sjozTjKydnaVIzoBux5TrZIcI9TsZ+mmGZ4PjDYRSJEY0JlWjUu 9KsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2020022001 header.b=A7rtsSNZ; 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=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si6970584otd.269.2020.03.09.17.26.46; Mon, 09 Mar 2020 17:26:59 -0700 (PDT) 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=@zytor.com header.s=2020022001 header.b=A7rtsSNZ; 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=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727550AbgCJA0S (ORCPT + 99 others); Mon, 9 Mar 2020 20:26:18 -0400 Received: from terminus.zytor.com ([198.137.202.136]:59993 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727322AbgCJA0R (ORCPT ); Mon, 9 Mar 2020 20:26:17 -0400 Received: from hanvin-mobl2.amr.corp.intel.com (jfdmzpr03-ext.jf.intel.com [134.134.139.72]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id 02A0PxL22004965 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 9 Mar 2020 17:26:00 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 02A0PxL22004965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2020022001; t=1583799962; bh=l8cIfFOJQ1rud7lMJxnw7VNi3H5zJJeiLSZ6XUw35uc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=A7rtsSNZK/9OYmTs2D5xuT9LYA1BCu8CRBgg1xrxP3aDsc+WCjhYRgrSARjA7R7NO PH/c4KGAieKLWDvBlGjYo2lWQ0vaOQfcqofz4meGbl8oJUhHbOfzOQQu7zomaa1aoM 9ZCL586WG1yfsEGIPBtRwqBKI4BfgjlypJyblQe6clXy3yt6j4ZH9yQ5H08h6krFAS 80g6oeeQfAtjvi+hSR40YQDXVgWmvI7G2IphR4Cp/98VdIFQxH1hM/9RaBY6MBFF3E Xie6pUS3NpgxRPSi8MNYzx/h+IbezJyUIppgrpKyD2uYF3pjrBDbb193yXZcriQ5be ewwCJvlpFuLDA== Subject: Re: [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU To: Borislav Petkov , Tony W Wang-oc Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-kernel@vger.kernel.org, DavidWang@zhaoxin.com, CooperYan@zhaoxin.com, QiyuanWang@zhaoxin.com, HerryYang@zhaoxin.com, CobeChen@zhaoxin.com References: <1583733990-2587-1-git-send-email-TonyWWang-oc@zhaoxin.com> <20200309203632.GB9002@zn.tnic> From: "H. Peter Anvin" Message-ID: <79c4bc05-0482-3ce7-0f93-544977e466dc@zytor.com> Date: Mon, 9 Mar 2020 17:25:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200309203632.GB9002@zn.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-03-09 13:36, Borislav Petkov wrote: > > If you're going to do that, is there even any use for that config option > at all? > > AFAICT, it adds ~1K to kernel text so we might just as well remove the > ifdeffery completely. The code ends up built in in 99% of the cases > anyway... > Perhaps the super-tiny-embedded kernel guys care? Otherwise it seems pointless. In general, once INTEL and AMD is enabled, it is just a matter of time until other (still existent) vendors add those features, at least for core features. -hpa