Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4038766ybf; Tue, 3 Mar 2020 18:33:55 -0800 (PST) X-Google-Smtp-Source: ADFU+vvOfAfsSydyZ5p/sKTBGLn4E3iIJ20h+m28JMnadZJrnA+Up+Q6hXN2XG5+KJ3agBILBmPX X-Received: by 2002:a9d:6c94:: with SMTP id c20mr707296otr.285.1583289235716; Tue, 03 Mar 2020 18:33:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583289235; cv=none; d=google.com; s=arc-20160816; b=rr8DAEqQFXLaqAgSptYHfQaV85wXW5FUUCgd5eUv2rkhh4HdQy9Dw1CWB1KGct8Rpu lNs0bu0m5pd4CBqGmu8igEq0tSg0xBIJkvpxQP1fp18qX3tCUKlP2gKzftdxW7zFKSVm oa39pzj4Sy/BXSvBFXPnhbYF9IGfZjEQfg8P0oPPAPRUWJ9f5qpitFnpCd8CAjmsoopY uIf8B9gvQqEuKk+59hhngKC6ud2xFCn70r9pK7qESrX0GdL6Ah2CFelFnSUHwXbpK2nB djM/sr5vIO1FZLkzYUgEpJUrFkp1DmzAxCwbeu1ceMMVd/XCQewpYvit4RONQjW9u9QE CW8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=f13z1pA3Arr1XijS5pXywUN6y6DIU3Zg85rQWKC/TgI=; b=s5vEBvA8H/UOgNAD2WzYqotkyvdJDMUcfjRAcZj6u8tApTa+/1JYhAQzEN4Hkr7taf Jm4FxMiiJ22+MPBgMVr7aMmRyioVesQFnUJ7hYdD1zQV6lDQm9epWR2aqIQlCio5aihf huOIwlBkQtkycgTx5jKiSe3Xl6quLjfuJhpJjbiTX1gf2XT4Y0+PuHYOBVZK14rwb9aJ riDgFfNUepk6OnZS6TXfsFNUPjsr5cFyOPcqqojDBKIvpEhp93q7vxugRsiUXQG5KGU4 Ovu8pPfxgFlEMvN4oYEgkf5i8thNiwzUj1twZYO4EAlK4Jwd3eYV1VWRwR4LehumP/v3 lC3A== 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 24si331742oiq.162.2020.03.03.18.33.38; Tue, 03 Mar 2020 18:33:55 -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 S2387580AbgCDCdX (ORCPT + 99 others); Tue, 3 Mar 2020 21:33:23 -0500 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:15193 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387411AbgCDCdX (ORCPT ); Tue, 3 Mar 2020 21:33:23 -0500 X-Greylist: delayed 903 seconds by postgrey-1.27 at vger.kernel.org; Tue, 03 Mar 2020 21:33:22 EST 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; Wed, 4 Mar 2020 10:18:08 +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; Wed, 4 Mar 2020 10:18:07 +0800 From: Tony W Wang-oc To: , , , , , CC: , , , Subject: [PATCH] x86/Kconfig: Make X86_UMIP to cover Zhaoxin CPUs too Date: Wed, 4 Mar 2020 10:18:05 +0800 Message-ID: <1583288285-2804-1-git-send-email-TonyWWang-oc@zhaoxin.com> X-Mailer: git-send-email 2.7.4 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 New Zhaoxin family 7 CPUs support the UMIP (User-Mode Instruction Prevention) feature. So, modify 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 16a4b39..ca4beb8 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1877,7 +1877,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 || CPU_SUP_ZHAOXIN prompt "User Mode Instruction Prevention" if EXPERT ---help--- User Mode Instruction Prevention (UMIP) is a security feature in -- 2.7.4