heads/patches/coreboot-4.15/0001-soc-skylake-me.c-Print-status-regardless-of-device-e.patch
Matt DeVillier 411ecc50f4
patches/coreboot-4.15: Add Librem 4.15 patches
Add patches to coreboot 4.15 to:
- show ME status even when device is disable
- fix PCIe RP hotplug on Librem 14
- fix ME reset timeout on Librem 13/15

This synchronizes with Purism's coreboot 4.15-Purism-3 tag.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2022-01-27 16:38:51 -06:00

37 lines
1.2 KiB
Diff

From cf41f0aa19329802676feed24df1ba9697d065a1 Mon Sep 17 00:00:00 2001
From: Matt DeVillier <matt.devillier@puri.sm>
Date: Mon, 18 May 2020 14:02:27 -0500
Subject: [PATCH 1/9] soc/skylake/me.c: Print status regardless of device
enable state
Checking the CSE device status before printing means it will skip
printing for devices with the ME disabled, leaving the user no easy
way to verify the ME is properly disabled. Remove the check.
Test: build/boot Librem 13v4, verify ME status printed as expected
on device with disabled/neutered ME.
Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Change-Id: Iaa4f4a369d878a52136c3479027443ea4e731a36
---
src/soc/intel/skylake/me.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c
index 89491f89c3..08aceb3f83 100644
--- a/src/soc/intel/skylake/me.c
+++ b/src/soc/intel/skylake/me.c
@@ -188,9 +188,6 @@ void intel_me_status(void)
union me_hfsts3 hfs3;
union me_hfsts6 hfs6;
- if (!is_cse_enabled())
- return;
-
hfs1.data = me_read_config32(PCI_ME_HFSTS1);
hfs2.data = me_read_config32(PCI_ME_HFSTS2);
hfs3.data = me_read_config32(PCI_ME_HFSTS3);
--
2.30.2