Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43903 )
Change subject: cpu/intel/common: Report the CPU max speed in SMBIOS
......................................................................
cpu/intel/common: Report the CPU max speed in SMBIOS
Use the TSC frequency to provide the maximum processor speed in
SMBIOS tables type 4. The TSC frequency is the "Maximum Non-Turbo Ratio"
or "Scaleable Bus Speed" on older platforms, times the FSB.
Change-Id: I8030187d2c9714c7f6c9451fd2318b3c6608e431
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/cpu/intel/common/fsb.c
1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/43903/1
diff --git a/src/cpu/intel/common/fsb.c b/src/cpu/intel/common/fsb.c
index 7772171..df2e51c 100644
--- a/src/cpu/intel/common/fsb.c
+++ b/src/cpu/intel/common/fsb.c
@@ -7,6 +7,7 @@
#include <console/console.h>
#include <commonlib/helpers.h>
#include <delay.h>
+#include <smbios.h>
static u32 timer_fsb;
static u32 timer_tsc;
@@ -137,3 +138,17 @@
printk(BIOS_ERR, "FSB not supported or not found\n");
return -1;
}
+
+#if CONFIG(GENERATE_SMBIOS_TABLES)
+unsigned int smbios_cpu_get_max_speed_mhz(void)
+{
+ int ret, fsb, ratio;
+
+ /* Return the Maximum Non-Turbo Ratio (R/O) */
+ ret = get_fsb_tsc(&fsb, &ratio);
+ if (ret == 0)
+ return fsb * ratio;
+
+ return 0;
+}
+#endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/43903
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8030187d2c9714c7f6c9451fd2318b3c6608e431
Gerrit-Change-Number: 43903
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43936 )
Change subject: mb/clevo/kbl-u: Enable Gaussian Mixture Model PCI device
......................................................................
mb/clevo/kbl-u: Enable Gaussian Mixture Model PCI device
Currently, the PCI device is not shown in GNU/Linux. But, the vendor
firmware enables it, so let’s do the same.
TEST=GMM PCI device is present:
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
Change-Id: I94d69015c86d05849d6f3cda6ac45bfabf912658
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
M src/mainboard/clevo/kbl-u/variants/n13xwu/devicetree.cb
M src/mainboard/clevo/kbl-u/variants/n240bu/devicetree.cb
2 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/43936/1
diff --git a/src/mainboard/clevo/kbl-u/variants/n13xwu/devicetree.cb b/src/mainboard/clevo/kbl-u/variants/n13xwu/devicetree.cb
index a92670f..caa3973 100644
--- a/src/mainboard/clevo/kbl-u/variants/n13xwu/devicetree.cb
+++ b/src/mainboard/clevo/kbl-u/variants/n13xwu/devicetree.cb
@@ -113,6 +113,8 @@
end
device pci 02.0 on end # Integrated Graphics Device
+ device pci 08.0 on end # Gaussian Mixture Model
+
device pci 14.0 on # USB xHCI
register "SsicPortEnable" = "0"
diff --git a/src/mainboard/clevo/kbl-u/variants/n240bu/devicetree.cb b/src/mainboard/clevo/kbl-u/variants/n240bu/devicetree.cb
index 23840cc..bb588ed 100644
--- a/src/mainboard/clevo/kbl-u/variants/n240bu/devicetree.cb
+++ b/src/mainboard/clevo/kbl-u/variants/n240bu/devicetree.cb
@@ -215,7 +215,7 @@
subsystemid 0x1558 0x2410 inherit
end
device pci 02.0 on end # Integrated Graphics Device
- device pci 08.0 off end # Gaussian Mixture Model
+ device pci 08.0 on end # Gaussian Mixture Model
device pci 14.0 on end # USB xHCI
device pci 14.2 on end # Thermal Subsystem
device pci 16.0 off end # Management Engine Interface 1
--
To view, visit https://review.coreboot.org/c/coreboot/+/43936
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I94d69015c86d05849d6f3cda6ac45bfabf912658
Gerrit-Change-Number: 43936
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newchange