Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp256866ybl; Wed, 22 Jan 2020 20:55:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzoWl70Li61948y4badKrW2iprXO5w9xIsFxBD23OrnKuNzxl2pM+Qv6h6eqo8vvlkSU4CR X-Received: by 2002:a9d:6a54:: with SMTP id h20mr10082612otn.208.1579755306444; Wed, 22 Jan 2020 20:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579755306; cv=none; d=google.com; s=arc-20160816; b=pnPfSJXRCzo/GQ9wHH+R5n+6BJfJODTWswwpqCnl/6FzOH/GS5a6VPn5FdH9TYHWZ2 paJjGRrlPYwfRvoHalBdeyByeghpLQhYx3VqsaCnj1fO7s+lZfbybAND6X0OAB3FMwQv v3wIV1oxXW/qrXzLN7Khfb295tIXyLl9grWIUwmfocmOG27Sp1mC7JUN86bkKa/AUf2G 1ZQwOgEJ5A7diRnxea5fn3MuEMQWIyV3Srwy/ulaR3N+G84jhLsCCe+Lvk1vjeJa6B+S 4Qgo7qM+qcq9Xd97EfRmqo85xglWigw8S7cvDSwPqSOLA+zOw2f6GCMpAcsXWlfkffjO Bppw== 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:date:from:dkim-signature; bh=rnHpCGV92LpDcYVnnbgJoWD9Pug4o0aRSlq+bN0P9tQ=; b=ux2IsvsUAlHdfCBam56EK96UVTQe62eV4oQzGGFiIeLXRAIS3tXgxwIBwBhiFTKdO8 +qMTC/vucANpCcU//vwMadyfoDe3fgmOYKjQKiEwymdQVYhGtRomlyNEH+wixUbOpkeO nId0qR/3cU1Epx5MI4akgXPrTbfYcrD2ryMaksf1QB9OH5Ryf+ltvfrsgcuiPFCwSxLK rf6Sln9GB6q/2XPpvDG1DzM+OcefIlgvZAzyAdvCQE+R+GW+DJ8M80xHm/gQOskDck2O ui10LaA0ZlATgi2z/fDTQiehkzG1peEFA08WXEA1dgMxgu01qriEGt7S+lR38j/zrStw wumw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ORc9oamB; 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 h14si572665otn.6.2020.01.22.20.54.17; Wed, 22 Jan 2020 20:55:06 -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=@gmail.com header.s=20161025 header.b=ORc9oamB; 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 S1726135AbgAWEpT (ORCPT + 99 others); Wed, 22 Jan 2020 23:45:19 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:35605 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbgAWEpS (ORCPT ); Wed, 22 Jan 2020 23:45:18 -0500 Received: by mail-qt1-f194.google.com with SMTP id e12so1543458qto.2 for ; Wed, 22 Jan 2020 20:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rnHpCGV92LpDcYVnnbgJoWD9Pug4o0aRSlq+bN0P9tQ=; b=ORc9oamBp1MGZWgtVkzbSf0XuJt+suUOyMpgwDLUFJv4w5O4TRQKcbfXqHUqv8Rrb3 jpHxGXbEXzjv03PHkIyyornYUO8n4zDPTrYMr0Qs7HPXyvOPnlicmMZNlLG0YPSoj+cn nOD7kUQeGbQ0LDM4NmQKX2kPHta8QexYMF58PgKFnJgEcvx8qbslCgHZxLjkIcku8rj6 q8EIf3/GiU+1iDhjs5DzAyHxzJuzh0fZvTy2gbA0PKOCdo+9Xsk/i1T1s+jRMcB8xhds bQgZ/5Wmr14J+64ockJpj+DO7Wa8U109onx02U2lE6W+OEuVwqunoZT1Dwq4uRyP/Dlf 3HVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=rnHpCGV92LpDcYVnnbgJoWD9Pug4o0aRSlq+bN0P9tQ=; b=Pw3WyZRf1s59hb2wJ5J9YAXVBPMoqRepQNZOVEMT9ifudu4G5XiDbw5qwlP7kXJL60 poLl/IUpxOWZSvffxG3Hu3Ku2UEf7cBXBj4JIJEO3KBvNHpGyWcHIGadysW/cgb5LkNx 89pB3xOs9omQ+7gXXnEGJgZW2Q8RWvHNpGcEFgV/d5QGH7ySxFq2AHPDJIZGlWNPi/fZ S9GFyLbfOFVuNcGBnEvWLaq8Iq3x+DuwZA7qXxRiQmlkTxqa1DD+Y19giy77QafdIMoq YIqP3YwAPmCTv4Ih3k7R5cpBmnMFXGSqakXfAlXyKVZTxe+0oixOftrrDwuTJe9jvc8n DOfg== X-Gm-Message-State: APjAAAVmv4UA4uNgelM/mTNHHXTh0YDu+kTREikn3x/cPQ+Ts2y53P26 6o8aU2kyQz0HMtdIUeUBTa0= X-Received: by 2002:ac8:7b9b:: with SMTP id p27mr14535239qtu.2.1579754717689; Wed, 22 Jan 2020 20:45:17 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id s11sm382232qkg.99.2020.01.22.20.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 20:45:17 -0800 (PST) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Wed, 22 Jan 2020 23:45:15 -0500 To: "Luck, Tony" Cc: Arvind Sankar , Thomas Gleixner , "Christopherson, Sean J" , Peter Zijlstra , Ingo Molnar , "Yu, Fenghua" , Ingo Molnar , Borislav Petkov , H Peter Anvin , "Raj, Ashok" , "Shankar, Ravi V" , linux-kernel , x86 Subject: Re: [PATCH v13] x86/split_lock: Enable split lock detection by kernel Message-ID: <20200123044514.GA2453000@rani.riverdale.lan> References: <20191212085948.GS2827@hirez.programming.kicks-ass.net> <20200110192409.GA23315@agluck-desk2.amr.corp.intel.com> <20200114055521.GI14928@linux.intel.com> <20200115222754.GA13804@agluck-desk2.amr.corp.intel.com> <20200115225724.GA18268@linux.intel.com> <20200122185514.GA16010@agluck-desk2.amr.corp.intel.com> <20200122224245.GA2331824@rani.riverdale.lan> <3908561D78D1C84285E8C5FCA982C28F7F54887A@ORSMSX114.amr.corp.intel.com> <20200123004507.GA2403906@rani.riverdale.lan> <20200123035359.GA23659@agluck-desk2.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200123035359.GA23659@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 Wed, Jan 22, 2020 at 07:53:59PM -0800, Luck, Tony wrote: > > + split_lock_ac= > + [X86] Enable split lock detection More bike-shedding: I actually don't get Sean's suggestion to rename this to split_lock_ac [1]. If split lock detection is able to trigger some other form of fault/trap we just change the implementation to cope, we would not want to change the command line argument that enables it, so split_lock_detect is more informative? And if the concern is the earlier one [2], then surely everything should be renamed sld -> slac? [1] https://lore.kernel.org/lkml/20200114055521.GI14928@linux.intel.com/ [2] https://lore.kernel.org/lkml/20191122184457.GA31235@linux.intel.com/