From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795602909; b=CvGM+3Ww6yLxS6/h2sRU/Pm5Mjs+Spr8mWRd8x1hy2PeyEmQEoGCcSN2nA7JcNFalNcU TPt+aeoDIzkTsbnisP8FOLcOpX7ldzhjcaBscQXZrQPeg9M3tb17CgstwsWXWN6IL7vwv Rcgo212V9jcTvfbQabnAqfW4ZbXs0Xs/7nacmvDsEwYRjaI8aeDFyloYD1cCBD43AkEa5 0lYhhlQw0DdKnYMSbhnqqKnojud3hmFxTf7wJW+P93IBmevpAPcL2pbyU0Gy/8vzedokH wMZEDwXxlbgSQ2hE6Q4oZGVlmt1SAGoHvtGUNbmeHzWzQBT+p+goNTfzp8U2BIwVDOQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795602909; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=P82ESLpcOcRcp2COCAfu8suX/sr2sJFL+mSepN+Q5To=; b=r16SPpBH+ACdBKg3IdZ9g4Wu0rvQGqNnFAKAjTgQBQTew1JG9PAmpNQ1IpBph1CsZzB5 n5ZeaprJxg+aeK8SnnZxuQSn9A1X8LnJIwcoPzUxWccAS821UlGQgHNhB+lYo1hFFMg2y kBfF2rGx/X6cdHDgvlArAeUJ47bjPepbgYFhguQzYXJ5bL1HfJSiJkWsTv378bf5SRloU 4ggaSFpdrIkX3K/fyiwP2m5lCgMlJqORhuFpSt+IDNtqjohwbwUTiZw9UfNmNfis1CNMH 0kWV1/mdOXxD4f7hBzCMEiOUtZcFhDrlWTZjwxkrXB1f8vo+5YhLEW9Qz8nVLNOiCeQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="Jvsm/nFW"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EC76606A321 for ; Wed, 25 Nov 2026 10:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Jvsm/nFW Received: by smtp.kernel.org (Postfix) with ESMTPSA id 865881F000C0; Wed, 25 Nov 2026 10:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795602909; bh=P82ESLpcOcRcp2COCAfu8suX/sr2sJFL+mSepN+Q5To=; h=Subject:To:Cc:From:Date; b=Jvsm/nFWfj9C7bOdFz17BqDCEPJSYUGDQkFPqW/JmO2uhQIMk9aPlo3MKWkrGB3gD 3qarELtydU7PL4eWYdU/HwOOx+Gc8D07w0b1c6MxbMHonG0aPjs/w9e43DTyZuxmmC bfdIoTpovxMXHp/AY7NgWmedY9h0nLXsWNKbr1vQ= Subject: FAILED: patch "[PATCH] hwmon: (nct6775) Handle dual use registers" failed to apply to 6.12-stable tree To: glance@ac2.se,linux@roeck-us.net Cc: From: Date: Wed, 25 Nov 2026 11:18:08 +0100 Message-ID: <2026112508-tidbit-squad-4a07@gregkh> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.12.y git checkout FETCH_HEAD git cherry-pick -x ca1abdd1a9b9ce51713a18c8905bf10579533c3b # git commit -s git send-email --to '' --in-reply-to '2026112508-tidbit-squad-4a07@gregkh' --subject-prefix 'PATCH 6.12.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From ca1abdd1a9b9ce51713a18c8905bf10579533c3b Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Mon, 9 Nov 2026 09:25:09 +0100 Subject: [PATCH] hwmon: (nct6775) Handle dual use registers The REG_TARGET register has different meaning, depending on if pwm is in thermal_cruise or speed_cruise. This means we can't assume it's always word sized, so we need to handle it differently depending on which mode we're in. The code already does this, but the register was configured as word sized for the speed_cruise mode, which would do the wrong thing in thermal_cruise mode. Fixes: 6c009501ff20 ("hwmon: (nct6775) Add support for NCT6102D/6106D") Fixes: 29c7cb485b32 ("hwmon: (nct6775) Integrate new model nct6116") Fixes: 437b3c2a4bdc ("hwmon: (nct6775) Add support for NCT6126D") Cc: stable@vger.kernel.org Signed-off-by: Anton Lundin Link: https://patch.msgid.link/20261109082511.851377-2-glance@ac2.se Signed-off-by: Guenter Roeck diff --git a/drivers/hwmon/nct6775-core.c b/drivers/hwmon/nct6775-core.c index 6e97e4f08b90..3515a962adac 100644 --- a/drivers/hwmon/nct6775-core.c +++ b/drivers/hwmon/nct6775-core.c @@ -1188,15 +1188,13 @@ bool nct6775_reg_is_word_sized(struct nct6775_data *data, u16 reg) case nct6106: return reg == 0x20 || reg == 0x22 || reg == 0x24 || (reg >= 0x59 && reg < 0x69 && (reg & 1)) || - reg == 0xe0 || reg == 0xe2 || reg == 0xe4 || - reg == 0x111 || reg == 0x121 || reg == 0x131; + reg == 0xe0 || reg == 0xe2 || reg == 0xe4; case nct6116: case nct6126: return reg == 0x20 || reg == 0x22 || reg == 0x24 || reg == 0x26 || reg == 0x28 || reg == 0x59 || reg == 0x5b || reg == 0xe0 || reg == 0xe2 || reg == 0xe4 || reg == 0xe6 || - reg == 0xe8 || reg == 0x111 || reg == 0x121 || reg == 0x131 || - reg == 0x191 || reg == 0x1a1; + reg == 0xe8; case nct6775: return (((reg & 0xff00) == 0x100 || (reg & 0xff00) == 0x200) &&