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 committed Dec 14, 2021
1 parent 44a47ac commit b02e07a
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 @@ -8,6 +8,8 @@

#include <linux/acpi.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 @@ -125,6 +127,11 @@ void 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 b02e07a

Please sign in to comment.