Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1363799pxb; Fri, 20 Aug 2021 04:03:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbb0aDSlUTkyonSIhknyxwHCQF9yqPmzutUzJNGocj+gpjOrgsG2avk8DaqD97Y4gknGxh X-Received: by 2002:a17:907:7883:: with SMTP id ku3mr21689314ejc.453.1629457405581; Fri, 20 Aug 2021 04:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629457405; cv=none; d=google.com; s=arc-20160816; b=Gi6ACZxvcqaScZKQrc1zOd/2iPiBpB6aIoax5gXqlPqWM2D8HU/EnnjdXvt+lDj72U 9/akxreUJ95G75E7wBUjHOjOQZn8f8GYtA4+SvJfaq3nT9QzytjccPdG0rqNSKer53iR DFewDKpwPdMRUBQY8sYXYTmZRO1uw9g08xel6jbnViZVf+qpUy0TR+Cor2n5rqEiCuce uu5uYEISzHj59kYxDfhc+Dsh6+mf4omylvOJ3HXsWNh0n2/JjHIUNYf4me3BZFQmk7XX +hjvOcuh6zp7UrvYX0nOjvwDRdPdTxulp9IRhQIj2mQV1qgAJd0MT/V5W0rxce86SK/k LOeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :cc:to:subject:from:date:dkim-signature; bh=TaQBSgvqUCrWUfWtlGrPX2smT3iPxXowskDyFRH3cAQ=; b=0TSzM0XLo3fJ3OnOhFh6EZ2LQKLzMWbzmiC9SdXybTm6mTf3DSaf5Nj0WgPQ6zGtKg ILrgXeRHyrguuZCSRy5VbHgDQGilPSJAM2pEe6S30IC/UScLjP0fghATbSBVvRcg4xnH DESFIERTqZStYccODec1jE1kwCiftt5m+qMDaHElTKP5JAaOdWOMqqt2T8FhAYgjM2nj arCFsJjWV+lXf+bELbK8kcsYlJUdr6XQSftArnmCvj9IlsRIgrVU8kl5gmKlb8JgWQ4h UTb/9b8jJwbRnLTK0mjg/TQLuWiIXpg+upIfAM9cEjrx75P4nSoLonpvJ7YUjq+AcaRC 3j1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=YSE9v4z7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx23si5932453edb.189.2021.08.20.04.02.32; Fri, 20 Aug 2021 04:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=YSE9v4z7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233437AbhHTLAT (ORCPT + 99 others); Fri, 20 Aug 2021 07:00:19 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:37289 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229847AbhHTLAS (ORCPT ); Fri, 20 Aug 2021 07:00:18 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C1A773200368; Fri, 20 Aug 2021 06:59:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 20 Aug 2021 06:59:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=TaQBSg vqUCrWUfWtlGrPX2smT3iPxXowskDyFRH3cAQ=; b=YSE9v4z7Lssi/h0nmXQFhe vjePeecBql/ENblAUfx5fNEa0AuN3b1pvrereMbWvYn3s7zFXqPTUW0vCicZhExm /d0DXIBUct26XMrXO6b9cfEDAKUn06ceMxHO+MKAZqlw4hdfYQNaeIodrQbyWDo5 hOExq9YWpt5TjDWrslqs4I1OYpzRqt7FEuqvUh705v3Oyfg56wN49wKzPosGDJN0 Vk+sKFU32L7yNyRkzPSCaNySsB15/zCxbAbgGhO/2BLpa//IGN2yLFGqEhP+H9h+ X6t8DyuDi6LpDClqGYKr0qAhw44lLP6GweE0zCORVIIFLwcAXARDhtd5s0V2Gr1w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleelgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhuffvkfgjfhfogggtsehttdertd ertddvnecuhfhrohhmpefnuhhkvgculfhonhgvshcuoehluhhkvgeslhhjohhnvghsrdgu vghvqeenucggtffrrghtthgvrhhnpefgfeefudffhffgueehgeffffeggeevieefueethf eijefftedugfeuveethedtteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Aug 2021 06:59:34 -0400 (EDT) Date: Fri, 20 Aug 2021 22:59:17 +1200 From: Luke Jones Subject: Re: [PATCH v4 1/1] asus-wmi: Add support for custom fan curves To: Bastien Nocera Cc: linux-kernel@vger.kernel.org, hdegoede@redhat.com, platform-driver-x86@vger.kernel.org Message-Id: In-Reply-To: References: <20210820095726.14131-1-luke@ljones.dev> <20210820095726.14131-2-luke@ljones.dev> <321afe1a293be3a623a9be53feea3a008e044b31.camel@hadess.net> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 20 2021 at 12:43:17 +0200, Bastien Nocera wrote: > On Fri, 2021-08-20 at 22:33 +1200, Luke Jones wrote: >> > Am I going to get bug reports from Asus users that will complain >> > that >> > power-profiles-daemon doesn't work correctly, where I will have to >> > wearily ask if they're using an Asus Rog laptop? >> >> No. Definitely not. The changes to fan curves per-profile need to be >> explicitly enabled and set. So a new user will be unaware that this >> control exists (until they look for it) and their laptop will behave >> exactly as default. > > "The user will need to change the fan curves manually so will > definitely remember to mention it in bug reports" is a very different > thing to "the user can't change the fan curves to be nonsensical and > mean opposite things". I get the impression that if I add something in-kernel to disable platform_profile if curves are enabled we'll end up with a very similar situation regardless ("Why did platform_profile disappear?" or "Why is platform_profile not responding?"). There is minimal validity checking in the patch, such as ensuring the curve is either flat or trends up, never down. > > I can assure you that I will eventually get bug reports from "power > users" who break their setup and wonder why things don't work > properly, > without ever mentioning the changes they made changes to the fan > curves, or anything else they might have changed. Yes I can imagine. I deal with this a lot in the asus-linux discord. No matter what I do to alleviate it, it happens - I've kind of taken it as a given now. This patch doesn't change the behaviour of platform_profile at all however. If possible I'd very much like to continue with the current behaviour and see where it takes us. Kind regards, Luke.