From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy2-f43.google.com (mail-dy2-f43.google.com [74.125.229.43]) (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 5D3064F647A for ; Fri, 25 Sep 2026 20:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.229.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790369581; cv=none; b=f6fLSwgVaJD0vun2yqjdkyk15YTj5rGLAuLG2dBAY/dPzNFbj+TOV/4vuOrQpcgRZKXmeYV7itgos8WZDe2kuLPGIHB4w75iKwjiicDag7mlRf5zSw1s4xsu6CHh7bpsA+yRsgCMniFbAgq8bsnniTWxaybn3AYQ822EFvy1pNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790369581; c=relaxed/simple; bh=V3+yZT6YgVYUQdzB9TmvQNwHwQAuLA6xbe0leH+6ANM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MnHZD4+sRA1XtaAhTehejBHG30McMOPrhWEUOYtifpvtbQU/CBOnWcIrY/SjoVJj1G2BTNKNBN5IfZTRTCybnaluHVzEL65uDie5/b8ohrzuaVsvGHGsFHBl7N3umZCDx9ZfNTFvLgR7U2+5cinZ2AE/ZRmjQ7Y8h08FcRGAWHw= 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=Lxudg0PB; arc=none smtp.client-ip=74.125.229.43 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="Lxudg0PB" Received: by mail-dy2-f43.google.com with SMTP id 5a478bee46e88-33e46a156f4so724027eec.0 for ; Fri, 25 Sep 2026 13:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790369577; x=1790974377; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=3hILfYSx6Rwo5N+DFRo2zikr7W+nhdamltoaH7/MZZ8=; b=Lxudg0PBKwp3TkGFWH+jnoPkEYXRPzkBciKOhNDAdWp+8FspFJZllz99/+7RAVml0i piwFFRPrPFvWgxL3MXp+p8mqJdjP3RXnylD36IvLR6VSsQnI0mjswWOYJYNRmKPLAAEh nxMVPw7Vv4C+w8U+VY6GHgaPFEfKheJFwCv5clXkiPy594UNtJxQ+HDdUwF52ZW+8mIO N/EbZucLx+4hkNnrHdr0ArtuuBOGOYOgZ79KIF7+te107j/Hl/k1ozzUqwKwF8J//cKZ GKnYXx1rUhJC8ZO23BFUjLKdL4UJxcq3Dj5UetFh86ERg01Px+kFTONXh2//9Od5fvh1 dZFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790369577; x=1790974377; h=content-transfer-encoding:mime-version: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=3hILfYSx6Rwo5N+DFRo2zikr7W+nhdamltoaH7/MZZ8=; b=2PQRPzv1Sh8gBstnAuvkUmTC2uEkTndZH9WeRXD2Dz9zvTQoxG8Xcsfbq9K079Spnj 4bvn9MnrF8TF4NqdqmxmDH0hn+CKoYlcaZQd4/cOHoLG1qlWxNrnOD5saXWzCeOf9O3e DDcl0I9QyynS2kJ9P6A28Yd2mR1mEH0pYWaxHI5+rc7t1pO2UMo4Us7qavxP3HX8WgC6 /Eiv3mym6q4ATyMYc3NfDj583AxNdrz9aNyEAU8oSJckEOlJH5qSohw8cdWSeiNDdaTh 37o28iPbjHfLlBFQMNGRhAWSfiBzazdo6Opte4ihhn5GBZizVoNBwuhzMJoYgVgJIEX8 pGjw== X-Gm-Message-State: AFuF++mZzWC1UZ7vExQSc+4pCx3PZmBRgoE2w0RjDSayoFKgnTVRZAYv aLlsOjfbBif3P/opH/7S9S2gTAF+d4XQ45rqVk2GGOkhNjHv3iy669UP X-Gm-Gg: AYBFou3dukeFGUm/eFaarsYXzn2G26JZ8eZDsiyaWCcxoiLOBUmxneictmCyqpSjvAe Out373BrKPI5iFbPknGkxWEZJGpzxCzH/MdZmlao0qNkI4RxwgxwmGrdjl6vagOeblV+JYtKzWp V6QhOPDZRowOa/HvBHMSQLk5iKs8FBtLUmRJLynaUZhgLkG9ySzowalACzFxpCCwrPpCLVAoCep lZe64tr3jjOtV0jpAbVIzhmCM8Ka9CgZJaP1hL9+Rzrh6gB0EeB9wJiLXA7xkhFnpSOJIH8oMoG 28bKoFlhAFQ/CSgZnjIGx6ruGEv5fYnUIj3I5hGavlDvpZz9Dh+6TYZZaJeVqjq3EfWJ9gvTA3S juJZ6tqEUuup9+HDVygbJWfupZEgomPvg0IVEPfX4xxeo9F/2B92NjOJEXdS851MAvIjge/A4VC MYGP7ZlowXf1ntPfyIhrnXoDhzrwFgJpNyx73hG9iF+cE6b52QD2uaMNK/T9v7MIsplMJxwjvp3 40Fe1l4pIHzOj85U2PZ48NYR00yX3EUM0YtQcah X-Received: by 2002:a05:7301:dd97:b0:341:8e9e:28f6 with SMTP id 5a478bee46e88-34273946002mr1097965eec.41.1790369576952; Fri, 25 Sep 2026 13:52:56 -0700 (PDT) Received: from CP-Notebook (host8.181-2-204.telecom.net.ar. [181.2.204.8]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-34141d2fe4bsm8673833eec.4.2026.09.25.13.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2026 13:52:56 -0700 (PDT) From: Ciro Pedrini To: Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , platform-driver-x86@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Ciro Pedrini , stable@vger.kernel.org Subject: [PATCH] platform/x86: hp-wmi: Add OMEN board 8A17 thermal profile support Date: Fri, 25 Sep 2026 17:52:26 -0300 Message-ID: <20260925205226.883724-1-ciro.pedrini@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The HP OMEN 17-ck1xxx (board 8A17) isn't in omen_thermal_profile_boards, so hp-wmi uses the generic thermal profile query. The firmware only stores that value and never acts on it, so the EC stays in its default mode and the CPU is held at 45 W whatever profile is selected. The board uses the OMEN interface (mode byte at EC 0x95, thermal policy v1) and also needs the timed profile quirk: without it, the EC drops back to the default mode about two minutes after each profile change. Add 8A17 to omen_thermal_profile_boards and omen_timed_thermal_profile_boards. With this, all three profiles work and sustained package power under load goes from 45 W to 56-79 W. Cc: stable@vger.kernel.org Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Ciro Pedrini --- Notes: Tested on 7.2.7, whose OMEN profile code matches for-next. Without the timed quirk, EC 0x63 counts down from about 120 after each profile write, and at zero the EC resets 0x95 to 0x30. 8A13, 8A14, 8A16 and 8A18 appear in the same DSDT. 8A18 is in the OMEN list but not the timed one, so it may have the same two-minute fallback. I can't test it. I used an AI assistant (Claude) for the ACPI analysis and to draft this message. I tested the change on my machine and reviewed everything. drivers/platform/x86/hp/hp-wmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c index 7ab81ce5f..76f489d5d 100644 --- a/drivers/platform/x86/hp/hp-wmi.c +++ b/drivers/platform/x86/hp/hp-wmi.c @@ -207,7 +207,7 @@ static const char * const omen_thermal_profile_boards[] = { "886B", "886C", "88C8", "88CB", "88D1", "88D2", "88F4", "88F5", "88F6", "88F7", "88FD", "88FE", "88FF", "8900", "8901", "8902", "8912", "8917", "8918", "8949", "894A", "89EB", - "8A15", "8A18", "8A42", "8A43", + "8A15", "8A17", "8A18", "8A42", "8A43", "8BAD", "8E41", }; @@ -226,7 +226,7 @@ static const char * const omen_thermal_profile_force_v0_boards[] = { * "balanced" when reaching zero. */ static const char * const omen_timed_thermal_profile_boards[] = { - "8A15", "8A42", + "8A15", "8A17", "8A42", "8BAD", }; base-commit: f475845eaf3d749114a63270bf2efea459e14dd2 -- 2.55.0