[PATCH] ACPI: resource: Add JWIPC JVC9100 to irq1_level_low_skip_override[]

Ai Chao posted 1 patch 3 weeks, 4 days ago
drivers/acpi/resource.c | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH] ACPI: resource: Add JWIPC JVC9100 to irq1_level_low_skip_override[]
Posted by Ai Chao 3 weeks, 4 days ago
Like the JWIPC JVC9100 has its serial IRQ (10 and 11) described
as ActiveLow in the DSDT, which the kernel overrides to EdgeHigh which
breaks the serial.

irq 10, level, active-low, shared, skip-override
irq 11, level, active-low, shared, skip-override

Add the JVC9100 to the irq1_level_low_skip_override[] quirk table to fix
this.

Signed-off-by: Ai Chao <aichao@kylinos.cn>
---
 drivers/acpi/resource.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index d16906f46484..bc8050d8a6f5 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -532,6 +532,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "16T90SP"),
 		},
 	},
+	{
+		/* JWIPC JVC9100 */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "JVC9100"),
+		},
+	},
 	{ }
 };
 
@@ -706,6 +712,8 @@ struct irq_override_cmp {
 
 static const struct irq_override_cmp override_table[] = {
 	{ irq1_level_low_skip_override, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
+	{ irq1_level_low_skip_override, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 1, false },
+	{ irq1_level_low_skip_override, 11, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 1, false },
 	{ irq1_edge_low_force_override, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
 };
 
-- 
2.47.1
Re: [PATCH] ACPI: resource: Add JWIPC JVC9100 to irq1_level_low_skip_override[]
Posted by Rafael J. Wysocki 3 weeks, 3 days ago
On Tue, Jan 13, 2026 at 8:27 AM Ai Chao <aichao@kylinos.cn> wrote:
>
> Like the JWIPC JVC9100 has its serial IRQ (10 and 11) described
> as ActiveLow in the DSDT, which the kernel overrides to EdgeHigh which
> breaks the serial.
>
> irq 10, level, active-low, shared, skip-override
> irq 11, level, active-low, shared, skip-override
>
> Add the JVC9100 to the irq1_level_low_skip_override[] quirk table to fix
> this.
>
> Signed-off-by: Ai Chao <aichao@kylinos.cn>
> ---
>  drivers/acpi/resource.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index d16906f46484..bc8050d8a6f5 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -532,6 +532,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "16T90SP"),
>                 },
>         },
> +       {
> +               /* JWIPC JVC9100 */
> +               .matches = {
> +                       DMI_MATCH(DMI_BOARD_NAME, "JVC9100"),
> +               },
> +       },
>         { }
>  };
>
> @@ -706,6 +712,8 @@ struct irq_override_cmp {
>
>  static const struct irq_override_cmp override_table[] = {
>         { irq1_level_low_skip_override, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
> +       { irq1_level_low_skip_override, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 1, false },
> +       { irq1_level_low_skip_override, 11, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 1, false },
>         { irq1_edge_low_force_override, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
>  };
>
> --

Applied as 6.20 material, thanks!