Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6624809ybf; Fri, 6 Mar 2020 01:15:01 -0800 (PST) X-Google-Smtp-Source: ADFU+vszgaJRzPOdZITlyDnhr1sMbV2kUay3JQZYuvJ9SIsC1MIkd/3BXZyoCsc3MPoVJkobCeU+ X-Received: by 2002:a9d:5e82:: with SMTP id f2mr1623659otl.240.1583486100997; Fri, 06 Mar 2020 01:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583486100; cv=none; d=google.com; s=arc-20160816; b=vRDUCk2Xse7PjDex+yuzEXj59cHcnCIVZftG1OJhWffzmnD1bMgVKwIUfVheHcBHNU pVwODWxBKsndlXR3imfASj3lrHOc4XijjlBioUeetMORBsjb5IcvQqGxLBsrzMf1N/b+ Nk5h/RP0q/Nf8Y920UG7SXd9SmbbxBPQ0ncUj7EUIfI6vz3HnBd3lsxAtGBMe7e/f05+ qTyVTnKHLP1HLY+h+bJnJ8qw23aCzPhC3/uurJySZRquwaXlihJ4Esnly7HndX89PdY2 WcRTNMSqXu8aHnOt7aVzPAYLB+DDmkzOg63/UIDvJpgU2koB4Q+1uGf5H7ILfqjlt0Mo DErg== 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=EM0tiiqzEi8MOOkBcG3NJfHwSR3TS5QzjN4F/9Jz5kw=; b=JPU/aOIub/mDx2J1FtM2myrSPNOASE87l2E8MlaAFfCbZPYDmaKZzqeRJ0tB7DNS4c L048QoUJrsI6Gz9ZQTuhPX7tv9Jr5gOwjKDDMt6wDQurQrGKeStgrhok/p40KKhhH38J otnYZHnngXdm9l78/RBsTcHK3cxRa95Gyee4FdmMF4QkEzUoJBUIHIShX/yVRGsE07pG 1oRnZGjJvYkj56wbL6yQ0+A9AxSLDZiFVXyk9f1hQSfLOXPNLiGaxbuBD4rlAWy5/Nz6 EtjDQ/4HaVBk1AIYiD9XlnNYto25MSblxkvJ1R8JcdvketfhE8JOr6/d+AOxS8R5u8yC xZUw== 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 r2si981040otp.200.2020.03.06.01.14.49; Fri, 06 Mar 2020 01:15:00 -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 S1726190AbgCFJNY (ORCPT + 99 others); Fri, 6 Mar 2020 04:13:24 -0500 Received: from ZXSHCAS1.zhaoxin.com ([203.148.12.81]:19282 "EHLO ZXSHCAS1.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726047AbgCFJNY (ORCPT ); Fri, 6 Mar 2020 04:13:24 -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; Fri, 6 Mar 2020 17:13:16 +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; Fri, 6 Mar 2020 17:13:14 +0800 Subject: Re: [PATCH v1 0/2] x86/Kconfig: modify X86_UMIP depends on CPUs To: Sean Christopherson CC: , , , , , , , , , References: <1583390951-4103-1-git-send-email-TonyWWang-oc@zhaoxin.com> <20200305155115.GC11500@linux.intel.com> From: Tony W Wang-oc Message-ID: <35a6558c-1f92-d921-6998-ce639a8edaf6@zhaoxin.com> Date: Fri, 6 Mar 2020 17:12:50 +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: <20200305155115.GC11500@linux.intel.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 05/03/2020 23:51, Sean Christopherson wrote: > On Thu, Mar 05, 2020 at 02:49:09PM +0800, Tony W Wang-oc wrote: >> CONFIG_X86_UMIP is generic since commit b971880fe79f (x86/Kconfig: >> Rename UMIP config parameter). >> >> Some Centaur family 7 CPUs and Zhaoxin family 7 CPUs support the UMIP >> feature. So, modify X86_UMIP to cover these CPUs too. > > That leaves UMC_32, TRANSMETA_32 and CYRIX_32 as the last CPU_SUP types > that don't support UMIP. Maybe it's time to remove the CPU_SUP checks > altogether, same as X86_SMAP? While the UMIP is a generic X86 CPU feature, I think this way is better. Sincerely TonyWWang-oc > >> Tony W Wang-oc (2): >> x86/Kconfig: Make X86_UMIP to cover Centaur CPUs >> x86/Kconfig: Make X86_UMIP to cover Zhaoxin CPUs >> >> arch/x86/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> -- >> 2.7.4 >> > . >