Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp70168ybc; Fri, 22 Nov 2019 02:12:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxae2C7txJ1yOIyCKhui2L57fwDtjdXIKs3ojZ0P+qdM/hiGmi3huPKOyy0pJMm61jr67MI X-Received: by 2002:a17:906:1fd5:: with SMTP id e21mr20416888ejt.320.1574417569110; Fri, 22 Nov 2019 02:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574417569; cv=none; d=google.com; s=arc-20160816; b=xy3yvSl+9LVRXS6h539WDI90jTOZ0aY6TvF13aVTIwL3B+gexoOpYiwE978fHT8XkQ doi//m8e31kTjQ5egcBtJyrBoK4kWdLvEcJrFloq+jfPHzZcboWpFlP+jwqc4qW7xlSV 3kIItlW2IUWS6+aG5toWCGTD6Xv3Fdk6BorpixothR8bXq9DdwWSw1RLnUJD/a1SLxsi KknRKxCkkIowYSE1+51P2xNqWjqPd59nbDSAFGtwzMBQd89dKGaHqPO+KvY6vAay8Fb0 bSoSpyb8BomYPzG8rh6pt1b9ryUPaHFniJtObSfJ+cwPQPAwNnVPOopj5ZOUOycRYLYE xFPg== 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=n0HQB23wcOwDq/bRrwtjCy9T4xoO/y5melW+R3rsWew=; b=Kv49jWxV+tHrWOt0kD+tuuRoR+iNuNKYZJY9UY9PLcG1cTPv/XE/acUOS5ctcOazCk +n/c7mTNk67d4QgSXi79U+bIRbmrkn358X5s4lto7fGg1aHX0QruX2j1nlN9+41bruUb sfHJsCR6vhz2AxavykmFxGa2hziZy8GT6ezXDBtWG/QxQEUaUGlnYOF2mEOOJ4B6qe+k MfJZ+c/c/kOIKE4LjOrgmvfp+d51MyXl0ubOu4Vr+YGJiLcwlEHqjbmXFER1kAZ+zYsM u1M9a6Y5xuy+Laf0iNqAxYoBfvSCp8Nj7ZqO9CQH+9SKHzGHjpRoP2xSuEjEvBhjHhu9 AF/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=YB4UZgwe; 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 f26si3805979ejr.92.2019.11.22.02.12.22; Fri, 22 Nov 2019 02:12:49 -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=YB4UZgwe; 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 S1726574AbfKVKJF (ORCPT + 99 others); Fri, 22 Nov 2019 05:09:05 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:43740 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbfKVKJF (ORCPT ); Fri, 22 Nov 2019 05:09:05 -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=n0HQB23wcOwDq/bRrwtjCy9T4xoO/y5melW+R3rsWew=; b=YB4UZgweeUjwXejZXlH50rA0L KNMZ1n5ZUVCP3CJXyjQes+ywvbCfviMAiBlsBNynL6qfMn6/7n7I8c72g5H8l5I+mrV1k52G7GiSQ YmHX68tqUjSWRF0dqfNQXQIljAWwxRjZuNCo6leySQ3u5EEtGKwLEPBcCJxPoayh7+nR7AnF8W1UM ACHXz48I2CM6sQJQHar9SeUUaL8LaRifma+1oX5wYwW9FYruWjYgTi1gRQ0HMt2hop5qZkmmME843 IP318teYGFCEsB/+anS8GxJH4kUcdrJ9zoma41avvgOAogPivsqe8/LnB823E19ZnlY3XrxPiB1Gd imKIM5qtQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iY5s2-0008T2-80; Fri, 22 Nov 2019 10:08:58 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 0F979300565; Fri, 22 Nov 2019 11:07:45 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 483A9202BC5A1; Fri, 22 Nov 2019 11:08:56 +0100 (CET) Date: Fri, 22 Nov 2019 11:08:56 +0100 From: Peter Zijlstra To: "Luck, Tony" Cc: Ingo Molnar , Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Ashok Raj , Ravi V Shankar , linux-kernel , x86 Subject: Re: [PATCH v10 6/6] x86/split_lock: Enable split lock detection by kernel parameter Message-ID: <20191122100856.GX4114@hirez.programming.kicks-ass.net> References: <1574297603-198156-1-git-send-email-fenghua.yu@intel.com> <1574297603-198156-7-git-send-email-fenghua.yu@intel.com> <20191121060444.GA55272@gmail.com> <20191121130153.GS4097@hirez.programming.kicks-ass.net> <20191121131522.GX5671@hirez.programming.kicks-ass.net> <20191121215126.GA9075@agluck-desk2.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191121215126.GA9075@agluck-desk2.amr.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 21, 2019 at 01:51:26PM -0800, Luck, Tony wrote: > On Thu, Nov 21, 2019 at 02:15:22PM +0100, Peter Zijlstra wrote: > > Also, just to remind everyone why we really want this. Split lock is a > > potent, unprivileged, DoS vector. > > So how much do we "really want this"? > > It's been 543 days since the first version of this patch was > posted. We've made exactly zero progress. Well, I was thinking we were getting there, but then, all of 58 days ago you discovered the MSR was per core, which is rather fundamental and would've been rather useful to know at v1. http://lkml.kernel.org/r/20190925180931.GG31852@linux.intel.com So that is ~485 days wasted because we didn't know how the hardware actually worked. I'm not thinking that's on us. Also, talk like: > I believe Intel real time team guarantees to deliever a split lock FREE > BIOS/EFI/firmware to their real time users. is fundamentally misguided. Everybody who buys a chip (with this on) is a potential real-time customer.