Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2515155rwb; Thu, 29 Sep 2022 11:09:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gZ0PAVKnZp1OfOfR3qhAarXtOFuKEZO2liE3xlTi9xYCFk0QmjoU4GCWfJSmaw+0sXf8s X-Received: by 2002:a17:907:a079:b0:770:78cb:6650 with SMTP id ia25-20020a170907a07900b0077078cb6650mr3573682ejc.515.1664474953357; Thu, 29 Sep 2022 11:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664474953; cv=none; d=google.com; s=arc-20160816; b=Ze3tXPINxB3CYrQYMxvpaKNyPixNygh8gZA4fqEDF5e6dutCCigXBt/qTW/cto2giD iz9NF23fRdpofrM0Gs3FCuv4Z1wGlghB/86mBE2Mx6NnQ4dUBA346/dbI2k/ojj0YAwb 0rex+x7xkseZdyvJli81HWzqErgEb89/GAAABeAjrRoWPRSKGNmowXB9uv+EsSndOZ7s OO/fjSsOT2F4hKqFsfu5SGh9Z+RcluBm2Vi4IeANNjAGm77G+y46SdRUBPoRaQ3iU780 0Sr4vWOa1YOz4nj4WqicjBb5Dax2KqMjzacVyxmIo/i0p9n9cRin3sm0yITSY0qBi3a8 0QJw== 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=Y76a3/LbYUKYdSjtoM/XhejcVPUWArm4KSXbUioz5Kw=; b=zKEd+k3XGn7lVudUetD8EOT0FvBwfE+W0IMkhm3zDzbsTfgMV3HVz599bzxZ+WWopM V4EtdjQjU2B577qttdPdzebC+fvvS1vrSS/FBWe0epC2AWtUJ7qV3ZkGYlE3jhyO0pf6 Z68InuAzKqiU6m8Na+S+R+OUpvyn9PHgAt3dCn5v3uNcwFrcU5kDYa1jYm7CNCDXhp3g nc8kXB671vnA6dV4Y6xv50qfNrHJhzGDmzT7GDLoZ1NZA6MGwoVbjN22x/iZPMSQyL7z jhSgbDTzMEgh01OElY1oYStL85oHXmVChF9wxurJET43o/Kx9j8gKTQULFJ553uK5blf u7Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=L8OIccBo; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd15-20020a1709069b8f00b00781be1c2714si9794866ejc.391.2022.09.29.11.08.46; Thu, 29 Sep 2022 11:09:13 -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=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=L8OIccBo; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235742AbiI2Rhh (ORCPT + 99 others); Thu, 29 Sep 2022 13:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234434AbiI2Rh2 (ORCPT ); Thu, 29 Sep 2022 13:37:28 -0400 X-Greylist: delayed 1211 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 29 Sep 2022 10:37:27 PDT Received: from mail.codeweavers.com (mail.codeweavers.com [65.103.31.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53E6113FB77 for ; Thu, 29 Sep 2022 10:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codeweavers.com; s=6377696661; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To: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=Y76a3/LbYUKYdSjtoM/XhejcVPUWArm4KSXbUioz5Kw=; b=L8OIccBo+X19LnR85a9CFewlSm 8Aob3i8a/OjDjav/NBWmMDBKFaejZ6/zAggtiO4u/tw5eYPtkjO/FCQSiSDx/ZYjZoatYcAN2Us2d 7lkzSyFezkwFV/aEEz3dW6+/bvIX41iFm6s8htNTBM7Bhtrz+75MmFp0wGzfN/BiYMuo=; Received: from cw137ip160.mn.codeweavers.com ([10.69.137.160]) by mail.codeweavers.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1odx9n-000NYe-2D; Thu, 29 Sep 2022 12:17:07 -0500 Message-ID: <0e11f3e5-6a16-4a7a-8e1f-470c45dac64e@codeweavers.com> Date: Thu, 29 Sep 2022 12:17:06 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] x86/split_lock: Restore warn mode (and add a new one) to avoid userspace regression Content-Language: en-US To: Dave Hansen , "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> From: Zebediah Figura In-Reply-To: <24f31510-5b33-ada5-9f0e-117420403e8c@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS 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/28/22 16:50, Dave Hansen wrote: > I really don't like the idea of *both* a new boot parameter and a new > Kconfig option. > > The warning mode worked as intended in this case because it got a user > to file a bug and that bug report made it back to us. It's kinda funny > to respond to that report by reducing the misery. > > On the other hand, all the report resulted in was finger-pointing at a > binary Windows applications that neither we nor probably anybody else > can do anything about. > > 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. This seems like a reasonable position, but on the other hand... > The other option is to wait and see if there's any kind of pattern with > these reports. ...if the pattern ends up being "closed-source Windows software", as is not unlikely, then maybe this is something that could be made into a personality, that emulators like Wine could enable? I don't know how distasteful such optional workarounds are in general, but this would at least allow the original warning to continue working as intended for software that can be fixed. ἔρρωσθε, Zeb