From patchwork Sat Aug 3 08:13:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Chen X-Patchwork-Id: 13752323 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (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 BD5447173C; Sat, 3 Aug 2024 08:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722672830; cv=pass; b=UIegl+vmWbkPm4lLdUVjH83L/lg6jQfAfrois0ndnwZJsIGKZ5HSGzLgEHQxp+n4HLO7V4q7qfUH4gKS8KNGVyjOg7xxeiKRFr84h8YuEJwXoO/L9psdUxnV9DmnDzYrHy2nkls/NTVaOCRpfglhpUPQ6FdjLsALFIqC9IG8SX8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722672830; c=relaxed/simple; bh=mFYiVa4XGiKmiaSpR2LuKMXD3VTAjxLCPeMcK9T3w8s=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=BPEoEsv6Ht56jHasvfn5txqmjxmRDGOVjqoj8jhMOUsA2MMi92qsMzWkiWwoYxvQ+lTQpr6LspXaw84W8TZtZOlpud6CCReJ8A00PocVDwUBoxOre+sd+DOUqkMALmndE/uy24mmVYXyv0EnZIdMQvHzbmpgB/AlzzGH7QMtqZA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux.beauty; spf=pass smtp.mailfrom=linux.beauty; dkim=pass (1024-bit key) header.d=linux.beauty header.i=me@linux.beauty header.b=ljLNh0DE; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux.beauty Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.beauty Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.beauty header.i=me@linux.beauty header.b="ljLNh0DE" ARC-Seal: i=1; a=rsa-sha256; t=1722672823; cv=none; d=zohomail.com; s=zohoarc; b=gnhhU8pTanAysBGJJGA5GZuRDcGdRpz1BVHMh06PrKqfrvQkctiGWCdD0MQp+4dc0IF/ULJ37T7BWy4PMIfRaKjOyRda1J6/pLHwcMkpChKiHRzjDV7xZ19c4yJf1djQqYTGRZjbdfutVOZXi/p/udAuT3+tpB/AMJHAFCykPnA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722672823; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=nxj7A3zjeJj0tAOInqsZYuK+DPDzGB1OZ+OlZ2a/Zfw=; b=UJt42KgShwDse7rRhRzs+PQHnO25bGl5fMY/S84BPU4gJ7bOMGKEO67J4te8YykxTcH783rMpvN6su+a45SZh+CWlzbKx7yMPyNc4USizQOg+FqNGMPxqa4QevskWWXRKt7F6yGPfFkaCa4kfnDRHv2IpkniLlbAL7DQf/Zpe7Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=linux.beauty; spf=pass smtp.mailfrom=me@linux.beauty; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1722672823; s=zmail; d=linux.beauty; i=me@linux.beauty; h=Date:Date:Message-ID:From:From:To:To:Subject:Subject:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=nxj7A3zjeJj0tAOInqsZYuK+DPDzGB1OZ+OlZ2a/Zfw=; b=ljLNh0DEA/IbLHn6rKnEt4YaACuzoDN/7wz+MxZqk63kWDV8TwMDjsrLoIMy+qaw yNgF39bB6aTtwzQW3dwnMHpv/u+o4Ha42W1tAwLWfGDxMdGQlqK0SMsmahgEZcTcqGZ mSa9dmQ4nBLcvzNB083ACfJBsVuWaTGeP3hIN28A= Received: by mx.zohomail.com with SMTPS id 1722672822456428.6425515706311; Sat, 3 Aug 2024 01:13:42 -0700 (PDT) Date: Sat, 03 Aug 2024 16:13:18 +0800 Message-ID: <87y15e6n35.wl-me@linux.beauty> From: Li Chen To: "Rafael J. Wysocki" , Len Brown (reviewer:ACPI), linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2] ACPI: resource: Do IRQ override on MECHREV GM7XG0M User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?iso-8859-4?q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-ZohoMailClient: External Listed device need the override for the keyboard to work. Cc: stable@vger.kernel.org Fixes: 9946e39fe8d0 ("ACPI: resource: skip IRQ override on AMD Zen platforms") Signed-off-by: Li Chen --- Changes since V1: [1] https://lore.kernel.org/lkml/MN0PR12MB610178FBE11426B042C61A24E22AA@MN0PR12MB6101.namprd12.prod.outlook.com/T/ - replace DMI_SYS_VENDOR + DMI_PRODUCT_NAME with DMI_BOARD_NAME - rebase on top of next-20240802 drivers/acpi/resource.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index df5d5a554b388..aa9990507f34c 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -554,6 +554,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[] = { + { + /* MECHREV Jiaolong17KS Series GM7XG0M */ + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "GM7XG0M"), + }, + }, { /* XMG APEX 17 (M23) */ .matches = {