Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2086089lqb; Mon, 27 May 2024 07:27:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzkLdCVNKUyKuakcVaZIOixx41emkEYaIM7S7fmxnzyQuS1p5uix4v7huR7LerO6BEO71X6Ub9+03uvbD2mcns9fPP2MOrk0qWxz03/w== X-Google-Smtp-Source: AGHT+IGa24nmIt4XDrbaRokDZnY61xgNV7PnKo2IUGX+CHjPj/CfZDrz2fxTBNmCtW6hhled7Wrz X-Received: by 2002:a81:9195:0:b0:61b:3345:a349 with SMTP id 00721157ae682-62a08d60f66mr87340067b3.3.1716820065776; Mon, 27 May 2024 07:27:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716820065; cv=pass; d=google.com; s=arc-20160816; b=Ug/JJG6xpRetU9Ag3Vfv3M/iyfud+DAc5A8ciekeKcpKxmZE9vEPQsxkWswdloks7D tss869D7QUACH/xRu3Z1Xbz+4ASDdgiQuvL3mFY4eSthiRTb8yebEsF0JKnpxuWet+c5 VpESlWUjokDCsUvHHMIF2O1ErqLpHoFrvGdgWuADz2IpUiH70HxXcaWuucOzZ80VxMUI 2bzf4baNL11zeHqzr8CRhOX2QX2KTANloCCcLCUatZhp2W5b+ibEYa6oB9qlxD4TUwSi FowikrTdWq+HqQ8c3fU3TKwa0qoTZ3WZ7OEvqE0yQsyLXp0hTtSArmUdSNbeIqgcSB5j 0FUA== 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=sO7Bk9t3m1XI0EzGyhdSsfRgHXBW/hxK78ybXg2wkFo=; fh=57m2pPBzSW4vAtsqiJAl0IXUS/GIo3/otQ91zpwdc8o=; b=qPfK7PRiQ2dNHWiNqiw7yyazGdViBs+LRY3ffmqZBiTyKcvMAXDIpQO64yRluWjdYi MN8metIpFKJoQig9PkdXs4zaXGMCMNOcgz5btlBX4ckn15E/1rb1t0mcOP8C7b3/sm4I zjsIsLTlkNc3OASv4VKBaPYA8ItWvu2U9C9CkJwdqoH+0ZVFYxF4giTiXAOt9dVnkaHf Nd2NFZuiZbDEI4556woLiA/6HZSu8rz9hS5Rd50uUx3vsv5xUVI0d55/P9lkPjncu913 sVAcag6nELQjl4BTva99Vi5cn8UaHQpgsEyvxOTpgSMyuOWzLX3ZED7R0G9r/Hjwux0S z6oA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JqBjSknK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794bbbcbdc4si428589885a.640.2024.05.27.07.27.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JqBjSknK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190856-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9B5891C21D25 for ; Mon, 27 May 2024 14:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71DDD1649D9; Mon, 27 May 2024 14:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JqBjSknK" 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 9678617A939; Mon, 27 May 2024 14:15:00 +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=1716819300; cv=none; b=SrxNPhf/jXggF6UDQlmU1YUf6tmd7FqTra+LNF3JErxCGsTs980tdvFj7UKNRWfe99EHshJO10J8Iby5rhJ608f3IdK9coKoHB6UIZccs3xrsaKzyUOD6IA75bU0kpZrztGxDwcqj2lZ9yNPwkTIM9/b+IBKIiuD1C+Iuzsmsvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819300; c=relaxed/simple; bh=cLhICrdbp5aaQSTfBtBKseng0ctUkKo33QZ13YgWymk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iChlS1q74RJPCIXvzN3zxk4dzarKkMAs6lILQXlleH50eLFKkVpcBkG2Utp9nZYHARd9RHM8QmYd7OT2vVHuEBr66q2MIX8uiYZJtci1Qda4hxCvx2Q2CwvAZaNJ7VTQSj7Sj2yGBpdVpMUnjQByflJx++Sl59gPJyIKtn/8kxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JqBjSknK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F932C32789; Mon, 27 May 2024 14:14:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716819300; bh=cLhICrdbp5aaQSTfBtBKseng0ctUkKo33QZ13YgWymk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JqBjSknKt7uGYmLRmytX0dPY/uQ54XqVmBVA+8o/RVnSH3opFLKcjduCkghIOl1JE CUrGZy/v4JrFa7cd/Nds+XxLpyZ2iDOnJnBSBeGs+F80RLoSZGCdpjeW+wi1dgv6AJ /UUyPgXTSuMTCM/0t4BwNFSiYH/KalpkdH37rjm4jQQKOgSx02b18dviQMorpQgF4M ni2GZw4EW51pKuxnVgEd0YQDMYMdqTmTAvvRbqikbiFJXpRxDuOCjW4CWN3BBKKtc4 q9u7HsVaLNyjs+RJ/30sJb5DRsKFLNJCHfQhtX6b2zNdMfp7AkhelCRxIa2l2/IKC3 vYylQCScdl7xg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tamim Khan , Gianni , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 20/30] ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MV Date: Mon, 27 May 2024 10:13:29 -0400 Message-ID: <20240527141406.3852821-20-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: Tamim Khan [ Upstream commit 7c52c7071bd403acee8cb0064627d46c6c2a1ea3 ] Like various other Asus Vivobook and Expertbook laptops, the Asus Vivobook Pro N6506MV has a DSDT table that describes IRQ 1 as ActiveLow while the kernel is overriding it to Edge_High. This prevents the internal keyboard from working. This patch prevents this issue by adding this laptop to the override table that prevents the kernel from overriding this IRQ Link: https://bugzilla.kernel.org/show_bug.cgi?id=218745 Tested-by: Gianni Signed-off-by: Tamim Khan Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index af0be48f70bfc..17a068442eecb 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -510,6 +510,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"), }, }, + { + /* Asus Vivobook Pro N6506MV */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "N6506MV"), + }, + }, { /* LG Electronics 17U70P */ .matches = { -- 2.43.0