Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2304542rwb; Thu, 29 Sep 2022 08:34:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gUoTWsq0gk8M0EfETWj6A5HTn27bDGybK+YeEv8fBzb9oXtFCmTafeJiSyjgTIQrco5Sm X-Received: by 2002:a63:a556:0:b0:439:f022:426a with SMTP id r22-20020a63a556000000b00439f022426amr3453207pgu.120.1664465686292; Thu, 29 Sep 2022 08:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664465686; cv=none; d=google.com; s=arc-20160816; b=ahjrZdLQ9NffvJh30KqYXAaGfUhP9Mgs5a7PI27n0k5bs6w5+deJ+7Ji656yAQAjuE HLQJPCoZSeVnjQZ5epltleGJl2Yti5bLYTyghT9MAvmtUxh/bAtkuVWKVtwMERUWGti/ Z6roMxxs2lLDi/5bgocuuLmQPYoAHWC6Sf5v6+4+5HBY37AMvagYWZBjtW8ST9CQ0a2Q 8EiMr6ZEJfC87zOVWJY4vMEZPj363lEDUpDmCCU+JQwthvFDmVaS6GYMuaw6x1Xf79ZX MXePCZualnvy3tdErxS6HCFIN/tb6UnSWJx0IJ/l05oKxMeKbPncOQmW0ali867GX/cQ /RcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UexZxQtQrFk7B6PIAKaLm+PYz/KFA30atkJBgVGQ0G8=; b=gQB+hvOWR7PhLB7SswnAY0qiM2YiV7Puvx9pD508XF+qIDyi2K+kxtDiF4CWjQ1hQi u6srWuV6WjBnuHMj2gsFsheXPaUl7IMgCsJ6TDIocpRbwmlXiLX049h8MEB7VXqcNHjw 8Nh93TBIGCoRmBDzYLxibyaHwXmZtvncaFvdObSm1MMx5jfQISeqKyWLzNukqolBy62Y s0u9fvzHF1Sevxgt3I/LjLTDdej8X9s2/CiVQCKd9A5hWPxrHv/pQT2M0VMGw9hVCs2t OquGk7NOT9YFZrp7h18cevWDGftbS5S1T/DTnEyWS8zKr7D/ahSH1GV67k5Z27Bkam8Y mjjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NeNTBI/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a056a00150200b005415de7fd01si6810591pfu.203.2022.09.29.08.34.34; Thu, 29 Sep 2022 08:34:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NeNTBI/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235814AbiI2PRl (ORCPT + 99 others); Thu, 29 Sep 2022 11:17:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235807AbiI2PRi (ORCPT ); Thu, 29 Sep 2022 11:17:38 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71CA914F2B7 for ; Thu, 29 Sep 2022 08:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664464657; x=1696000657; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=XmiiWPRnuUVwiFQSk+HyHXdfQVUcXM170If6HYOLDE0=; b=NeNTBI/3nu5nXbIb1c9CvcfaPeietQeC34tDuJEiheYk0jyqqd7saZAd szoG3DSIHxUh7AD5EolfYMvwQYRE8th66cHJKh3SVYVZYslaohFzPYWH7 0Tvx1OWb5uGo2/ZRdugVM72O1oCL16gVaVLtGnHzi6CAp59z30awlg8h6 uDb914a9yFsNlYLpxB61kZbvdu5ngPWU7wZfrb1uXWws2n+sFpx8ehVLk mtIcGxlgiXO0MxtZszq89jisWlSe3ftgWyQdmJCwA1Url+dg4qez3PT1c 13J45Qzm29cgl8RD8e6SUOogLLfdW1hhZjOSLaWwDqQPK2FKDSm8FIxpb g==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="281637682" X-IronPort-AV: E=Sophos;i="5.93,355,1654585200"; d="scan'208";a="281637682" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 08:17:08 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="600036427" X-IronPort-AV: E=Sophos;i="5.93,355,1654585200"; d="scan'208";a="600036427" Received: from ticela-or-324.amr.corp.intel.com (HELO [10.251.13.128]) ([10.251.13.128]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 08:17:07 -0700 Message-ID: Date: Thu, 29 Sep 2022 08:17:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] x86/split_lock: Restore warn mode (and add a new one) to avoid userspace regression Content-Language: en-US To: "Guilherme G. Piccoli" , tony.luck@intel.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, x86@kernel.org Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, luto@kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, Fenghua Yu , Joshua Ashton , Paul Gofman , Pavel Machek , Pierre-Loup Griffais , Melissa Wen References: <20220928142109.150263-1-gpiccoli@igalia.com> <24f31510-5b33-ada5-9f0e-117420403e8c@intel.com> <1c742ae1-98cb-a5c1-ba3f-5e79b8861f0b@igalia.com> From: Dave Hansen In-Reply-To: <1c742ae1-98cb-a5c1-ba3f-5e79b8861f0b@igalia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/29/22 07:57, Guilherme G. Piccoli wrote: > On 28/09/2022 18:50, Dave Hansen wrote: >> [...] >> It boils down to either: >> * The misery is good and we keep it as-is, or >> * The misery is bad and we kill it >> >> My gut says we should keep the warnings and kill the misery. The folks >> who are going to be able to fix the issues are probably also the ones >> looking at dmesg and don't need the extra hint from the misery. The >> folks running Windows games don't look at dmesg and just want to play >> their game without misery. >> > Hi Dave, thanks for your response. I really appreciated your reasoning, > and I think it's a good argument. In the end, adding misery would harm > the users that are unlikely to be able to fix (or at least, fix quickly) > the split lock situation, like games or legacy/proprietary code. > > I have a revert removing the misery ready and tested, let me know if I > should submit it. I'm a bit of a late arrival to the split lock party, so I'm a bit hesitant to merge any changes immediately. How about we give it a few weeks and see if the current behavior impacts anyone else? Maybe the best route will be more clear then.