Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp421445imu; Thu, 8 Nov 2018 23:13:45 -0800 (PST) X-Google-Smtp-Source: AJdET5f8CI7538kOTDBpAUYou4FlPzYxijZ8lpPRxMGiQM0xN1L56V6xp0wtoei+GfjWeqamr4Zk X-Received: by 2002:a63:f547:: with SMTP id e7mr6653345pgk.182.1541747625831; Thu, 08 Nov 2018 23:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541747625; cv=none; d=google.com; s=arc-20160816; b=puRqirEou4xBMRrNJHFG3WZoqRtMkgteBCX2sJ52GZQS0c3zQw752AXFXIT9SdVZQH Hf2LV9J/bUhG8AAw88ZAFtHnFlRVAf5K+6RPuUcSOGu2PL1nmf7l46ylU/VFd0pinOIS Sr33H6TTmPOWmY2J56bEpKf9dj/H4K+njaR5N2oX0pXvClXHhYJZ/mud1fgqyJex7ppt CTw9aXWyoYH+9rfzGN2Y9MmO6ttjeIOwuhfITnXZ4hlYQXkO10ws9jFyKffBdQFXHpYi ZYGafWLVWjKjd2aYIyqddbj3izw29l4Op4jkhxM8xrnGAW4NvJR8kGZL04bHb4dl3KaK VyYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IrgHHScUgWiQ+RbIbd2HbhtIi//KRrdsNGy7S15z2dc=; b=QkSapIKEul/oToNxwAX8ZPEY9DZnar/E+orH+efXo1yG+fMvMf9+8N7O/RoxVGR9mj +uxEo95wQj7yoC7zvOrElWETkbC7k6FyLKj6Ww7VyclciPZhRQY6Ep9edNMuj/IcD1Ds AHKRwj1JIJpsZdORrvQFa0ePCoDHLNCxEylkBXbNh6qiNATnL3qOFxfg4PyPLBr12DSn VCyTYLf6Fcx0FkSxoChUII62uZMTI040PxEguv5XQ54wjESY/jTh404N3MI/V7PxQfdx YRBDzU5e8jfUkwu8jQiloKwWtqUg5JdRSd5LeI8hotkUZVGco2S16wuevzS9fsfXdK9t Bfbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="W5/yu3nF"; 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 s77-v6si6113677pgs.499.2018.11.08.23.13.30; Thu, 08 Nov 2018 23:13:45 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="W5/yu3nF"; 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 S1728104AbeKIQwW (ORCPT + 99 others); Fri, 9 Nov 2018 11:52:22 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:40018 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727093AbeKIQwV (ORCPT ); Fri, 9 Nov 2018 11:52:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IrgHHScUgWiQ+RbIbd2HbhtIi//KRrdsNGy7S15z2dc=; b=W5/yu3nFZikOEofUR/GtmZxIv cT/aY4DO+LS2Diy1ebZVnAxEI6Ftzofd2PsUW9Q4iOooZa36wtU4MW+ZH7mpxr6WSnEmCuIhY6yt0 SlTLazUYUTWffh5j+o0pFcebkwORwQurVTNNswO5/U/H/HYV8tj6pok1l5uKf1jRbXAxSpgkBB/zR yrpq5OPLBoZY4XaMWyXwSxtPqrQGhk6MiiR60kfbL/EZXu2jAaIJn/A1ALTAJjwsWVAtHD6MmBBAm +LpuZpNE+6XNdV4GhaI6IbMfnxdM865PFPHQZjb1ip2D6TB2wM/XpJdWktPVyEY3jaLxT50dJxhNs dqY/Go4JA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL0yR-0004Qz-Mc; Fri, 09 Nov 2018 07:12:59 +0000 Date: Thu, 8 Nov 2018 23:12:59 -0800 From: Christoph Hellwig To: Andy Lutomirski Cc: "Christopherson, Sean J" , Dave Hansen , Andrew Lutomirski , Jann Horn , Linus Torvalds , Rich Felker , Dave Hansen , Jethro Beekman , Jarkko Sakkinen , Florian Weimer , Linux API , X86 ML , linux-arch , LKML , Peter Zijlstra , nhorman@redhat.com, npmccallum@redhat.com, "Ayoun, Serge" , shay.katz-zamir@intel.com, linux-sgx@vger.kernel.org, Andy Shevchenko , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Carlos O'Donell , adhemerval.zanella@linaro.org Subject: Re: RFC: userspace exception fixups Message-ID: <20181109071259.GA14784@infradead.org> References: <1541524750.7839.51.camel@intel.com> <22596E35-F5D1-4935-86AB-B510DCA0FABE@amacapital.net> <1C426267-492F-4AE7-8BE8-C7FE278531F9@amacapital.net> <209cf4a5-eda9-2495-539f-fed22252cf02@intel.com> <9B76E95B-5745-412E-8007-7FAA7F83D6FB@amacapital.net> <20181108195420.GA14715@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 08, 2018 at 12:05:42PM -0800, Andy Lutomirski wrote: > This whole thing is a mess. I'm starting to think that the cleanest > solution would be to provide a way to just tell the kernel that > certain RIP values have exception fixups. The bay far cleanest solution would be to say that SGX is sich a mess that we are not going to support it at all. It's not like it is a must have a feature to start with.