Julius Werner has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38604 )
Change subject: Update vboot submodule to upstream master
......................................................................
Update vboot submodule to upstream master
Updating from commit id 6ef33b99:
2019-11-22 Hung-Te Lin futility: updater: refactor: unify
getting temp files for firmware images
to commit id 0e97e25e:
2020-01-23 Julius Werner 2lib: Fix struct vb2_hash the way it was
meant to be
Change-Id: I539aba2f283804f67ff3ff4f98324b3d10b2bb54
Signed-off-by: Julius Werner <jwerner(a)chromium.org>
---
M 3rdparty/vboot
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/38604/1
diff --git a/3rdparty/vboot b/3rdparty/vboot
index f5367d5..0e97e25 160000
--- a/3rdparty/vboot
+++ b/3rdparty/vboot
@@ -1 +1 @@
-Subproject commit f5367d598a985520a8c935f68ac90d295c7b8d8e
+Subproject commit 0e97e25e85f0499e23b09a31a2c7116759f191d5
--
To view, visit https://review.coreboot.org/c/coreboot/+/38604
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I539aba2f283804f67ff3ff4f98324b3d10b2bb54
Gerrit-Change-Number: 38604
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newchange
Maccraft123 has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38681 )
Change subject: mb/lenovo/x201: Kconfig option to disable Q50 ACPI Method
......................................................................
mb/lenovo/x201: Kconfig option to disable Q50 ACPI Method
Q50 Method can cause data loss in some circumstances,
therefore I think there should be Kconfig option to disable it.
EC triggers _Q50 when machine is docked and AC power supply is
removed. If OS hasn't unmounted drive that is connected via USB or
Ultrabay this behaviour causes data loss.
Change-Id: I522ff7769267c88125397b7df75d313d92d5622f
Signed-off-by: Maciej Matuszczyk <maccraft123mc(a)gmail.com>
---
M src/mainboard/lenovo/x201/Kconfig
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/38681/1
diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig
index a94d24e..3e83bdc 100644
--- a/src/mainboard/lenovo/x201/Kconfig
+++ b/src/mainboard/lenovo/x201/Kconfig
@@ -42,6 +42,15 @@
string
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-rwa.fmd" if VBOOT
+config DISABLE_Q50
+ bool "Disable _Q50 ACPI Method"
+ default n
+ help
+ This option disabled _Q50 Method that causes undock on removal of
+ AC power adapter. This behaviour can cause data loss by disconnecting
+ Ultrabay device without unmounting it first.
+ This option also disables the undock button on X200 Ultrabase.
+
config MAINBOARD_DIR
string
default "lenovo/x201"
--
To view, visit https://review.coreboot.org/c/coreboot/+/38681
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I522ff7769267c88125397b7df75d313d92d5622f
Gerrit-Change-Number: 38681
Gerrit-PatchSet: 1
Gerrit-Owner: Maccraft123 <maccraft123mc(a)gmail.com>
Gerrit-MessageType: newchange
Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38289 )
Change subject: xcompile: Disable dangerous optimizations
......................................................................
xcompile: Disable dangerous optimizations
According to the C standard, GCC is allowed to perform optimizations
based on undefined behaviour. However, much of this undefined behaviour
is difficult to detect and sometimes is even intentional (eg. accessing
memory at address 0), so these optimizations can silently break code.
This patch disables the following optimizations in the coreboot tree,
which is already done in several other projects (eg. Linux kernel,
Chromium EC):
-fno-delete-null-pointer-checks
-fno-strict-aliasing
-fno-strict-overflow
Disabling these optimizations is particularly important when using link
time optimization, since LTO allows the compiler to perform deeper code
inspection and potentially uncover issues that weren't previously
apparent. For example, coreinfo compiled with LTO libpayload crashes
without -fno-delete-null-pointer-checks, presumably because the compiler
is optimizing something out that it shouldn't.
Change-Id: I4492277f02418ade3fe7a75304e8e0611f49ef36
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
---
M Makefile.inc
M src/vendorcode/amd/agesa/Makefile.inc
M src/vendorcode/amd/pi/00670F00/Makefile.inc
M src/vendorcode/amd/pi/Makefile.inc
M util/xcompile/xcompile
5 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/38289/1
diff --git a/Makefile.inc b/Makefile.inc
index 002d3e7..caf82f4 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -414,7 +414,6 @@
CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
CFLAGS_common += -ffunction-sections -fdata-sections -fno-pie
ifeq ($(CONFIG_COMPILER_GCC),y)
-CFLAGS_common += -fno-delete-null-pointer-checks
# Don't add these GCC specific flags when running scan-build
ifeq ($(CCC_ANALYZER_OUTPUT_FORMAT),)
CFLAGS_common += -Wno-packed-not-aligned
diff --git a/src/vendorcode/amd/agesa/Makefile.inc b/src/vendorcode/amd/agesa/Makefile.inc
index b96af84..6381324 100644
--- a/src/vendorcode/amd/agesa/Makefile.inc
+++ b/src/vendorcode/amd/agesa/Makefile.inc
@@ -12,7 +12,7 @@
libagesa-generic-ccopts += -fno-zero-initialized-in-bss
libagesa-generic-ccopts += $(AGESA_INC) $(AGESA_AUTOINCLUDES)
-AGESA_CFLAGS := -march=k8-sse3 -mtune=k8-sse3 -fno-strict-aliasing
+AGESA_CFLAGS := -march=k8-sse3 -mtune=k8-sse3
CFLAGS_x86_32 += $(AGESA_CFLAGS)
CFLAGS_x86_64 += $(AGESA_CFLAGS)
diff --git a/src/vendorcode/amd/pi/00670F00/Makefile.inc b/src/vendorcode/amd/pi/00670F00/Makefile.inc
index f6cd8eb..cee4672 100644
--- a/src/vendorcode/amd/pi/00670F00/Makefile.inc
+++ b/src/vendorcode/amd/pi/00670F00/Makefile.inc
@@ -55,7 +55,7 @@
AGESA_INC += -I$(src)/commonlib/include
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
-AGESA_CFLAGS += -march=amdfam10 -fno-strict-aliasing -D__LIBAGESA__
+AGESA_CFLAGS += -march=amdfam10 -D__LIBAGESA__
CC_bootblock := $(CC_bootblock) $(BINARY_PI_INC)
CC_romstage := $(CC_romstage) $(BINARY_PI_INC)
diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 9b3a0e6..d55de29 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -69,7 +69,7 @@
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
AGESA_CFLAGS += -march=amdfam10 -mno-3dnow
-AGESA_CFLAGS += -fno-strict-aliasing -D__LIBAGESA__
+AGESA_CFLAGS += -D__LIBAGESA__
CFLAGS_x86_32 += $(AGESA_CFLAGS)
CFLAGS_x86_64 += $(AGESA_CFLAGS)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 8335c34..cc4641e 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -222,6 +222,7 @@
GCC_CFLAGS_${TARCH}:=${CFLAGS_GCC}
# Generally available for GCC's cc1:
GCC_CFLAGS_${TARCH}+=-Wlogical-op
+GCC_CFLAGS_${TARCH}+=-fno-delete-null-pointer-checks -fno-strict-aliasing -fno-strict-overflow
GCC_ADAFLAGS_${TARCH}:=${CFLAGS_GCC}
GCC_COMPILER_RT_${TARCH}:=${CC_RT_GCC}
GCC_COMPILER_RT_FLAGS_${TARCH}:=${CC_RT_EXTRA_GCC}
--
To view, visit https://review.coreboot.org/c/coreboot/+/38289
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4492277f02418ade3fe7a75304e8e0611f49ef36
Gerrit-Change-Number: 38289
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
Hello Kyösti Mälkki, Patrick Rudolph, Felix Held, Angel Pons, Mimoja, Arthur Heymans, Paul Menzel, Jonathan Neuschäfer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/21774
to look at the new patch set (#60).
Change subject: mb/dell: Add Dell Optiplex 790
......................................................................
mb/dell: Add Dell Optiplex 790
This port was generated by autoport and has been tweaked (see below)
There are (at least) three different mainboards:
- DT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- MT: 4 RAM slots, PEG, PCIe x1, PCI, PCIe x16
- SFF: 4 RAM slots, PEG, PCIe x16
- USFF: 2 RAM slots, mPCIe
The variants have different PCI/PCIe configurations and are not
exactly compatible towards each other.
This port has been tested with: SFF, USFF
What works:
- Booting Arch Linux with kernel 5.2.3-arch1-1-ARCH
- PCIe (Hotplug on PCIe X1 only!)
- Onboard graphics with libgfxinit (via VGA)
- Turning on and off (S5)
- Harddrive activity LED
- Onboard sound
- Onboard ethernet
- SATA (hotplug)
- IOMMU
- Suspend/resume (S3)
- EHCI debug (rear side, bottom port on the block with ethernet)
What does not work:
- SuperI/O (Chip is a SCH5544-NS)
- Serial port
- PS/2
- Fan control (fans go to full speed)
- VBT is missing
Further notes:
- Default IFD settings block reads/writes to some regions. This can be
bypassed by plugging the SERVICE_MODE jumper. BIOS version A05 does
not set any protected ranges, so internal flashing is possible (use a
layout if the SERVICE_MODE jumper is not plugged).
- Setting the jumper slows down the boot process of coreboot significantly,
as coreboot waits 900ms for the ME to report an OK DRAM (which doesn't
happen with the jumper set)
- The controller that controls the POST code LEDs on the front of the
case (likely the SuperIO) stays on slow blinking POST 234, corrupt or
defect BIOS according to [1].
- The mainboard has one SOIC16 8192KiB and one SOIC8 2048KiB BIOS chip
that are recognized as one "Opaque flash chip" of 10240K in size.
[1] http://www.dell.com/support/article/us/en/04/sln284978/a-reference-guide-to…
Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Signed-off-by: Christoph Pomaska <github(a)aufmachen.jetzt>
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
A Documentation/mainboard/dell/optiplex790.md
A Documentation/mainboard/dell/servicemode.md
M Documentation/mainboard/index.md
A src/mainboard/dell/Kconfig
A src/mainboard/dell/Kconfig.name
A src/mainboard/dell/optiplex_790/Kconfig
A src/mainboard/dell/optiplex_790/Kconfig.name
A src/mainboard/dell/optiplex_790/Makefile.inc
A src/mainboard/dell/optiplex_790/acpi/ec.asl
A src/mainboard/dell/optiplex_790/acpi/platform.asl
A src/mainboard/dell/optiplex_790/acpi/superio.asl
A src/mainboard/dell/optiplex_790/acpi_tables.c
A src/mainboard/dell/optiplex_790/board_info.txt
A src/mainboard/dell/optiplex_790/dsdt.asl
A src/mainboard/dell/optiplex_790/gma-mainboard.ads
A src/mainboard/dell/optiplex_790/hda_verb.c
A src/mainboard/dell/optiplex_790/mainboard.c
A src/mainboard/dell/optiplex_790/romstage.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_mt-sff/hda_verb.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/devicetree.cb
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/gpio.c
A src/mainboard/dell/optiplex_790/variants/optiplex_790_usff/hda_verb.c
24 files changed, 1,220 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/21774/60
--
To view, visit https://review.coreboot.org/c/coreboot/+/21774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d3a13163d5da1368259a7498019d42fb3ed57f
Gerrit-Change-Number: 21774
Gerrit-PatchSet: 60
Gerrit-Owner: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Mimoja <coreboot(a)mimoja.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Thomas Heijligen <src(a)posteo.de>
Gerrit-MessageType: newpatchset
Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38669 )
Change subject: drivers/generic/gfx: Add null pointer error check
......................................................................
drivers/generic/gfx: Add null pointer error check
acpi_device_scope() will return NULL if it is unable to find the path
of the parent device. Return early if this is the case to prevent a null
pointer dereference.
Change-Id: I3eff1c1e3477c75c7130b52898de7d59692ba412
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
Found-by: Coverity CID 1409672
---
M src/drivers/generic/gfx/gfx.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/38669/1
diff --git a/src/drivers/generic/gfx/gfx.c b/src/drivers/generic/gfx/gfx.c
index b2bda4a..0386e9b 100644
--- a/src/drivers/generic/gfx/gfx.c
+++ b/src/drivers/generic/gfx/gfx.c
@@ -69,6 +69,9 @@
const char *scope = acpi_device_scope(dev);
+ if (!scope)
+ return;
+
acpigen_write_scope(scope);
/* Method (_DOD, 0) */
--
To view, visit https://review.coreboot.org/c/coreboot/+/38669
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3eff1c1e3477c75c7130b52898de7d59692ba412
Gerrit-Change-Number: 38669
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
Jonathan Kollasch has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/22214 )
Change subject: nb/intel/sandybridge/raminit: Add ECC detection support
......................................................................
Patch Set 9: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/22214/8/src/northbridge/intel/sand…
File src/northbridge/intel/sandybridge/raminit_common.c:
https://review.coreboot.org/c/coreboot/+/22214/8/src/northbridge/intel/sand…
PS8, Line 588: presedence
> Should probably be spelled "precedence".
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/22214
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5b7599746195cfa996a48320404a8dbe6820483a
Gerrit-Change-Number: 22214
Gerrit-PatchSet: 9
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Jonathan Kollasch <jakllsch(a)kollasch.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 03 Feb 2020 15:48:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Jonathan Kollasch <jakllsch(a)kollasch.net>
Gerrit-MessageType: comment
Jonathan Kollasch has uploaded a new patch set (#9) to the change originally created by Patrick Rudolph. ( https://review.coreboot.org/c/coreboot/+/22214 )
Change subject: nb/intel/sandybridge/raminit: Add ECC detection support
......................................................................
nb/intel/sandybridge/raminit: Add ECC detection support
Add support for detection ECC capability and forced ECC mode.
Print the ECC mode in verbose debugging mode.
Change-Id: I5b7599746195cfa996a48320404a8dbe6820483a
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
Signed-off-by: Alexander Couzens <lynxis(a)fe80.eu>
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M src/northbridge/intel/sandybridge/raminit.c
M src/northbridge/intel/sandybridge/raminit_common.c
M src/northbridge/intel/sandybridge/raminit_common.h
3 files changed, 45 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/22214/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/22214
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5b7599746195cfa996a48320404a8dbe6820483a
Gerrit-Change-Number: 22214
Gerrit-PatchSet: 9
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Jonathan Kollasch <jakllsch(a)kollasch.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Jonathan Kollasch has uploaded a new patch set (#10) to the change originally created by Patrick Rudolph. ( https://review.coreboot.org/c/coreboot/+/22215 )
Change subject: [WIP]nb/intel/sandybridge/raminit: Add ECC support
......................................................................
[WIP]nb/intel/sandybridge/raminit: Add ECC support
Add ECC support for native raminit on SandyBridge/IvyBridge.
Change-Id: I1206746332c9939a78b67e7b48d3098bdef8a2ed
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
M src/northbridge/intel/sandybridge/Kconfig
M src/northbridge/intel/sandybridge/raminit.c
M src/northbridge/intel/sandybridge/raminit_common.c
M src/northbridge/intel/sandybridge/raminit_common.h
M src/northbridge/intel/sandybridge/raminit_ivy.c
M src/northbridge/intel/sandybridge/raminit_sandy.c
6 files changed, 100 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/22215/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/22215
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1206746332c9939a78b67e7b48d3098bdef8a2ed
Gerrit-Change-Number: 22215
Gerrit-PatchSet: 10
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christoph Pomaska <github(a)slrie.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jonathan Kollasch <jakllsch(a)kollasch.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset