mb/system76/*: Disable IME by CMOS option

Add CMOS option to set IME mode. Default to "Disable" for CNL and TGL-H,
and "Enable" for TGL-U. Not set for KBL, which uses ME_CLEANER.

HECI device must be enabled in devicetree for switching modes to
function correctly.

Change-Id: I9b400c05c38bf76c02c4a2b113bf843b0240a75f
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2021-09-13 11:49:33 -06:00
parent 386654ac73
commit a377b8b744
33 changed files with 72 additions and 7 deletions

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -105,7 +105,7 @@ chip soc/intel/cannonlake
device pci 15.1 off end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -98,7 +98,7 @@ chip soc/intel/cannonlake
device pci 15.1 off end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Enable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Enable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -102,7 +102,7 @@ chip soc/intel/cannonlake
device pci 15.1 on end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -12,10 +12,14 @@ entries
400 8 r 0 century
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Enable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -102,7 +102,7 @@ chip soc/intel/cannonlake
device pci 15.1 off end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -115,7 +115,7 @@ chip soc/intel/cannonlake
device pci 15.1 on end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -117,7 +117,7 @@ chip soc/intel/cannonlake
device pci 15.1 off end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -1,2 +1,3 @@
boot_option=Fallback
debug_level=Debug
ime_mode=Disable

View File

@@ -13,10 +13,14 @@ entries
#409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
416 1 e 2 ime_mode
984 16 h 0 check_sum
enumerations
2 0 Enable
2 1 Disable
4 0 Fallback
4 1 Normal

View File

@@ -98,7 +98,7 @@ chip soc/intel/cannonlake
device pci 15.1 off end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3
device pci 16.0 off end # Management Engine Interface 1
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2
device pci 16.2 off end # Management Engine IDE-R
device pci 16.3 off end # Management Engine KT Redirection