Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp570310imm; Fri, 22 Jun 2018 01:20:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKd1LEYpOTJmuteXkXNWSxWKHVeGcg+3X5lXx/65kgIb76ZQl/PZwdV7eIUsODC8fFLNi0D X-Received: by 2002:a65:6290:: with SMTP id f16-v6mr525953pgv.155.1529655644515; Fri, 22 Jun 2018 01:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529655644; cv=none; d=google.com; s=arc-20160816; b=Jk7VfioECG+HWFG9TOOrolXkwmw3xTFpSM5WG+mdTBCsAZgdXNYwBHctZC3G8+ULvk OnzVzYocmbstgWemk4QBoBOImjAszPZFKW5kiZQOAhk7AcDH9FBIUHjqhxxLkMDTK3Rd NzgpGACkrrPGFsOenGxxW4bwWf1yB/YaJYQOPDXGPrhdq/wyYt/g1DET5KYD/xKs+s4U 5Qe/UfdplUfucpa1SHIWdAIQfE5Dc2ofIJlS7cRHuthdRPBHE8kdUxnSWo/AcRYL/j4x ON3/ML5/3xmZ7Jg82WbknmzVn8NOyMIW4gIyEywMnbAeeDp+3ZXqiFZLBx0O351DzZYy OQOg== 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=A4U8hP6rw2wgMEe57XXxeN238PMayIt6TYvvhA3Tv24=; b=vXaMZRFVchZ3AEsNeMm6/9xwiRHj4uI/ayLWaWqDRRh1Z75ZxecKY7VZ34SNn0q30F PSnqM/c+DGK7tKlf7zC/UsmmNhcl5DTrdTPzqP07Ll7sfUSb+lO9oHrgAAG53eWIynod U1Pd52A3GbRPnWYndgMxa/17bIeOKO3BXe9GHwBmOiC+WVw28SlDTmt5W0mZ1QWDxUKK qHnRZdtIwCWPGmDmhdOUj0U3tBMx4/l0rz6VRRStQW3IdN3SWZwrUM1aK3vtEet/Hjz2 pp2q8nHC60mjUDpRDNL1yIqFzJPKj/Zf+1zwvpKibTFBilIvKwwEQdxDahj57O5w7phc 4xzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=YLyijwEK; 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 139-v6si3137732pgc.87.2018.06.22.01.20.29; Fri, 22 Jun 2018 01:20:44 -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=YLyijwEK; 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 S1752001AbeFVITf (ORCPT + 99 others); Fri, 22 Jun 2018 04:19:35 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35796 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbeFVITc (ORCPT ); Fri, 22 Jun 2018 04:19:32 -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=A4U8hP6rw2wgMEe57XXxeN238PMayIt6TYvvhA3Tv24=; b=YLyijwEKN65RCFrriLFB+CcSC vdCDY2tSD+6LtLkV/NYzAfC779vECcG+NfHErFLY9ChVVYAwpGC2PwaROOE7+33CignF1UkZ+qzIA dToo6r1NloaGHp6e2PNmm+wTnc4HlFRzCnmuszVE2+CA+UA0BccyWeC6pXRSLZ/If/AfebVOp8luR V9tgPp61O26NWu47h8quAMcVn90UeP0tfiPp3uf2AtMh6fCwXshFoE26aJvbWYow8WVbilXJeCRB9 cHDgqEIz/tgc2aNIwng+wfL1ds3z7LrwzNmP8G5qRcMbu+Lkhezk9A04E+A4eqj1v1iqw6tmNN7yK TU2I4Dx6Q==; 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 1fWHHy-0002Yg-Lq; Fri, 22 Jun 2018 08:19:26 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F28BB2029F1D5; Fri, 22 Jun 2018 10:19:24 +0200 (CEST) Date: Fri, 22 Jun 2018 10:19:24 +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: <20180622081924.GH2494@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> <20180621221006.GC2494@hirez.programming.kicks-ass.net> <20180621230501.GC18979@romley-ivt3.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621230501.GC18979@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 04:05:02PM -0700, Fenghua Yu wrote: > But in a real case, when I enable #AC for split lock in kernel, reboot > hits #AC because of split lock in firmware code and firmware handles #AC > as fatal error and stops continuing to run. > > It will take long time/forever for firmware to fix the split lock issue. > Before the firmware issue is fixed, reboot or S4 cannot run if the feature > is enabled by kernel. Then it will take a long time / forever for people to use their machines as they need. Don't you see that is a problem? Either you take this real-time stuff serious and force BIOS monkeys to get with the act, this includes no #AC but also very much force them into abandoning SMM as a fail^Wfeature-platform. Or it's all a joke and we'll continue to complain and shame.. > And if unlucky, I'm afraid the patch set even has no chance to be merged to > upstream if maintainer's test machine has firmware split lock issue and the > machine simply cannot reboot or go to S4 if the feature is enabled. Well, then you'd better get those BIOS monkeys on board and fixing their crap.