Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp392225ybh; Tue, 10 Mar 2020 00:27:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtObUzwu6kek4EHuzMopCmcg2Cfz7cEsc5XwLRgoWE2aiwoxdRxocE+3AUJjGcgYOD6AZzX X-Received: by 2002:aca:4c12:: with SMTP id z18mr185590oia.43.1583825270094; Tue, 10 Mar 2020 00:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583825270; cv=none; d=google.com; s=arc-20160816; b=P4BtC85dvCheGPMr9njYkBeYWfhqGrMvsDJZ6Jwd8E9GP7VziHmEUQr+yf3tiyMx2p /t5F4g9etOfhsu1LSjhjXgV8J5eBZs00dBFxGBExML47/KXv/9jDqq27a5Qz60K8SX0P KZb5UkzVH29YTa/JP2HQEtXGSZ74D5urocaNbM3Xl4xxU93Hqakf9aGaWw6SCObj9mTF I6gsJnZYEhd7aoIdp/LltoGl7Zi3vNZieCnN/mUhBhYoi/7neCJF0r/AVHchX+nCT+KN PklueVisa9s3GB5eSMX5t5sQWMlCiaSBqzQ6POF1FLhIa9wMPadqDCXDilTudQKoLTMI mJ5Q== 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; bh=UhwKMJ7yFR9avqAkWMqO3baxYTG/t9Nus+paZD3DIL4=; b=CnmNCxbyH99uAJDPc6187zUZkPlH61M6mdDsY2h5xhfqmS35ayF1ESRtCcpA8gqYKb KFDDDZD/ga+4qPSgMjRMzy1WYr5oX0go0wDpCtHcdKYavv7NOzVUCtkNZ9VmaAox/Os5 oybmXYBd6l/wp7+Q5N+dNKS577Oi2wbDU8KgqEJHGUud4HN/UT6Ky6XsAYiMkgsBxx+5 hqt7sDDp/AefWQUfirrrFARLvmah22uqqTr0/J1wiNWsWGaNLqKxpU1CNfMxneyivfHu krgRk7+vvQvCxcdw6Ouaa0dYDCxN3p/49z5KAq3bSc3SLHDd44UKN4giO6aXog8n3Tcd LxRw== ARC-Authentication-Results: i=1; mx.google.com; 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 v2si5165112oic.80.2020.03.10.00.27.37; Tue, 10 Mar 2020 00:27:50 -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; 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 S1726331AbgCJHZb (ORCPT + 99 others); Tue, 10 Mar 2020 03:25:31 -0400 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:60163 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726202AbgCJHZb (ORCPT ); Tue, 10 Mar 2020 03:25:31 -0400 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 10 Mar 2020 15:25:17 +0800 Received: from [10.32.64.44] (10.32.64.44) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 10 Mar 2020 15:25:15 +0800 Subject: Re: [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU To: "H. Peter Anvin" , Borislav Petkov CC: , , , , , , , , References: <1583733990-2587-1-git-send-email-TonyWWang-oc@zhaoxin.com> <20200309203632.GB9002@zn.tnic> <79c4bc05-0482-3ce7-0f93-544977e466dc@zytor.com> From: Tony W Wang-oc Message-ID: <621e255f-f497-a324-b004-4cb9b84784d0@zhaoxin.com> Date: Tue, 10 Mar 2020 15:24:37 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <79c4bc05-0482-3ce7-0f93-544977e466dc@zytor.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.32.64.44] X-ClientProxiedBy: ZXSHCAS1.zhaoxin.com (10.28.252.161) To zxbjmbx1.zhaoxin.com (10.29.252.163) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/03/2020 08:25, H. Peter Anvin wrote: > 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. Agree, and I think leave this config to some users are meaningful. Moreover, if remove the X86_UMIP config, a kernel-parameter like "noumip" may be needed? Sincerely TonyWWang-oc > > 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 > . >