Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2090112lqb; Mon, 27 May 2024 07:35:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaWTApjiwhSQ55tLJ7zHlDHSnI9SGz+BGqbdUvI+UK//YYnRtzlKAE4kku7ad6p5WH6Qsl1eZx1X19cLKO09X7fezT5Swip8QPeYhFzA== X-Google-Smtp-Source: AGHT+IFdU4fMbE0MiYAnK6vXUwMg9E9At/HKQ7f5jQDpF8IQDOn6n+0I4kLDnSSvS/h0STuHstHC X-Received: by 2002:a05:6a00:8089:b0:6f3:f970:9f2a with SMTP id d2e1a72fcca58-6f8f2f754f4mr12354849b3a.10.1716820501685; Mon, 27 May 2024 07:35:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716820501; cv=pass; d=google.com; s=arc-20160816; b=PRWTC7H90s43VMLiohsh4hnRjKW4ClA4WXL8nU0A8oLaLAOweo2VZxWP+7qIvNRu9S cnEHuLbjqLkLS+6YnYJj1IvGa7C92hxqeECULHSpO+uM1j8bw4PoCdb/pVhQkotWqyIh v/o3Ymq4b61Zo01u4uPHhXdICqm90v2jN1DdEPkcNlSieAkhXB3/ba0/r7uSwourBJ+i bj4d6/LOROu2eBbqcI0jNIG4wwPbgTmSWfbJ1hfdS1wFZZ//WD6mVlEd3qLOFFJyCtHC 005qxDG5pC58BDIyOrKthm/SaZdpYjYqsxGCYwzHRxKx+VsLaSBpU80q8mWjFmJajoFi tUoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+Oj/K48MEe9jvJYrG98UoKDV4gYTD4nNmWLF60TrxTw=; fh=tMQp6p5csPHS37i0KdTTdQhrENV+SCTGiQwd9RfnJKE=; b=AZYENxuzoKuZsQ1YKj+qyrczPC5fpQWVej1E8YZjC5E0qjD1G031TYci2iu8cBgVe2 uWToh6NderD1PxMqS0w3r9tgoPctWchIzhESvIdBdbDP54bmzb8XNLPIMUrE+s5YUiR3 1KgRn6lXacJRKvuN1aDPMVNeRYIFahpvou6yert0LsN34UKMLMCmaemXsh3I+BfXE6nm qXkv4L90KjDPRx1DDXMOEinApkxqXGmYqCQlcJig7lcIEZ/gaY+LxueJgZRqE4NzLWOc +kLxF3vmbS7yAJgwgjZHnxoa0JSN01NSMpwr7v9g2GcMGRjcPQyAfjAUxhLGhoo0Lsk1 kD5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mqw3RUZG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc051148si6126808b3a.77.2024.05.27.07.35.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mqw3RUZG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B809E2A4CE5 for ; Mon, 27 May 2024 14:25:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96EE916192C; Mon, 27 May 2024 14:14:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mqw3RUZG" 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 B891F17334F; Mon, 27 May 2024 14:14:41 +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=1716819281; cv=none; b=OkMjpMw0oqhPEMHyFRgLS9hQfHf+TMv8bd4P3E75PNnLye8LiPlhwI0Sbax+mWj1hX10r1q1SyTKfg+FdZL6Dp3xyyZY2Ei5Pyu2GFfulRzL/MbdpPwa5dcQYK2GPFzILCiZhqj1Wlbe28a8cQgKMyqMeqPycixFH0Fpc7rE7Vw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819281; c=relaxed/simple; bh=M/nZ0YyY94qPXAQlyC2aotBSIzmrGXnI177lIdnsE5s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c0unaKOxhB45RquqRSbvGHWvudLCv1+QbNGGZ8R8dRYoEN/XImkrdT6cVaUV2UhU5WBSNa63yLlkwjpevw2OLBZh5s2Vp52JN+Jl/ESEu/PgB2Dvt9EboiJO8oBwScqbeN5xQBOolqaELP/y0kINvohRvM7inYhV4ktLYjTCQkA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mqw3RUZG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE02DC2BBFC; Mon, 27 May 2024 14:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716819281; bh=M/nZ0YyY94qPXAQlyC2aotBSIzmrGXnI177lIdnsE5s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mqw3RUZGW7ZQee/AopnMmCMkN4FO0sSL/Zah1zSPxeU9SsmoBSI3swk67bgk9mxID PxryfrwR3aWJ3SCWrC5LlYD/xor1yKzFn1q4iEbkxkj9VAGc9mPr07hv9Sn0gEckKY v4AbW/rLSSfb1V1DRqYkzdONtPjRfs+StYEaHPWdFz76DPb+Wo9ttC+pA7PpeZMBne wxOf6cFxu/0gZ/YWrsHEAMQMmYt1xTpeirxnnetmBPa3pz7cinYraxoi/cXezuI2Lm EujrEqdCPNNILpnCKCPGr8TzT0TR+xFLKIdQDSI/pZELwSORg2e6Sk74aGHyPkbC35 kwH4i77IV/6Uw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Guenter Schafranek , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 12/30] ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23) Date: Mon, 27 May 2024 10:13:21 -0400 Message-ID: <20240527141406.3852821-12-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240527141406.3852821-1-sashal@kernel.org> References: <20240527141406.3852821-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.11 Content-Transfer-Encoding: 8bit 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 b5193049d7b1b..af0be48f70bfc 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -526,6 +526,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