Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp10216imm; Thu, 21 Jun 2018 12:59:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJz3TTJsNH06lOwePwy/JY+7O1QtVX3+JvWu0/QIG7W33oFJpwdtSmb97Hqq5W7w1daQ9U6 X-Received: by 2002:a65:4a04:: with SMTP id s4-v6mr23550941pgq.376.1529611178871; Thu, 21 Jun 2018 12:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529611178; cv=none; d=google.com; s=arc-20160816; b=FVscI6hQgvm4MLAfMLN8zcA59IbVK+ZDu5pm4vS/+ZogQRtiCT9TS1bME9k+0rDsyy TDGMRB8FrjdHk6oDrZ9OCwc6G04KKk0hieLJ6CDoFnHfeJPHa6MVYnkekuORwgHJ3rcm MOK5LVM0F6qwUgit0CCnirKxMhNZuutATThD7CXHVlq9Xa1WL75CJfmqLHNbdI+wGqTX k9kg0+QOYjlu9R88v/3I229cBpD9lY13u7CF5WvRMMvlWxSxtUo5HyR1naN0MWF3ThRF I4KUF6odVhE2L4cSiX9ZSMw13KvxQMlhySZIweN2DHlSEqFcEpITYq4mUpGnVK/0sYqf CZlA== 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=NCfZJbCeE/T6TScOracemGkfHW/3YQjTxG86YlEGMCg=; b=CTX6Qb8nEfq1l7lpG+7tzhUdmC2tUFmpOTBW1HRVgJkuN1wuIMIY17IODsRyr/Exuf 7HzSUXLoRd7wbnCCuaF2KQebGavWHBU+oMQTDQ5RGWrB6QcRdtFhQivJcZWXr+/A4+YK qEVDW4sBYx8If1/xq1LeHnH6JS9hdR1HWhm8JN20n/V0SXQH+XdY6owk8FQ1byqvNx7i FcYRMOtRckvFAThVrE9Boca8xIroUZSdJDspsdik6IxQdeaU/16ZFVpgWTltGzBBRGU9 4hC3ow1sTlLXIwPxFRW4q/7yScn5xsVU52HLFcz0+Ws77HUr1gLSjxzB7Exh8fBUiW9Q AwDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TzfayQ17; 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 p8-v6si4725318pgs.239.2018.06.21.12.59.19; Thu, 21 Jun 2018 12:59:38 -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=TzfayQ17; 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 S1754085AbeFUT6c (ORCPT + 99 others); Thu, 21 Jun 2018 15:58:32 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55182 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753906AbeFUT6a (ORCPT ); Thu, 21 Jun 2018 15:58:30 -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=NCfZJbCeE/T6TScOracemGkfHW/3YQjTxG86YlEGMCg=; b=TzfayQ177UCZ5LGCfGbel8jP5 k+m7bEY7ahxAa0wFZr20Trlj1DlyC6QZYh3umNX6jOg2YAEjVEm6CMwaSaT/IwVyfJ1HempoRJWJ4 vhjD45oggFXztCQU/4yVdNx1/6cqWrAYdJcWHS1JdvUca64AjxeBaogQQzpStbN+CV9FOBle1JizX knHXl2zwqm7LtjBFagpfwIEYkML/dG0GOr/tcJAGdF9Nzcml/hJPUyc9pv3TlYJ8uWuHUK19wiIq0 o+8yGt807Y6Qste/b2bpN7BhEMGO3OGTgzpfYGpJ3CP6e/HfPUhfawzJoKSE1s11D+jWntxG5lVWA Aw4ZF4+Rw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW5is-000111-64; Thu, 21 Jun 2018 19:58:26 +0000 Received: by worktop (Postfix, from userid 1000) id E6A876E093E; Thu, 21 Jun 2018 21:58:23 +0200 (CEST) Date: Thu, 21 Jun 2018 21:58:23 +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 06/16] x86/split_lock: Save #AC setting for split lock in firmware in boot time and restore the setting in reboot Message-ID: <20180621195823.GD13636@worktop.programming.kicks-ass.net> References: <1527435965-202085-1-git-send-email-fenghua.yu@intel.com> <1527435965-202085-7-git-send-email-fenghua.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527435965-202085-7-git-send-email-fenghua.yu@intel.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 27, 2018 at 08:45:55AM -0700, Fenghua Yu wrote: > Firmware may contain split locked instructions. I think that's the wrong attitude. You should mandate in your BIOS development guide that Firmware _MUST_NOT_ contain unaligned LOCK prefixed instructions.