Linux kernel -stable discussions
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] Input: atkbd - skip deactivate for HONOR ZQC-P" failed to apply to 6.18-stable tree
@ 2026-08-20 11:07 gregkh
  2026-08-24 14:50 ` [PATCH 6.18.y 1/2] Input: atkbd - skip deactivate for HONOR FMB-P's internal keyboard Sasha Levin
  0 siblings, 1 reply; 6+ messages in thread
From: gregkh @ 2026-08-20 11:07 UTC (permalink / raw)
  To: DongLin_Lyu, adefka, dmitry.torokhov, donglin_lyu; +Cc: stable


The patch below does not apply to the 6.18-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 <stable@vger.kernel.org>.

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.18.y
git checkout FETCH_HEAD
git cherry-pick -x 410c44b1096789d0c40fbee706520e981dba7bc1
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2026082021-ungraded-halves-33f6@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..'

Possible dependencies:



thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 410c44b1096789d0c40fbee706520e981dba7bc1 Mon Sep 17 00:00:00 2001
From: Donglin Lyu <DongLin_Lyu@outlook.com>
Date: Sun, 2 Aug 2026 15:37:18 -0700
Subject: [PATCH] Input: atkbd - skip deactivate for HONOR ZQC-P

The internal keyboard on the HONOR ZQC-P (HONOR MagicBook Pro 14 2026)
does not work after boot.

Using the kernel command line 'i8042.dumbkbd=1' makes the keyboard
functional, but the CapsLock LED does not work. Adding the
'atkbd_deactivate_fixup' quirk fixes the keyboard and CapsLock LED
natively without requiring boot parameters.

DMI: HONOR ZQC-P/ZQC-P-PCB, BIOS 1.09 03/19/2026

Fixes: 9cf6e24c9fbf ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID")
Signed-off-by: Donglin Lyu <donglin_lyu@outlook.com>
Tested-by: Ruslan Shevchenko <adefka@gmail.com>
Link: https://patch.msgid.link/20260801151115.52709-1-donglin_lyu@outlook.com
Cc: stable@vger.kernel.org
[dtor: keep all HONOR entries together]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 6c897282d25f..4c82e988260e 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1916,6 +1916,13 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
@@ -1923,6 +1930,14 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
+	{
+		/* HONOR MagicBook Pro 14 2026 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ZQC-P"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
 	{
 		/* Lenovo Yoga Air 14 (83QK) */
 		.matches = {
@@ -1931,13 +1946,6 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
-	{
-		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
-		},
-		.callback = atkbd_deactivate_fixup,
-	},
 	{
 		/* Xiaomi Book Pro 14 (TM2424) */
 		.matches = {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 6.18.y 1/2] Input: atkbd - skip deactivate for HONOR FMB-P's internal keyboard
  2026-08-20 11:07 FAILED: patch "[PATCH] Input: atkbd - skip deactivate for HONOR ZQC-P" failed to apply to 6.18-stable tree gregkh
@ 2026-08-24 14:50 ` Sasha Levin
  2026-08-24 14:50   ` [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P Sasha Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Sasha Levin @ 2026-08-24 14:50 UTC (permalink / raw)
  To: stable
  Cc: Cryolitia PukNgae, Mikura Kyouka, foad.elkhattabi, Hans de Goede,
	Dmitry Torokhov, Sasha Levin

From: Cryolitia PukNgae <cryolitia.pukngae@linux.dev>

[ Upstream commit 2aaf33c6e1e82561d7dce2345298a985a2483266 ]

After commit 9cf6e24c9fbf17e52de9fff07f12be7565ea6d61 ("Input: atkbd -
do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID"), HONOR
FMB-P, aka HONOR MagicBook Pro 14 2025's internal keyboard stops
working. Adding the atkbd_deactivate_fixup quirk fixes it.

DMI: HONOR FMB-P/FMB-P-PCB, BIOS 1.13 05/08/2025

Fixes: 9cf6e24c9fbf17e52de9fff07f12be7565ea6d61 ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID")
Reported-by: Mikura Kyouka <mikurakyouka@aosc.io>
Reported-by: foad.elkhattabi <foad.elkhattabi@gmail.com>
Signed-off-by: Cryolitia PukNgae <cryolitia.pukngae@linux.dev>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://patch.msgid.link/20251022-honor-v1-1-ff894ed271a9@linux.dev
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Stable-dep-of: 410c44b10967 ("Input: atkbd - skip deactivate for HONOR ZQC-P")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/input/keyboard/atkbd.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index ea88bcfdb4b6f..f06ce0a7b156d 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1937,6 +1937,13 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
 	{
 		/* Lenovo Yoga Air 14 (83QK) */
 		.matches = {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P
  2026-08-24 14:50 ` [PATCH 6.18.y 1/2] Input: atkbd - skip deactivate for HONOR FMB-P's internal keyboard Sasha Levin
@ 2026-08-24 14:50   ` Sasha Levin
  2026-08-24 15:15     ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Sasha Levin @ 2026-08-24 14:50 UTC (permalink / raw)
  To: stable
  Cc: Donglin Lyu, Donglin Lyu, Ruslan Shevchenko, Dmitry Torokhov,
	Sasha Levin

From: Donglin Lyu <DongLin_Lyu@outlook.com>

[ Upstream commit 410c44b1096789d0c40fbee706520e981dba7bc1 ]

The internal keyboard on the HONOR ZQC-P (HONOR MagicBook Pro 14 2026)
does not work after boot.

Using the kernel command line 'i8042.dumbkbd=1' makes the keyboard
functional, but the CapsLock LED does not work. Adding the
'atkbd_deactivate_fixup' quirk fixes the keyboard and CapsLock LED
natively without requiring boot parameters.

DMI: HONOR ZQC-P/ZQC-P-PCB, BIOS 1.09 03/19/2026

Fixes: 9cf6e24c9fbf ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID")
Signed-off-by: Donglin Lyu <donglin_lyu@outlook.com>
Tested-by: Ruslan Shevchenko <adefka@gmail.com>
Link: https://patch.msgid.link/20260801151115.52709-1-donglin_lyu@outlook.com
Cc: stable@vger.kernel.org
[dtor: keep all HONOR entries together]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/input/keyboard/atkbd.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index f06ce0a7b156d..db7762abfe5c6 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1940,22 +1940,30 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
 	{
-		/* Lenovo Yoga Air 14 (83QK) */
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
+			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "FMB-P"),
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
 	{
+		/* HONOR MagicBook Pro 14 2026 */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ZQC-P"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
+	{
+		/* Lenovo Yoga Air 14 (83QK) */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P
  2026-08-24 14:50   ` [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P Sasha Levin
@ 2026-08-24 15:15     ` Greg KH
  2026-08-24 15:20       ` Greg KH
  2026-08-25 11:49       ` Sasha Levin
  0 siblings, 2 replies; 6+ messages in thread
From: Greg KH @ 2026-08-24 15:15 UTC (permalink / raw)
  To: Sasha Levin; +Cc: stable, Donglin Lyu, Ruslan Shevchenko, Dmitry Torokhov

On Mon, Aug 24, 2026 at 10:50:35AM -0400, Sasha Levin wrote:
> From: Donglin Lyu <DongLin_Lyu@outlook.com>
> 
> [ Upstream commit 410c44b1096789d0c40fbee706520e981dba7bc1 ]
> 
> The internal keyboard on the HONOR ZQC-P (HONOR MagicBook Pro 14 2026)
> does not work after boot.
> 
> Using the kernel command line 'i8042.dumbkbd=1' makes the keyboard
> functional, but the CapsLock LED does not work. Adding the
> 'atkbd_deactivate_fixup' quirk fixes the keyboard and CapsLock LED
> natively without requiring boot parameters.
> 
> DMI: HONOR ZQC-P/ZQC-P-PCB, BIOS 1.09 03/19/2026
> 
> Fixes: 9cf6e24c9fbf ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID")
> Signed-off-by: Donglin Lyu <donglin_lyu@outlook.com>
> Tested-by: Ruslan Shevchenko <adefka@gmail.com>
> Link: https://patch.msgid.link/20260801151115.52709-1-donglin_lyu@outlook.com
> Cc: stable@vger.kernel.org
> [dtor: keep all HONOR entries together]
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
>  drivers/input/keyboard/atkbd.c | 18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)

Did I miss a patch 1/2 for this?

And this patch differs a lot from the original, why not just backport
the id table changes that were done in the meantime instead?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P
  2026-08-24 15:15     ` Greg KH
@ 2026-08-24 15:20       ` Greg KH
  2026-08-25 11:49       ` Sasha Levin
  1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2026-08-24 15:20 UTC (permalink / raw)
  To: Sasha Levin; +Cc: stable, Donglin Lyu, Ruslan Shevchenko, Dmitry Torokhov

On Mon, Aug 24, 2026 at 05:15:41PM +0200, Greg KH wrote:
> On Mon, Aug 24, 2026 at 10:50:35AM -0400, Sasha Levin wrote:
> > From: Donglin Lyu <DongLin_Lyu@outlook.com>
> > 
> > [ Upstream commit 410c44b1096789d0c40fbee706520e981dba7bc1 ]
> > 
> > The internal keyboard on the HONOR ZQC-P (HONOR MagicBook Pro 14 2026)
> > does not work after boot.
> > 
> > Using the kernel command line 'i8042.dumbkbd=1' makes the keyboard
> > functional, but the CapsLock LED does not work. Adding the
> > 'atkbd_deactivate_fixup' quirk fixes the keyboard and CapsLock LED
> > natively without requiring boot parameters.
> > 
> > DMI: HONOR ZQC-P/ZQC-P-PCB, BIOS 1.09 03/19/2026
> > 
> > Fixes: 9cf6e24c9fbf ("Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID")
> > Signed-off-by: Donglin Lyu <donglin_lyu@outlook.com>
> > Tested-by: Ruslan Shevchenko <adefka@gmail.com>
> > Link: https://patch.msgid.link/20260801151115.52709-1-donglin_lyu@outlook.com
> > Cc: stable@vger.kernel.org
> > [dtor: keep all HONOR entries together]
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> > Signed-off-by: Sasha Levin <sashal@kernel.org>
> > ---
> >  drivers/input/keyboard/atkbd.c | 18 +++++++++++++-----
> >  1 file changed, 13 insertions(+), 5 deletions(-)
> 
> Did I miss a patch 1/2 for this?

Now it showed up, sorry for doubting it...

> And this patch differs a lot from the original, why not just backport
> the id table changes that were done in the meantime instead?

But this still stands.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P
  2026-08-24 15:15     ` Greg KH
  2026-08-24 15:20       ` Greg KH
@ 2026-08-25 11:49       ` Sasha Levin
  1 sibling, 0 replies; 6+ messages in thread
From: Sasha Levin @ 2026-08-25 11:49 UTC (permalink / raw)
  To: Greg KH
  Cc: Sasha Levin, stable, Donglin Lyu, Ruslan Shevchenko,
	Dmitry Torokhov

On Mon, Aug 24, 2026 at 05:15:41PM +0200, Greg KH wrote:
> And this patch differs a lot from the original, why not just backport
> the id table changes that were done in the meantime instead?

It doesn't differ - 2/2 is a identical cherry-pick of 410c44b10967 ("Input:
atkbd - skip deactivate for HONOR ZQC-P"). The only differences from the
upstream patch are the index lines and the hunk offsets. The 13/5 diffstat is
upstream's own doing: that is the "[dtor: keep all HONOR entries together]"
reorder Dmitry did in the same commit.

And the id table change done in the meantime is patch 1/2 - 2aaf33c6e1e8
("Input: atkbd - skip deactivate for HONOR FMB-P's internal keyboard").
Of the quirk-table commits between v6.18 and 410c44b10967, 6.18.y already
has all of them except FMB-P, which is precisely why the plain cherry-pick
of 2/2 failed. With 1/2 in, the table matches upstream's pre-410c44b10967
state and 2/2 applies verbatim.

So both as sent should be fine.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-25 11:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 11:07 FAILED: patch "[PATCH] Input: atkbd - skip deactivate for HONOR ZQC-P" failed to apply to 6.18-stable tree gregkh
2026-08-24 14:50 ` [PATCH 6.18.y 1/2] Input: atkbd - skip deactivate for HONOR FMB-P's internal keyboard Sasha Levin
2026-08-24 14:50   ` [PATCH 6.18.y 2/2] Input: atkbd - skip deactivate for HONOR ZQC-P Sasha Levin
2026-08-24 15:15     ` Greg KH
2026-08-24 15:20       ` Greg KH
2026-08-25 11:49       ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox