Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5345969ybf; Wed, 4 Mar 2020 22:50:42 -0800 (PST) X-Google-Smtp-Source: ADFU+vu7DtHvsZ5nJeGrZM/zn/7/jxwctMbJ8MV8AcVfgRGYhzIHf+M04KR46GjzZPGpY12tpgho X-Received: by 2002:aca:5c46:: with SMTP id q67mr4595432oib.75.1583391042237; Wed, 04 Mar 2020 22:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583391042; cv=none; d=google.com; s=arc-20160816; b=vcQvzfoUYMRA37BOMAuw8TXW8Fimezn3zUT6PoRYv95SsaRQPGEQzCEMLiECHIqCXt NIA4ntmjZ8YxOPBEzNSjiyRKXN73Z0GRUtFsQ6BDwNhIBHDyiuqiAkuRjPq3I3VcZwwF 32bfqpI7P4xmuFbkOGl7kIY433e0q6Bs3tYbqeFLrxQ5kNdtDFv1vA2QZ6skyvJ7csBc ewArZ4LYFm1PLB4n57vOX76P+kxvq0Tu6TmkDXtQp1gr01RhD5lmMftL4Qr0SWxJaqk7 pWzrPy70RdWuebtF7/KTYb7sV7T64kYa36wm+7vqbwoKLFb0OIu0fDiMYxs8fDaSBKl3 FPVA== 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=ztIsRXws9K5NzKbiovoFHpUP+qAY19bbRz/ULPdvc7w=; b=mJiWclHpu7npy8MAVqa9DchElXOJXNY7cWfSCD42hxQZOwVzMohojm2uEWN8jHea4C BVJQkGFk8nGoxzS/DJskRSVAsIeI8RABIb0ex8mPXbxFziGF16UkkNL5ZF4+OiDLUSNM x5143tRg8oKELycXd3J6Pm9fpDvQl2xMZL4COyghvBxeenmUKuF9RuabAyIXTIX/EjAd 1uu1q7vQRbeWabfRLngAtJ2UhcgtLWidEiLRmRBud0vnPMUHLBqD5oiOAqKU4kCSxjiT UMd6HSCGgCSjGDY1D2npAxVtui+koSedoZwodTdloqfWgqXjDkzMWI0tPQz5Rgkyql9g yg3Q== 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 t3si2888618oig.25.2020.03.04.22.50.30; Wed, 04 Mar 2020 22:50:42 -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 S1726563AbgCEGte (ORCPT + 99 others); Thu, 5 Mar 2020 01:49:34 -0500 Received: from ZXSHCAS2.zhaoxin.com ([203.148.12.82]:22693 "EHLO ZXSHCAS2.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726359AbgCEGtb (ORCPT ); Thu, 5 Mar 2020 01:49:31 -0500 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHCAS2.zhaoxin.com (10.28.252.162) 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:18 +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:16 +0800 From: Tony W Wang-oc To: , , , , , CC: , , , Subject: [PATCH v1 2/2] x86/Kconfig: Make X86_UMIP to cover Zhaoxin CPUs Date: Thu, 5 Mar 2020 14:49:11 +0800 Message-ID: <1583390951-4103-3-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 Zhaoxin family 7 CPUs support the UMIP (User-Mode Instruction Prevention) feature. So modify config X86_UMIP depends on Zhaoxin 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 710f932..ce2054d 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 || CPU_SUP_CENTAUR + depends on CPU_SUP_INTEL || CPU_SUP_AMD || CPU_SUP_CENTAUR || CPU_SUP_ZHAOXIN prompt "User Mode Instruction Prevention" if EXPERT ---help--- User Mode Instruction Prevention (UMIP) is a security feature in -- 2.7.4