From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B0362EB859 for ; Mon, 3 Aug 2026 22:16:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785795382; cv=none; b=BNPfiZhe3b6fxcCtNvqmGm/U5M7ebGI2kt0pHVk3Ien6146XYnFJdE/xXK92sT/3vyYH4vHy9klDphZ1LsQwakZXazlxpTP//RA6qPzMv25GhWJXIUyicXkU8POzbsNjtFD6O1zflDO7iV8ijZcT+SGa4gL7/2LNq0oQRoPtjoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785795382; c=relaxed/simple; bh=wRf7seLg/PtIoq4q0F63L6Ynk1VyW+y1eS+2VnsaHaY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m4cv9Shh0bUMqnGNT7oXML3vBF8SpDmm4MRf0lm+ZxDhFDHFSvCRNLGTjB5mAyjFPXHIwcV5yPJC0ijYvN6/7MBL7WngaxP279/1DR7PRIlwPVXsHoBL7z2ikJlvlP6RfFXrijDZGm1aGZJDiCMOKNE+wgMS8pxvS+658eHeOQE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AqWLP4sJ; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AqWLP4sJ" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-38e071ed6aeso2941612a91.0 for ; Mon, 03 Aug 2026 15:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785795380; x=1786400180; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=L+ei9qP/3pDlJdQw+OQB45Cnt4yPxyeAe4Q6yRcLbjU=; b=AqWLP4sJim/QpUe4htViXKmmyZHPquOohotTStayvneoJZNsvYRJ0bOzH7xJw1LiV8 lxZrvqKLgNy78GgHXLX5PlAre+V53WciA//yn0Qbsn3I4DA/B0dpmY6NgDtWRhbnGrW6 8N1vuQh73gl8d9sSKMuejTlNbh63PRPlhH7chKoouFPxBEU5Es0rKEn0w0ECSB473/+g OynkLBXArt0kW7eC9JPxjUqVLt2xZ/QsGxqBXQdP+4c52TvzA9gQuk7UXQlON0mlZUko ipxTLXnfABOol8A2oUl+YoDF0iLdeMiFlhnMdnrlAPMTBb8OF9/NxpftBKq9I1uFnaI3 26Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785795380; x=1786400180; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=L+ei9qP/3pDlJdQw+OQB45Cnt4yPxyeAe4Q6yRcLbjU=; b=k+K0bCKWiJ/g3QgnJONnkmS3xeATSECLalTcs/Yhl2sdhSn0tVgAZkrdwfsHGHYylZ eZLgZ7wFVk2w0b5TFKkTZjJSxsirFm73yOBtPKDCJg2jGYt2y/nIPiq3GSvPGCKalj/H YPjcxTpX746bILDEbeKIKPR2idO82jeNM9I5KSgSzFXNweKqWymbkbttt9DAL1gGeL5C lCLG/JjkKyu8SCmhoJIRShyRyo4nG6sfuaqITWaivnm73J8owuTXcsyHdikL1wAFKItg wBOOC3h+P2wWIyFDgn0ZTV7m8UHQF+93mDPbWxw8KKOhOqqZWpUIKyM9zN8DdqPobuKu 49/w== X-Forwarded-Encrypted: i=1; AHgh+RphJYxY3B6rCa9JU0qtyf8J0viby3vE4WbDe4x2epKkxp2MIlFFzri61yKAxB4t3Jkq2QZvdYBHaX8Itv4=@vger.kernel.org X-Gm-Message-State: AOJu0YyQE7UkSG8kYFA/04W2quIqLdd2CmyKFM1askpZmqLGlm8cMYdM kfvCYQSnx2sdy1J7wDuDo7XQ13QmqfpvBEnwkrSxVhxF/IIQKY1Z2J1r X-Gm-Gg: AR+sD13e8k8xpfvS/QbPsNBAbLw3KLbvGeI5+J79bbKRaVEy2tyVHORIH2yAQTsmABh 9K+k2Cuomu5wXP0iIm681R8UMgb7ReA8HBh339mQ7E6ksX2NNJ+Jge+Q7oVjHhhXTRUwDcgMqgf WMeZP2/07Ft2dIIEhP6BC8Ma2wfQB7XhFcvwJCw//1kUllcq+AFypYK9YU86WNmIB74nHZEkPtj wEStKoKqCQXiqhhvGH59qejZ8/QHUHKVtpwEHhx5AlhuWjHJiVxPf499DSfmZygiAzL2bzgv5f1 otLcXE0mfmMSad4dElran/HtNEvy861yCpwM4PMVsb7l/EZMOFzn6baRg2mEaZnLnIazeXtNwNb 1Xo0EEqJfeys0GR7PM1qrBGDV2zimQmYrgc8vOIpa/RiEHuWtaXaFe/EUP4enaGTrHXM2zs2crT BT8g5YeRQMGhV00WzWrnueeBbOxt6R6DVH9AoPgl7RWOCF9zimhMe1DjSHspq4GmUNSOf94xb0K 6QNJUbgDxNH10KmYcfgxY/2V3uozwr0DExAadIv4g== X-Received: by 2002:a17:90b:3852:b0:38e:5964:97a8 with SMTP id 98e67ed59e1d1-38fbc46d032mr9505429a91.16.1785795380404; Mon, 03 Aug 2026 15:16:20 -0700 (PDT) Received: from lappy (108-228-232-20.lightspeed.sndgca.sbcglobal.net. [108.228.232.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13fab1334cfsm38685666c88.1.2026.08.03.15.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 15:16:19 -0700 (PDT) From: "Derek J. Clark" To: lkml@antheas.dev Cc: W_Armin@gmx.de, corbet@lwn.net, hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, jdelvare@suse.com, kuurtb@gmail.com, linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, "Derek J. Clark" Subject: [PATCH 0/6] Re: [PATCH v1 00/10] platform/x86: msi-wmi-platform: Add fan curves/platform profile/tdp/battery limiting Date: Mon, 3 Aug 2026 15:16:08 -0700 Message-ID: <20260803221614.59324-1-derekjohn.clark@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20250511204427.327558-1-lkml@antheas.dev> References: <20250511204427.327558-1-lkml@antheas.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit While tesing this series, multiple issues were found that cause crashes or compilation warnings. Additionally, since this was first posted, two new models have been added that each have a unique feature that must be managed before TDP control will be used. Given that Antheas indicated he still plans on sending a v2, I'm posting these so they can be incorporated in the next version, and so that distro's packaing this out of tree can get the fixes and additional functionality in the meantime. A summary of the changes are as follows: - Patch 1 detangles a guard with a switch case that violates cleanup rules. - Patch 2 removes an unused err variable. - Patch 3 teminates the quirk table with a null entry to prevent unquirked platforms from crashing when the driver is loaded. - Patch 4 cleans up the device quirk names, fixes a bug with when buffer data is copied as a payload, and adds separate PLx limits as indicated by the windows DLL, if pl1 and pl2 are set to the same minumum it can cause instability. - Patch 5 adds support for gen 3, the AMD Strixx version. In order for manual TDP control to funciton the STAPM flag must be toggled off. - Patch 6 adds support for the 8 EX Ai+. This device uses a new shift mode, called "manual", to enable TDP adjustment. Since this could conflict with the existing "user" mode, use the quirk table to specifiy which mode is "custom". As a consequence, "custom" must be checked outside of the switch case as it could be one of multiple values. If you incorporate any of these changes in v2, please add the appropriate attribution. Thanks, Derek Derek J. Clark (5): platform/x86: msi-wmi-platform: Move guard out of switch in platform_write() platform/x86: msi-wmi-platform: fix: Remove unused err platform/x86: msi-wmi-platform: Clean up devices platform/x86: wmi-msi-platform: Add MSI Claw A8 support platform-x86: msi-wmi-platform: Add Gen 4 device Matthew Schwartz (1): platform/x86: msi-wmi-platform: terminate msi_quirks DMI table drivers/platform/x86/msi-wmi-platform.c | 151 ++++++++++++++++++++---- 1 file changed, 127 insertions(+), 24 deletions(-) -- 2.55.0