Skip to content

Commit

Permalink
Disable tb_acpi_is_native for System76 coreboot machines
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 authored and mmstick committed Jul 3, 2024
1 parent 9db5424 commit 0470d83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/thunderbolt/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <linux/acpi.h>
#include <linux/pm_runtime.h>

#include <linux/dmi.h>

#include "tb.h"

static acpi_status tb_acpi_add_link(acpi_handle handle, u32 level, void *data,
Expand Down Expand Up @@ -139,6 +141,11 @@ bool tb_acpi_add_links(struct tb_nhi *nhi)
*/
bool tb_acpi_is_native(void)
{
// System76 devices using coreboot only support firmware based connection manager
if (dmi_match(DMI_SYS_VENDOR, "System76") &&
dmi_match(DMI_BIOS_VENDOR, "coreboot"))
return false;

return osc_sb_native_usb4_support_confirmed &&
osc_sb_native_usb4_control;
}
Expand Down

0 comments on commit 0470d83

Please sign in to comment.