From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbdLGIBT (ORCPT ); Thu, 7 Dec 2017 03:01:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:60689 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbdLGIBS (ORCPT ); Thu, 7 Dec 2017 03:01:18 -0500 Date: Thu, 7 Dec 2017 09:01:06 +0100 From: Borislav Petkov To: Ricardo Neri 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: <20171207080106.xzojodtcnswbrxn7@pd.tnic> References: <1509135945-13762-15-git-send-email-ricardo.neri-calderon@linux.intel.com> <20171205174844.GM3165@worktop.lehotels.local> <20171205181456.akycirziiuhb7crw@pd.tnic> <20171207072605.GB19428@voyager> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171207072605.GB19428@voyager> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 06, 2017 at 11:26:05PM -0800, Ricardo Neri wrote: > At the moment MPX and UMIP are using the insn-eval decoder to determine > linear addresses. If we're keeping a whole instruction decoder in the kernel, it better be designed generically enough and usable (and used) by everything that needs it. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --