From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750980AbdLGH1s (ORCPT ); Thu, 7 Dec 2017 02:27:48 -0500 Received: from mga14.intel.com ([192.55.52.115]:34849 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbdLGH1r (ORCPT ); Thu, 7 Dec 2017 02:27:47 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,371,1508828400"; d="scan'208";a="156742679" Date: Wed, 6 Dec 2017 23:26:05 -0800 From: Ricardo Neri To: Borislav Petkov Cc: Peter Zijlstra , Thomas Gleixner , qiaowei.ren@intel.com, luto@kernel.org, adam.buchbinder@gmail.com, mst@redhat.com, mhiramat@kernel.org, dave.hansen@linux.intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, colin.king@canonical.com, jslaby@suse.cz, pbonzini@redhat.com, cmetcalf@mellanox.com, akpm@linux-foundation.org, vbabka@suse.cz, acme@redhat.com, brgerst@gmail.com, shuah@kernel.org, paul.gortmaker@windriver.com, lstoakes@gmail.com, hpa@zytor.com, thgarnie@google.com, keescook@chromium.org, adrian.hunter@intel.com, ray.huang@amd.com, dvyukov@google.com, ravi.v.shankar@intel.com, slaoub@gmail.com, corbet@lwn.net, linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/mpx] x86/insn-eval: Add utility function to get segment descriptor Message-ID: <20171207072605.GB19428@voyager> References: <1509135945-13762-15-git-send-email-ricardo.neri-calderon@linux.intel.com> <20171205174844.GM3165@worktop.lehotels.local> <20171205181456.akycirziiuhb7crw@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171205181456.akycirziiuhb7crw@pd.tnic> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 05, 2017 at 07:14:56PM +0100, Borislav Petkov wrote: > > But, if other code is going to use those functions - and I believe > that's the idea - otherwise they wouldn't be in arch/x86/lib/ At the moment MPX and UMIP are using the insn-eval decoder to determine linear addresses. Thanks and BR, Ricardo