Skip to content

Commit 0470d83

Browse files
jackpot51mmstick
authored andcommitted
Disable tb_acpi_is_native for System76 coreboot machines
1 parent 9db5424 commit 0470d83

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/thunderbolt/acpi.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <linux/acpi.h>
1010
#include <linux/pm_runtime.h>
1111

12+
#include <linux/dmi.h>
13+
1214
#include "tb.h"
1315

1416
static acpi_status tb_acpi_add_link(acpi_handle handle, u32 level, void *data,
@@ -139,6 +141,11 @@ bool tb_acpi_add_links(struct tb_nhi *nhi)
139141
*/
140142
bool tb_acpi_is_native(void)
141143
{
144+
// System76 devices using coreboot only support firmware based connection manager
145+
if (dmi_match(DMI_SYS_VENDOR, "System76") &&
146+
dmi_match(DMI_BIOS_VENDOR, "coreboot"))
147+
return false;
148+
142149
return osc_sb_native_usb4_support_confirmed &&
143150
osc_sb_native_usb4_control;
144151
}

0 commit comments

Comments
 (0)