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=1795602916; b=yxOJI5SQtU6xV95WxdpHbNOfGbzxn1ste0kTkU6ThNqUwqVGPo0ypO2M9O+WGfYKsVN4 RncckWQaA4uFJCKk1xm6MytwwzgqOPR+chxexS1+Y3JTY5bPEmzYOO7d27n8giUH6TpKD ViZf9pPNo3P50IUpv8dp/0JEZohUcRdxWibVcEjq60rJrOz3xfSqivTKFQdkDGZA6BTnu 7KkE4Ll3nJEgf27rCbciaLF6p51/8rckuXXWkh3TSLRBeZK5pGVvzhowP+4GjnZYlZi96 pLPuE4KQLEwRia42WBEt8V/ig2xJW+MAnT2mO0C6WpnHjHXhkjrDEOWxpsiHrUsDYdw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795602916; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=NgmRBgk9C8iZ0iSFNegNQxJMR8imDSyCyx1WvMyiozE=; b=t15wrke5EyrqLHdaRncVnRunMc40S05RvVOlksxhWd0hDGhoTtMCxIRwnj5/y1mPJrXL WPPwiBwVmBLa3r0QBwZjZh5Eh6WbDFqpSLNkGkNaRV0BxiPrglTfVCEGILQGRk/Rr2VQa XaiKDPkWX+ica9f23ealETZ9LnUB4w45PwTx80zz38Xo+4CVQf5+U+tCeXWdRv2vfTkuQ KTKVolcf6T94FSqHZwVTn1eOeTMRuZMG9qWKpxmpYRw8T3fiK/S/djC1GXN+9akQmFPhF nwXsPwaWIElT9xei/7piydYHTNZCeHR1lOJhegRjVKy3ahJ4jVxtGXlMPi204I/mmCA== 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="IcKYBLe/"; 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 1E712606A321 for ; Wed, 25 Nov 2026 10:35:16 +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=IcKYBLe/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 489831F000ED; Wed, 25 Nov 2026 10:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795602915; bh=NgmRBgk9C8iZ0iSFNegNQxJMR8imDSyCyx1WvMyiozE=; h=Subject:To:Cc:From:Date; b=IcKYBLe/t1KyxDwpBPVzu6o+JzrjlEEuk2oTx8URfo3xiVN6upEAc3vbJvzH+nxPc PZrMUcSt+YzH6Y8XbV7viZ3xEpsOfJtvF98JPkSboE8Er/Iw+1WzGRN2LV+7OyopHM Flfyp45EWTX7q3oGzSOEMvhcTXASs64LAY5oNpc8= Subject: FAILED: patch "[PATCH] hwmon: (nct6775) Handle dual use registers" failed to apply to 6.1-stable tree To: glance@ac2.se,linux@roeck-us.net Cc: From: Date: Wed, 25 Nov 2026 11:18:09 +0100 Message-ID: <2026112509-boned-unholy-4e29@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.1-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.1.y git checkout FETCH_HEAD git cherry-pick -x ca1abdd1a9b9ce51713a18c8905bf10579533c3b # git commit -s git send-email --to '' --in-reply-to '2026112509-boned-unholy-4e29@gregkh' --subject-prefix 'PATCH 6.1.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) &&