Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp123870imm; Thu, 21 Jun 2018 15:09:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJqqbfXPi/hAy9ZQ9AOl/DC1NfMFUJ/+3nVivof/cqhRIoxIRcElmV5EConrDbA3ayTSJJd X-Received: by 2002:a62:e208:: with SMTP id a8-v6mr28967362pfi.6.1529618980777; Thu, 21 Jun 2018 15:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529618980; cv=none; d=google.com; s=arc-20160816; b=fUqzTv4tD/M282yPwWDogbHx8xWyeJnj2snYDxSrGEpDJ1wJw4+JeD8PmLzLQ7AGKk +MwCG9kJym1heXg14z3OwictLXP5YH2olnXk33bzBIyAzgIlPWbtU7Cj4dKJyc8em1eJ MNvafdxxHYUDfbjYcfEw0iekI1lOT/9HZXhBKBf6FV8BZFoXGbVw+9zZEZ9Pznk24RNA JoZXMUUqhFLIBxiUjEAHuWGJ4IGQLt3tk7EBYCu06C6fQY0MNHs/qNzCUOz5NdTg1v2O OlJtbcT4Jxb9S7UdqpX9NyIqhBQTqDVdyuiFNmvAnIro3lU6Rr610ChVKR2tX5kWSEOw Mcqg== 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:arc-authentication-results; bh=qe0fTeR3lnON376VY4hJj17rHGWgIHOG9eC6TgxYdBM=; b=DNvcHI8SSvgC2225Y6y/uiW38Ds8iwcCVJuNDkOuNFwnjW61Uma2XtT9qCRS6VKJen DrBAU18TMAWGXvUjpvoZLnjqQdqxVo49lfbh/Bhshmj2rga5HPxtqX6eBJqDnWwbwSg1 Ndc507OYqfX7lyBocyJC8pgnmAmTl9vfJpbDMhNSHsw92CGSDt8DrsVF4pxZL3UbIODz HnK+Wwa/9wEq/vivpytm6+lHNnWu1/eKXI9K7UmgDx/4Ip7JEro4m8jdqtZfebkCKTTQ 5R1FWNCmBEDKp+q5uDSiKgj8BpJFgpOpO+sZUIL4YFLanOCIF1wdVXsVYWt83EDtJQhv sLdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oKUmEv8W; 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 k191-v6si1796465pge.209.2018.06.21.15.09.26; Thu, 21 Jun 2018 15:09:40 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oKUmEv8W; 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 S933782AbeFUWIu (ORCPT + 99 others); Thu, 21 Jun 2018 18:08:50 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58828 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933484AbeFUWIt (ORCPT ); Thu, 21 Jun 2018 18:08:49 -0400 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=qe0fTeR3lnON376VY4hJj17rHGWgIHOG9eC6TgxYdBM=; b=oKUmEv8W3d3Xk7gSntrZubkxG mcX/VHnyRe5MjPPh4glWrrS50rqtNM0k/oSa1F/9kL8IVd39OGyH6HKOM8vyB445ot28Kf0QXkT+t 21VaLFkHy6cP00UXoPao3y+aOyajVJISzQ6RIVWlEqkUEZAGxwpXkz/M4pDTpL7dAy5qLpT6CyyBC RoHoVeosRrRB5N07AyfZ2h0b3Zfd8m1peqdT9owIMWQTJIk/LrfeHEnLEaUDHLs4Zoz3MXf0UVDLV XnNyRbUIXOQtcPH9plawK9AuojaKDQi2ksYBFScGevznSqE+U8BhZEwetZ8p917howvAHUKfoGIco Z+bTAvvBw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW7l0-00006e-BQ; Thu, 21 Jun 2018 22:08:46 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A3C0F2029F1D7; Fri, 22 Jun 2018 00:08:44 +0200 (CEST) Date: Fri, 22 Jun 2018 00:08:44 +0200 From: Peter Zijlstra To: Fenghua Yu Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Ashok Raj , Dave Hansen , Rafael Wysocki , Tony Luck , Alan Cox , Ravi V Shankar , Arjan van de Ven , linux-kernel , x86 Subject: Re: [RFC PATCH 00/16] x86/split_lock: Enable #AC exception for split locked accesses Message-ID: <20180621220844.GB2494@hirez.programming.kicks-ass.net> References: <1527435965-202085-1-git-send-email-fenghua.yu@intel.com> <20180621193738.GA13636@worktop.programming.kicks-ass.net> <20180621201851.GC114883@romley-ivt3.sc.intel.com> <20180621220003.GD114883@romley-ivt3.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621220003.GD114883@romley-ivt3.sc.intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 03:00:03PM -0700, Fenghua Yu wrote: > The control knob for kernel is to choose re-executing the faulting > instruction (default) or kernel panic. Kernel panic may be useful in hard > real time which has less tolerant to bad performance. The kernel should never trigger this, ever. Any #AC is a plain bug and should be fixed. So unconditional WARN+disable is suffient.