Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp851641pxb; Thu, 26 Aug 2021 16:51:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf2OCWTvQvJ2UFYQvk7G+l5dMQqToB5JUYn28G87wUYsoFDEahuMohuvrd0tCdq65AErT+ X-Received: by 2002:a05:6402:c90:: with SMTP id cm16mr6908655edb.170.1630021875155; Thu, 26 Aug 2021 16:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630021875; cv=none; d=google.com; s=arc-20160816; b=k7h74nvU5Gigw/AU03fgcCPqsg1A/L/VpaO1MbIgkddQav3a91UTO21ZMDg9y9dgdz 0pmV+/PaH/3F/Bq7NRi19yto13KR6RL/tJF12m4EGE2UJz4cW1Bvk6enLHWWOIbMw8jk q5SqOqUo+prfCQVeMj6pCn6kZAC1GTad9+cfW4pBJ8pUr6nYQVCitIyKno7r8RvqndP/ DY0LOik+rvOR8HGzkImQfTtlwshXT0slM+FtfwksSjMUmfsn9m6JKYIeF3fah6adJIug 0LsDpOV9R4iWruj8Med7qM/JGaePWy9l+IXUIqPkOtvq3V0+1a6a8hzaSSr8UaZ3nW7E Oziw== 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=0bAX2qB9NKBGTe2XmYqyZU75YUOSdQQ4htXN/uBNGJc=; b=nwddW4pdoa8mEyVamY1MTiuH2UVkgYZ/JvMi2w2WzEDUZfcGtKoyRohEPRf8LrIBxU D6Y01CR+HjrObxTwDKGZqXuPC5tGP3wjge6WLXQy+afz6uClQOrGDaVuyozixJaNJ1dQ UXpkyUIiyPuQ2Lb5Kpx0QmCXf3RFbH/UVq0d2naMGvIib3bmPCkTs+78OlXknQJOL4zS NYcVoY9BcXRTNBx1l69SkOlHfaynkwe/GJICbHdpLOF8ARpLDZ/K5inxa9Yj/0sRNNTD /xxNlK/nNkElC0JXcHEvZa4bO6DDXWaw/4fC3vJjaZ7jvT7h87dAXPQE5FqwrNCurgvm UjkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=rAj70LGK; 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 v10si4568176ejy.710.2021.08.26.16.50.52; Thu, 26 Aug 2021 16:51:15 -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=rAj70LGK; 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 S243887AbhHZXrM (ORCPT + 99 others); Thu, 26 Aug 2021 19:47:12 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:52645 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243886AbhHZXrE (ORCPT ); Thu, 26 Aug 2021 19:47:04 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3966D320046E; Thu, 26 Aug 2021 19:46:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 26 Aug 2021 19:46:16 -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=0bAX2q B9NKBGTe2XmYqyZU75YUOSdQQ4htXN/uBNGJc=; b=rAj70LGKCEkcs3JhImZz5Y 52/OMQ7Ps1RobBlvwJUINC2ZOUuClJ5xHUcle9rzTL4D0bu2bvOiOOsPEvfuYRAr rmHmIRikFB6I7uMp6CNWKqkQiN1uKW9QOLcOSU6m1u1WJ4do3mJKQIvxnM2GbJRN JbV16gy/zjiYe1aaGKHqSEhCahKluYoSixaSU5uy3xXrsXZGoAuq6Nn3UcyqB2Dr yxv8qolrI8a+CFcDHDsZPFopYRD9dJZLhBDhKLq7pAfhx8Q4U1Vw13+J7LmfazYa yxONWgC7dPG/NSN8cXKHvroo9M8C+Ypq3tX3SKs5iezQUItF90LVYx+/eAGAuA5w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudduvddgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffuvffkjghfofggtgesthdtre dtredtvdenucfhrhhomhepnfhukhgvucflohhnvghsuceolhhukhgvsehljhhonhgvshdr uggvvheqnecuggftrfgrthhtvghrnhepgfeffedufffhgfeuheegffffgeegveeifeeute fhieejffetudfgueevteehtdetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomheplhhukhgvsehljhhonhgvshdruggvvh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Aug 2021 19:46:11 -0400 (EDT) Date: Fri, 27 Aug 2021 11:45:56 +1200 From: Luke Jones Subject: Re: [PATCH v5 0/1] asus-wmi: Add support for custom fan curves To: linux-kernel@vger.kernel.org Cc: hdegoede@redhat.com, hadess@hadess.net, platform-driver-x86@vger.kernel.org Message-Id: In-Reply-To: <20210826234259.5980-1-luke@ljones.dev> References: <20210826234259.5980-1-luke@ljones.dev> 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 27 2021 at 11:42:58 +1200, Luke D. Jones wrote: > Add support for custom fan curves found on some ASUS ROG laptops. > > The patch has gone through a few revisions as others tested it and > requested bahaviour changes or reported issues. V4 should be > considered > finalised for now and I won't submit a new version until V4 has been > reviewed. Sorry, I copy/pasted my last log. This V5 is pretty much finalised now. Testing and self-review seems to have caught everything it possibly can. Cheers, Luke. > - V1 > + Initial patch work > - V2 > + Don't fail and remove wmi driver if error from > asus_wmi_evaluate_method_buf() if error is -ENODEV > - V3 > + Store the "default" fan curves > + Call throttle_thermal_policy_write() if a curve is erased to > ensure > that the factory default for a profile is applied again > - V4 > + Do not apply default curves by default. Testers have found that > the > default curves don't quite match actual no-curve behaviours > + Add method to enable/disable curves for each profile > - V5 > + Remove an unrequired function left over from previous iterations > + Ensure default curves are applied if user writes " " to a curve > path > + Rename "active_fan_curve_profiles" to > "enabled_fan_curve_profiles" to > better reflect the behavious of this setting > + Move throttle_thermal_policy_write_*pu_curves() and rename to > fan_curve_*pu_write() > + Merge fan_curve_check_valid() and fan_curve_write() > + Remove some leftover debug statements > + Remove '\n' causing double-up of '\n\n' > > Luke D. Jones (1): > asus-wmi: Add support for custom fan curves > > drivers/platform/x86/asus-wmi.c | 618 > ++++++++++++++++++++- > include/linux/platform_data/x86/asus-wmi.h | 2 + > 2 files changed, 619 insertions(+), 1 deletion(-) > > -- > 2.31.1 >