From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24508FBEF; Tue, 25 Jun 2024 09:35:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719308159; cv=none; b=Fm3ATZDF0MNcxiYwTI23bFjt1pZZKKBIFMwFu432o8VkkheJdj7srQBnrG0Q6qFTIRERBO5nXlmP3axHKfUIofqzcCTXbV/KWlB4WE5wma1V++aEhXSKISxob5zrSIScmJwtGn7AMUxltIqCY+RcZRXKf8rAN800X734kA1rWtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719308159; c=relaxed/simple; bh=7KZgZKeMbKJO0U2YDXBTYNM8lgiazpN0sr490EIVuGA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fkQUb/+d/TYnd36U4ErBwB9bH5+Vf9GC1ZSsEzoni6fr/sTGiZ6uKuFRDBHvJI8SQ4FllPAX/Cjj3OLWSmPo7Jf3OiZFztODNmil7aWUOkgdcSUjAtTttKHwtJNGWxPDStXK0xqleKS61vBvYIGh7L345VFtwGplu4cr2T3GYz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yjZDYeUQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yjZDYeUQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FBA6C32786; Tue, 25 Jun 2024 09:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719308159; bh=7KZgZKeMbKJO0U2YDXBTYNM8lgiazpN0sr490EIVuGA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yjZDYeUQ02m0kSG5nHOstRbAdXfH9J/r5SX2ExihRVtJyhhPE5J4sgnxCuq05Mql4 EXjbAqevFn0S31mTwOfYmzNmEAD4P+vLFHAcTv1v1lo8X06W6qhiQJbILHu5LFqiye aiV/5e4d6QXkq+ahLfKaNIzWeBz0txJbdT1h9eZs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Guenter Schafranek , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.9 026/250] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23) Date: Tue, 25 Jun 2024 11:29:44 +0200 Message-ID: <20240625085549.059693726@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240625085548.033507125@linuxfoundation.org> References: <20240625085548.033507125@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Schafranek [ Upstream commit 6eaf375a5a98642ba4c327f79673f4f308e0ac03 ] The XM APEX 17 M23 (TongFang?) GMxBGxx (got using `sudo dmidecode -s baseboard-product-name`) needs IRQ overriding for the keyboard to work. Adding an entry for this laptop to the override_table makes the internal keyboard functional [1]. Successfully tested with Arch Linux Kernel v6.8 under Manjaro Linux v23.1.4. Link: https://www.reddit.com/r/XMG_gg/comments/15kd5pg/xmg_apex_17_m23_keyboard_not_working_on_linux/ # [1] Signed-off-by: Guenter Schafranek Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/resource.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 6cc8572759a3d..65fa94729d9de 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -533,6 +533,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { * to have a working keyboard. */ static const struct dmi_system_id irq1_edge_low_force_override[] = { + { + /* XMG APEX 17 (M23) */ + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GMxBGxx"), + }, + }, { /* TongFang GMxRGxx/XMG CORE 15 (M22)/TUXEDO Stellaris 15 Gen4 AMD */ .matches = { -- 2.43.0