Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5346118ybf; Wed, 4 Mar 2020 22:50:54 -0800 (PST) X-Google-Smtp-Source: ADFU+vvtEa3f8sm4gY0F/bV/mVujwxaLl3qH6eqSezzjZRlyLpjODmIKdqy2kNCb0e7npk18cw6w X-Received: by 2002:a9d:4d8f:: with SMTP id u15mr5588309otk.261.1583391054344; Wed, 04 Mar 2020 22:50:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583391054; cv=none; d=google.com; s=arc-20160816; b=yH96AzoTTrSg7iR64kKBL/1/wu+dZbruIe9EQo35brwHlDtT2HpwMm0TJXcij6f5AS WEbch5GsSxegNjiOQf/uTF264fNEB6Q6m0To06E39HdcON+MO2Ohz7B7epHRSj/ljlC7 XSkNHG64SvhS5FX9pQsvVOxbnECDAqcwdyPcFxMP/fFnbr+w0pN8+0ugDXCT36X8mmSL V4Mw2Qlu/NLb0YiRlAi4Tl2hdO9x3pj69soSNtNgC8jYk6vZ9m+2GL95tz58l8nOIGfs beS9Ax4Gbgn9SI+ByT8I+hwhXEGe7S6reXrnCagkLT9P8CjDsuSjvbYtgdzbINmAUSCM yDew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=jeHhrjL/OtxqcM0qXqC/Dupvw60AgMkHbOcGXCVQ55k=; b=cZ2etGdENrC1C91LfFH1kPmlh74Zj6wJJ96kJBlOGbMcxZhjFDNh4nGB50iar6wa3G 1kHLVMlZ//7of7eQeTLEAmiOzC7GQ7cXA8op4HuSUPfFHFbGmEg32X+PptUlWqtDJE9F o6qBdk7Q3QMWy754R46cGGUJ+hpKtVjOkLuM/TlFhEEm0bvth+u+n++rh/dPIjIFeKH/ Obw+odowvBZaxHHA1PilUKBnG5dv0W/IOereT1gUbSYtZH8ELwTNBzo+5ebaviNlDM4a eoT9sqTyI+2wrERq7YFd4eyAiA2ND4XTfh4evMj3OMJGhOZ/YRZnq3bQmWDGssijgptN hbAA== 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 v203si3023061oif.224.2020.03.04.22.50.43; Wed, 04 Mar 2020 22:50:54 -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; 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 S1726413AbgCEGtb (ORCPT + 99 others); Thu, 5 Mar 2020 01:49:31 -0500 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:11707 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726222AbgCEGta (ORCPT ); Thu, 5 Mar 2020 01:49:30 -0500 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; Thu, 5 Mar 2020 14:49:17 +0800 Received: from tony-HX002EA.zhaoxin.com (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; Thu, 5 Mar 2020 14:49:15 +0800 From: Tony W Wang-oc To: , , , , , CC: , , , Subject: [PATCH v1 1/2] x86/Kconfig: Make X86_UMIP to cover Centaur CPUs Date: Thu, 5 Mar 2020 14:49:10 +0800 Message-ID: <1583390951-4103-2-git-send-email-TonyWWang-oc@zhaoxin.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583390951-4103-1-git-send-email-TonyWWang-oc@zhaoxin.com> References: <1583390951-4103-1-git-send-email-TonyWWang-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain 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 Some Centaur family 7 CPUs support the UMIP (User-Mode Instruction Prevention) feature. So modify config X86_UMIP depends on Centaur CPUs too. Signed-off-by: Tony W Wang-oc --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5ad3957..710f932 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1871,7 +1871,7 @@ config X86_SMAP config X86_UMIP def_bool y - depends on CPU_SUP_INTEL || CPU_SUP_AMD + depends on CPU_SUP_INTEL || CPU_SUP_AMD || CPU_SUP_CENTAUR prompt "User Mode Instruction Prevention" if EXPERT ---help--- User Mode Instruction Prevention (UMIP) is a security feature in -- 2.7.4