soc/intel/alderlake/acpi: Add Kconfig options for SCM and FCM

Software Connection Manager doesn't work with Linux 5.13 or later,
resulting in TBT ports timing out. Not advertising this results
in Firmware Connection Manager being used and TBT works
correctly.

Add Kconfig options to chose between SCM (Software Connection
Manager) and FCM (Firmware Connection Manager). FCM is primary, as
it's more compatible save for ChromeOS devices as ChromeOS uses
SCM.

Linux patch:
torvalds/linux@c6da62a
c6da62a219d028de10f2e22e93a34c7ee2b88d03

Tested with StarBook Mk VI (i7-1260P).

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Iac31d37c0873f41f7b14e1051fe214466d1ebdd8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64561
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Sean Rhodes
2022-05-21 10:39:27 +01:00
committed by Martin L Roth
parent ae5bc43d3b
commit 060df17f1d
7 changed files with 48 additions and 1 deletions

View File

@@ -726,6 +726,30 @@ endif # PCIEXP_HOTPLUG
endif # PCIEXP_PLUGIN_SUPPORT
choice
prompt "Connection Manager"
default FIRMWARE_CONNECTION_MANAGER
help
Software Connection Manager doesn't work with Linux 5.13 or later,
resulting in TBT ports timing out. Firmware Connection Manager works
correctly.
Linux patch:
torvalds/linux@c6da62a
c6da62a219d028de10f2e22e93a34c7ee2b88d03
config FIRMWARE_CONNECTION_MANAGER
bool "Firmware Connection Manager"
help
Disable SCM so that FCM can be used
config SOFTWARE_CONNECTION_MANAGER
bool "Software Connection Manager"
help
Enable SCM so it's used instead of FCM.
endchoice
config EARLY_PCI_BRIDGE
bool "Early PCI bridge"
depends on PCI