From patchwork Mon Apr 8 10:26:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasiliy Kovalev X-Patchwork-Id: 786993 Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) (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 425ED59B6D; Mon, 8 Apr 2024 10:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.39 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; cv=none; b=bzlLHFpAB6+QoY0P2/DHzozcTFYeyGOIVY+V5tfDxae4IlybeyizvdqL1ovuKz9Oz2RuUXWoDAvW5u0YeA1iGgcgS5knGZTVsbrxADoixpWH3FcDZPMugrbGkyyFglkXko3mgYQxLfqIzma7lBkH2e8nu1fnZfj1yVePFISJnBA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; c=relaxed/simple; bh=/RvF07PURD/oc3Eshwiuqgr320XHmt9Axd7J83dKiQg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MqLkTzRnOOPILunLxJ0EsqbmyB3EvwhR0YMsWcutW96K9RgHpfKwPpIZmAT91QShwzANwgMW5EequIOKMRSFa7K1jhWtPTcZ9610CdGC/AEUlhBkI+RErDLiAKI9FCxjcSZQgctceKRxwAVDxcvzE34lCgjHx0RgdwGG6bDSNPM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: by air.basealt.ru (Postfix, from userid 490) id 8DE0A2F20245; Mon, 8 Apr 2024 10:26:51 +0000 (UTC) X-Spam-Level: Received: from altlinux.malta.altlinux.ru (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id E397A2F20240; Mon, 8 Apr 2024 10:26:42 +0000 (UTC) From: kovalev@altlinux.org To: stable@vger.kernel.org Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, kovalev@altlinux.org Subject: [PATCH 6.8.y 1/3] ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CVA Date: Mon, 8 Apr 2024 13:26:36 +0300 Message-Id: <20240408102638.197110-2-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.8 In-Reply-To: <20240408102638.197110-1-kovalev@altlinux.org> References: <20240408102638.197110-1-kovalev@altlinux.org> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Nicolas Haye commit ca3afc2806046f626a1518f160a564b90f141f95 upstream. Like many b1502 models, the b1502CVA keyboard doesn't work because of an ACPI DSDT table that describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High. Signed-off-by: Nicolas Haye Signed-off-by: Rafael J. Wysocki Signed-off-by: Vasiliy Kovalev --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index c843feb02..a273f9791 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -468,6 +468,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "B1502CGA"), }, }, + { + /* Asus ExpertBook B1502CVA */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"), + }, + }, { /* Asus ExpertBook B2402CBA */ .matches = { From patchwork Mon Apr 8 10:26:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasiliy Kovalev X-Patchwork-Id: 786992 Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) (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 4262959B72; Mon, 8 Apr 2024 10:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.39 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; cv=none; b=aTOoemi8NUHTXbARhUh0MsSA5O45b8YTC+W8R3Q4flNQB0L8C99NYcMhz52CpoBx5n48ox8umrgp5EDqWxgXuwCy+kHO8/otIN4La4yLDIbeiWcKnd8GhoRF5FrIhSrc9+mLLHwac96eVA9b01L6TlUp2hFuwmmK50sGLWcXo7E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; c=relaxed/simple; bh=gRpktIreKlhN1Yuh8WS2iAJBqwB7/ciuEop8v+CVQeI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eic2EC/eDErFcgWKtw+JtBO/4Mjb/Fasi8LDcTyGdyE4h1WSobiwrz9ivLVoATpPRCBossHVGOwFRJd0AjyOYOKLZIvOJaGtuyMvIR/tHfLDEgNiwTFnWA7ABKciln6rW/ZHjopBgwzvIo4SMgvdsYVngDltojgm4puZkCjDczg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: by air.basealt.ru (Postfix, from userid 490) id 5BB8E2F20244; Mon, 8 Apr 2024 10:26:47 +0000 (UTC) X-Spam-Level: Received: from altlinux.malta.altlinux.ru (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id 06C6A2F20241; Mon, 8 Apr 2024 10:26:43 +0000 (UTC) From: kovalev@altlinux.org To: stable@vger.kernel.org Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, kovalev@altlinux.org Subject: [PATCH 6.8.y 2/3] ACPI: resource: Add IRQ override quirk for ASUS ExpertBook B2502FBA Date: Mon, 8 Apr 2024 13:26:37 +0300 Message-Id: <20240408102638.197110-3-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.8 In-Reply-To: <20240408102638.197110-1-kovalev@altlinux.org> References: <20240408102638.197110-1-kovalev@altlinux.org> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Sviatoslav Harasymchuk commit 0793e511c4c66c38dd26add86f7236bcdc70c3b5 upstream. In order to fix the keyboard on ASUS ExpertBook B2502FBA, add an IRQ override quirk for it in analogy with how it was done for other members of this machine family. Link: https://lore.kernel.org/linux-acpi/20230411183144.6932-1-pmenzel@molgen.mpg.de Link: https://bugzilla.kernel.org/show_bug.cgi?id=217323 Signed-off-by: Sviatoslav Harasymchuk [ rjw: Subject and changelog rewrite, fix broken white space ] Signed-off-by: Rafael J. Wysocki Signed-off-by: Vasiliy Kovalev --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index a273f9791..4fae9af32 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -496,6 +496,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"), }, }, + { + /* Asus ExpertBook B2502FBA */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"), + }, + }, { /* Asus Vivobook E1504GA */ .matches = { From patchwork Mon Apr 8 10:26:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasiliy Kovalev X-Patchwork-Id: 787558 Received: from air.basealt.ru (air.basealt.ru [194.107.17.39]) (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 4255757882; Mon, 8 Apr 2024 10:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.107.17.39 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; cv=none; b=LePIm4C1ynZUCWRsCRanf4dvbFDt0pz4qROz3E9dYnekFyjJ/0sR2u4ZkcON5FjbotzQyqjBi0+R1s4CnHDvI0mTungUXcW8m23/jObWyYrFkfD69n+MG+SGVJ86jaiRSneIwAkC+fzjR06VfQ5d5z0oJuqC1mZkHrLFVKEp/GA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712572582; c=relaxed/simple; bh=id3ziCv7HQCiTfz3Tt8HJ4wwfunOc/K0kkovqOGZoGw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=f663MwUM1eNCu73GPZEaDAENe3265F7Z7QmFETReA7IvFYXEC2nLEC1XX0jxUiJ5CHjvM7jpXaCVip1aU4NnuiY4Ihl6mawYXi5Y4gLavBSl7cmaxh4Hu1DdKQi9ILmYcKpqkeRjmKJPiel+shgj1t+PUXNXhXoXF4dL82cmD6Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=altlinux.org; arc=none smtp.client-ip=194.107.17.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=altlinux.org Received: by air.basealt.ru (Postfix, from userid 490) id 3FAD52F20241; Mon, 8 Apr 2024 10:26:50 +0000 (UTC) X-Spam-Level: Received: from altlinux.malta.altlinux.ru (obninsk.basealt.ru [217.15.195.17]) by air.basealt.ru (Postfix) with ESMTPSA id 1B5482F20242; Mon, 8 Apr 2024 10:26:43 +0000 (UTC) From: kovalev@altlinux.org To: stable@vger.kernel.org Cc: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, kovalev@altlinux.org Subject: [PATCH 6.8.y 3/3] ACPI: resource: Use IRQ override on Maibenben X565 Date: Mon, 8 Apr 2024 13:26:38 +0300 Message-Id: <20240408102638.197110-4-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.8 In-Reply-To: <20240408102638.197110-1-kovalev@altlinux.org> References: <20240408102638.197110-1-kovalev@altlinux.org> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Sergey Kalinichev commit 00efe7fcf9ceeff0808bca9460afb49e7ada6068 upstream. Use ACPI IRQ override on Maibenben X565 laptop to make the internal keyboard work. Add a new entry to the irq1_edge_low_force_override structure, similar to the existing ones. Signed-off-by: Sergey Kalinichev Signed-off-by: Rafael J. Wysocki Signed-off-by: Vasiliy Kovalev --- drivers/acpi/resource.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index 4fae9af32..59423fe9d 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -623,6 +623,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = { DMI_MATCH(DMI_BOARD_NAME, "X577"), }, }, + { + /* Maibenben X565 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"), + DMI_MATCH(DMI_BOARD_NAME, "X565"), + }, + }, { } };