Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2135796ybh; Sun, 8 Mar 2020 23:07:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuNF6odd7OOpycdV5E+KBs2dO7eTbFv9mK44fOlC2vQQ0XSz1WVqOcevawion25zH1itw/1 X-Received: by 2002:a05:6830:11c7:: with SMTP id v7mr11165447otq.41.1583734050888; Sun, 08 Mar 2020 23:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583734050; cv=none; d=google.com; s=arc-20160816; b=HaU+IHzVrqoEG9NC9uRsnNg0+3He2ITUTyseWf657qbAb3mOMX4XuT/uUylJTFNEeB TYZqARpzh6SwY2p9DjRQ05VVdBHeAxPmSa9HcXMNs4DqTm9kEuoUcMr9L7aqr8+3NEJ9 md/1cGQZIjkP9Ag+4QTZ9R2BiSQk3uUN/ZX0L6fC+VPCuaC+j19+GDaa1d4g8MdyII3w 0d1HXLbhw0DOrSWNfVJvSeayq5rS22CV8K3Ev/niIN82WxN1uxWczNk9gJBTIa1rLaaj EYthcA+UWcCMyUZxcLkpqRe/aMWlA21TgZ3gTGVM0x5Jx+gwxWIGjHOev6yGSY/193+d +30Q== 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=5piKI6NQpD5I1DJsMN7qg+dXnz4yZSphGbnF7NHe45Q=; b=CgCSbDXjrLHm2Gw4QU0HJps35PqSsnQRYR+wGTs2KDnGtcJLVvOb/6571RY7Znxsbc wEtW5yf0tYMki8CiFPSGfWe6IhFKpbMQKmwRL2lUtDW595MAgcGLj7cx4OPkS3MtabwR TOxbSBxPOGvEcNSKVwWIr056FC6KvWktsZp2b0pOSR67FkighsO5uixq97t5OwfvSaKt qDxZqEX2J9htJh5JxL0W3FABZnflrfG/pQf7BLxWllaMAfW2Vu8k6TmEm7JmCZUjMB07 NmBssCUyA19N99A2sPk5a4aQTR2WUG0XYi+t1M0UfvKrMw3tGQlCsuV/G2jKc1Abq0D5 NNXQ== 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 s15si5978537otd.209.2020.03.08.23.07.18; Sun, 08 Mar 2020 23:07:30 -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 S1726217AbgCIGGy (ORCPT + 99 others); Mon, 9 Mar 2020 02:06:54 -0400 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:52880 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725796AbgCIGGy (ORCPT ); Mon, 9 Mar 2020 02:06:54 -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; Mon, 9 Mar 2020 14:06:36 +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; Mon, 9 Mar 2020 14:06:34 +0800 From: Tony W Wang-oc To: , , , , , CC: , , , , Subject: [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU Date: Mon, 9 Mar 2020 14:06:30 +0800 Message-ID: <1583733990-2587-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 While the UMIP (User-Mode Instruction Prevention) is a generic X86 CPU feature, there is no need to tie X86_UMIP only to Intel and AMD. So remove that dependency from the Kconfig rules. Signed-off-by: Tony W Wang-oc --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5ad3957..ca16b762 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1871,7 +1871,6 @@ config X86_SMAP config X86_UMIP def_bool y - depends on CPU_SUP_INTEL || CPU_SUP_AMD prompt "User Mode Instruction Prevention" if EXPERT ---help--- User Mode Instruction Prevention (UMIP) is a security feature in -- 2.7.4