Tristan Corrick has posted comments on this change. ( https://review.coreboot.org/28443 )
Change subject: cpu/intel/model_206ax: detect number of MCE banks
......................................................................
Patch Set 2: Code-Review+1
I had the same issue with a 2500k CPU. This patch fixes it indeed.
--
To view, visit https://review.coreboot.org/28443
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id05645009259fd77b4de49bde518361eeae46617
Gerrit-Change-Number: 28443
Gerrit-PatchSet: 2
Gerrit-Owner: Dan Elkouby <streetwalkermc(a)gmail.com>
Gerrit-Reviewer: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 24 Sep 2018 07:59:21 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28718
to look at the new patch set (#2).
Change subject: soc/intel/cannonlake: Add new cannon lake PCH-H support
......................................................................
soc/intel/cannonlake: Add new cannon lake PCH-H support
Cannon lake PCH-H is added to support coffeelake RVP11 and coffeelake
RVP8 platforms.
- Add new device IDs for LPC, PCIE, PMC, I2C, UART, SMBUS, XHCI, P2SB,
SRAM, AUDIO, CSE0, XDCI, SD, Northbridge and Graphics device.
- Add new device IDs to intel common code respectively.
- Add CPU,LPC,GD,MCH entry to report_platform.c to identify RVP11 & RVP8.
- CNL PCH-H supports 24 pcie root ports and 4 I2C controllers, hence chip.c
is modified accordingly.
- Add board type UserBd UPD to BOARD_TYPE_DESKTOP for both RVP11 & RVP8.
BUG=None
TEST=successfully boot both CFL RVP11 & RVP8, verified all the enabled devices
are enumerated and cross checked devices ids in serial logs and UEFI shell.
Change-Id: I4b6af88d467382250aecb4102878b1c5af92ccd4
Signed-off-by: praveen hodagatta pranesh <praveenx.hodagatta.pranesh(a)intel.com>
---
M src/include/device/pci_ids.h
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/cannonlake/bootblock/report_platform.c
M src/soc/intel/cannonlake/chip.c
M src/soc/intel/cannonlake/include/soc/pci_devs.h
M src/soc/intel/cannonlake/romstage/romstage.c
M src/soc/intel/common/block/cse/cse.c
M src/soc/intel/common/block/dsp/dsp.c
M src/soc/intel/common/block/graphics/graphics.c
M src/soc/intel/common/block/i2c/i2c.c
M src/soc/intel/common/block/lpc/lpc.c
M src/soc/intel/common/block/p2sb/p2sb.c
M src/soc/intel/common/block/pcie/pcie.c
M src/soc/intel/common/block/pmc/pmc.c
M src/soc/intel/common/block/scs/sd.c
M src/soc/intel/common/block/systemagent/systemagent.c
M src/soc/intel/common/block/uart/uart.c
M src/soc/intel/common/block/xdci/xdci.c
M src/soc/intel/common/block/xhci/xhci.c
19 files changed, 148 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/28718/2
--
To view, visit https://review.coreboot.org/28718
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4b6af88d467382250aecb4102878b1c5af92ccd4
Gerrit-Change-Number: 28718
Gerrit-PatchSet: 2
Gerrit-Owner: PraveenX Hodagatta Pranesh <praveenx.hodagatta.pranesh(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Pratikkumar V Prajapati has posted comments on this change. ( https://review.coreboot.org/28275 )
Change subject: nocturne: Set eMMC tuning param.
......................................................................
Patch Set 1:
> Patch Set 1:
>
> Is this still WIP? What else is needed?
yes, still WIP. more details as being discussed at BUG=b:112718426,b:112690628. basically checking if we really need to tune eMMC.
--
To view, visit https://review.coreboot.org/28275
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If2665415cfe162a0a5061f72baad8b0ae37ee686
Gerrit-Change-Number: 28275
Gerrit-PatchSet: 1
Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Comment-Date: Mon, 24 Sep 2018 05:58:41 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Angel Pons has posted comments on this change. ( https://review.coreboot.org/28714 )
Change subject: mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
......................................................................
Patch Set 3:
I might need this for the G41M-S3 too...
--
To view, visit https://review.coreboot.org/28714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Gerrit-Change-Number: 28714
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 23 Sep 2018 23:33:27 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28714
to look at the new patch set (#3).
Change subject: mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
......................................................................
mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
By default the SuperIO is strapped to set the fan duty cycle of the CPU fan to a
100%, which can be quite loud. This change makes it configurable.
This duty cycle will remain fixed afterwards but with w83627ehf linux module +
the fancontrol tool you can gain fine grained control. No proper fan control can
be implemented with the SuperIO's modes of operation as it seems that none of
the temps are correlated with the CPU temp (even in vendor BIOS). Newer ACPI
revisions might make this possible to implement this without the fancontrol
daemon.
This also fixes sensors 2 to thermistor mode (not the default diode mode).
Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/mainboard/asrock/g41c-gs/Makefile.inc
M src/mainboard/asrock/g41c-gs/cmos.layout
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c
4 files changed, 95 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/28714/3
--
To view, visit https://review.coreboot.org/28714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Gerrit-Change-Number: 28714
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28714
to look at the new patch set (#2).
Change subject: mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
......................................................................
mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
By default the SuperIO is strapped to set the fan duty cycle of the CPU fan to a
100%, which can be quite loud. This change makes it configurable.
This duty cycle will remain fixed afterwards but with w83627ehf linux module +
the fancontrol tool you can gain fine grained control. No proper fan control can
be implemented with the SuperIO's modes of operation as it seems that none of
the temps are correlated with the CPU temp (even in vendor BIOS). Newer ACPI
revisions might make this possible to implement this without the fancontrol
daemon.
This also fixes sensors 2 to thermistor mode (not the default diode mode).
Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/mainboard/asrock/g41c-gs/Makefile.inc
M src/mainboard/asrock/g41c-gs/cmos.layout
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c
4 files changed, 95 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/28714/2
--
To view, visit https://review.coreboot.org/28714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Gerrit-Change-Number: 28714
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/28714 )
Change subject: mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/28714/1/src/mainboard/asrock/g41c-gs/varian…
File src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c:
https://review.coreboot.org/#/c/28714/1/src/mainboard/asrock/g41c-gs/varian…
PS1, Line 49: switch (duty_cycle){
space required before the open brace '{'
--
To view, visit https://review.coreboot.org/28714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Gerrit-Change-Number: 28714
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 23 Sep 2018 17:00:16 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/28714
Change subject: mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
......................................................................
mb/asrock/g41m-vs3-r2: Allow to set the fixed duty cycle from rtc nvram
By default the SuperIO is strapped to set the fan duty cycle of the CPU fan to a
100%, which can be quite loud. This change makes it configurable.
This duty cycle will remain fixed afterwards but with w83627ehf linux module +
the fancontrol tool you can gain fine grained control. No proper fan control can
be implemented with the SuperIO's modes of operation as it seems that none of
the temps are correlated with the CPU temp (even in vendor BIOS). Newer ACPI
revisions might make this possible to implement this without the fancontrol
daemon.
This also fixes sensors 2 to thermistor mode (not the default diode mode).
Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/mainboard/asrock/g41c-gs/Makefile.inc
M src/mainboard/asrock/g41c-gs/cmos.layout
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc
A src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c
4 files changed, 95 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/28714/1
diff --git a/src/mainboard/asrock/g41c-gs/Makefile.inc b/src/mainboard/asrock/g41c-gs/Makefile.inc
index 82e72fb..cc9edb1 100644
--- a/src/mainboard/asrock/g41c-gs/Makefile.inc
+++ b/src/mainboard/asrock/g41c-gs/Makefile.inc
@@ -1,4 +1,6 @@
ramstage-y += cstates.c
romstage-y += variants/$(VARIANT_DIR)/gpio.c
+subdirs-y += variants/$(VARIANT_DIR)
+
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/asrock/g41c-gs/cmos.layout b/src/mainboard/asrock/g41c-gs/cmos.layout
index 57c30ae..c64913a 100644
--- a/src/mainboard/asrock/g41c-gs/cmos.layout
+++ b/src/mainboard/asrock/g41c-gs/cmos.layout
@@ -61,9 +61,13 @@
# coreboot config options: northbridge
432 4 e 11 gfx_uma_size
+
+# coreboot config options: superio
+436 2 e 10 fan_duty_cycle
#435 549 r 0 unused
+
# coreboot config options: check sums
984 16 h 0 check_sum
@@ -91,6 +95,10 @@
7 0 Disable
7 1 Enable
7 2 Keep
+10 0 100
+10 1 75
+10 2 50
+10 3 25
11 6 64M
11 7 128M
11 8 256M
diff --git a/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc b/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc
new file mode 100644
index 0000000..faf4971
--- /dev/null
+++ b/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/Makefile.inc
@@ -0,0 +1 @@
+ramstage-y += mainboard.c
\ No newline at end of file
diff --git a/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c b/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c
new file mode 100644
index 0000000..87bbc38
--- /dev/null
+++ b/src/mainboard/asrock/g41c-gs/variants/g41m-vs3-r2/mainboard.c
@@ -0,0 +1,84 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007-2009 coresystems GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <types.h>
+#include <device/device.h>
+#include <pc80/mc146818rtc.h>
+#include <arch/io.h>
+
+/* Hardware Monitor */
+/* Must match devicetree */
+static u16 hwm_base = 0x290;
+
+static void hwm_write(u8 reg, u8 value)
+{
+ outb(reg, hwm_base + 0x05);
+ outb(value, hwm_base + 0x06);
+}
+
+static void hwm_bank(u8 bank)
+{
+ hwm_write(0x4e, bank);
+}
+
+enum duty_cycles {
+ DUTY_CYCLE_100 = 0,
+ DUTY_CYCLE_75 = 1,
+ DUTY_CYCLE_50 = 2,
+ DUTY_CYCLE_25 = 3,
+};
+
+static void hwm_setup(struct device *dev)
+{
+ enum duty_cycles duty_cycle = DUTY_CYCLE_75;
+ get_option(&duty_cycle, "fan_duty_cycle");
+ hwm_bank(0);
+ u8 reg;
+ switch (duty_cycle){
+ case DUTY_CYCLE_100:
+ reg = 0xff;
+ break;
+ default:
+ case DUTY_CYCLE_75:
+ reg = 0xff * 3 / 4;
+ break;
+ case DUTY_CYCLE_50:
+ reg = 0xff / 2;
+ break;
+ case DUTY_CYCLE_25:
+ reg = 0xff / 4;
+ break;
+ }
+ hwm_write(0x03, reg); /* CPU FAN PWM duty cycle*/
+ /* Default: both fans in manual mode, CPU fan PWM, Case fan DC */
+ hwm_write(0x04, 0x01);
+ hwm_bank(0x80);
+ hwm_write(0x5d, 0xa1); /* All Sensors Thermistor, not diode */
+ hwm_write(0x5e, 0x00);
+
+}
+
+/* mainboard_enable is executed as first thing after */
+/* enumerate_buses(). */
+
+static void mainboard_enable(struct device *dev)
+{
+ dev->ops->init = hwm_setup;
+}
+
+struct chip_operations mainboard_ops = {
+ CHIP_NAME("MAINBOARD")
+ .enable_dev = mainboard_enable,
+};
--
To view, visit https://review.coreboot.org/28714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb5bbb578182e88f4f7ba4e0e47404241b1a1962
Gerrit-Change-Number: 28714
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>