Skip to contentSkip to conversation

ACPI: resource: Add JWIPC JVC9100 to irq1_level_low_skip_override[]

PATCH Applied Ai Chao 2 participants 2 messages Jan 13 – Jan 14 ACPI

lore
Share & tools
lore

Ai Chao

author
#0 lore raw

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

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.

---
 drivers/acpi/resource.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/resource.c +8 -0
index d16906f46484..bc8050d8a6f5 100644
@@ -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 },
 };
 
Signature · 1 line
2.47.1
maintainer Applied
#1 lore raw
Quoted 34 lines · Ai Chao

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.

---
 drivers/acpi/resource.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/resource.c +6 -0
index d16906f46484..bc8050d8a6f5 100644
@@ -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"),
+               },
+       },
        { }
 };
 

drivers/acpi/resource.c struct irq_override_cmp {

Quoted 9 lines
drivers/acpi/resource.c +2 -1
@@ -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!