build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35680 )
Change subject: cpu/qemu-x86: Add x86_64 bootblock support
......................................................................
Patch Set 7:
(2 comments)
https://review.coreboot.org/c/coreboot/+/35680/7/util/pgtblgen/pgtblgen.c
File util/pgtblgen/pgtblgen.c:
https://review.coreboot.org/c/coreboot/+/35680/7/util/pgtblgen/pgtblgen.c@28
PS7, Line 28: printf("usage: %s -b <addr> -a <arch> -o <file>\n", argv[0]);
Prefer using '"%s...", __func__' to using 'usage', this function's name, in a string
https://review.coreboot.org/c/coreboot/+/35680/7/util/pgtblgen/pgtblgen.c@1…
PS7, Line 147: FILE *fd = fopen(filename, "wb");
need consistent spacing around '*' (ctx:WxV)
--
To view, visit https://review.coreboot.org/c/coreboot/+/35680
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iec92c6cea464c97c18a0811e2e91bc22133ace42
Gerrit-Change-Number: 35680
Gerrit-PatchSet: 7
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
Gerrit-Reviewer: Gerd Hoffmann <kraxel(a)redhat.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Lee Leahy <leroy.p.leahy(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Name of user not set #1002476
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 20 Oct 2019 16:12:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30117 )
Change subject: arch/x86: Support x86_64 exceptions
......................................................................
Patch Set 24:
(2 comments)
https://review.coreboot.org/c/coreboot/+/30117/24/src/arch/x86/include/arch…
File src/arch/x86/include/arch/registers.h:
https://review.coreboot.org/c/coreboot/+/30117/24/src/arch/x86/include/arch…
PS24, Line 44: #define QUAD_DOWNTO8(A) \
macros should not use a trailing semicolon
https://review.coreboot.org/c/coreboot/+/30117/24/src/arch/x86/include/arch…
PS24, Line 50: #define QUAD_DOWNTO16(A) \
macros should not use a trailing semicolon
--
To view, visit https://review.coreboot.org/c/coreboot/+/30117
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idd12c90a95cc2989eb9b2a718740a84222193f48
Gerrit-Change-Number: 30117
Gerrit-PatchSet: 24
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Sun, 20 Oct 2019 16:12:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Aaron Durbin, Arthur Heymans, Patrick Rudolph, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30500
to look at the new patch set (#20).
Change subject: arch/x86/postcar: Add x86_64 support
......................................................................
arch/x86/postcar: Add x86_64 support
* Add support for loading GDT on x86_64.
* Add x86_64 assembly code to do the same as the x86_32 code.
* Separate x86_32 and x86_64 code.
Tested on qemu x86_32 and x86_64 using additional MTRRs.
Needs test on real hardware.
Change-Id: I1c190627f5f0ed6f82738cb99423892382899d7b
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
M Documentation/arch/x86/index.md
M src/arch/x86/Makefile.inc
M src/arch/x86/exit_car.S
M src/arch/x86/gdt_init.S
4 files changed, 59 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/30500/20
--
To view, visit https://review.coreboot.org/c/coreboot/+/30500
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1c190627f5f0ed6f82738cb99423892382899d7b
Gerrit-Change-Number: 30500
Gerrit-PatchSet: 20
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Kyösti Mälkki, Aaron Durbin, Alexandru Gagniuc, ron minnich, Gerd Hoffmann, Lee Leahy, Stefan Reinauer, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/35680
to look at the new patch set (#7).
Change subject: cpu/qemu-x86: Add x86_64 bootblock support
......................................................................
cpu/qemu-x86: Add x86_64 bootblock support
Add support for x86_64 bootblock on qemu.
Introduce a new approach to long mode support. The previous patch set
generated page tables at runtime and placed them in heap. The new
approach places the page tables in memory mapped ROM.
Introduce a new tool called pgtblgen that creates x86 long mode compatible
page tables and writes those to a file. The file is included into the CBFS
and placed at a predefined offset.
Add assembly code to load the page tables, based on a Kconfig symbol and
enter long in bootblock.
The code can be easily ported to real hardware bootblock.
Tested on qemu q35.
Change-Id: Iec92c6cea464c97c18a0811e2e91bc22133ace42
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
M Documentation/arch/x86/index.md
M Makefile.inc
M src/arch/x86/Kconfig
M src/arch/x86/bootblock_crt0.S
M src/cpu/qemu-x86/cache_as_ram_bootblock.S
A src/cpu/x86/64bit/entry64.inc
A util/pgtblgen/Makefile.inc
A util/pgtblgen/description.md
A util/pgtblgen/pgtblgen.c
9 files changed, 297 insertions(+), 12 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/35680/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/35680
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iec92c6cea464c97c18a0811e2e91bc22133ace42
Gerrit-Change-Number: 35680
Gerrit-PatchSet: 7
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
Gerrit-Reviewer: Gerd Hoffmann <kraxel(a)redhat.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Lee Leahy <leroy.p.leahy(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Name of user not set #1002476
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/28791 )
Change subject: soc/intel/skylake: Ensure FSP don't override ITSS IPCx registers
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/28791/3/src/soc/intel/skylake/chip…
File src/soc/intel/skylake/chip_fsp20.c:
https://review.coreboot.org/c/coreboot/+/28791/3/src/soc/intel/skylake/chip…
PS3, Line 177: fsp_silicon_init(romstage_handoff_is_resume());
This includes calling back to the soc and then the mainboard code
(mainboard_silicon_init_params()) where many boards configure the
pads which includes configuring IRQ polarities. So it may supersede
the config that was backed up above.
This shows that we have way too many hooks around. It seems, nobody
can keep track when what is called. I'm thinking about dropping
mainboard_silicon_init_params(), it seems only useful for downstream
solutions (i.e. if the soc/ code doesn't fill the params properly,
that should be fixed instead).
This would leave us with the question when to do the pad configu-
ration? Any suggestions? Some boards do it in the mainboard's
chip->init(), which should work for this case, but I wonder if
we shouldn't just make it a rule to always do it early, e.g.
part of the romstage soc control flow?
--
To view, visit https://review.coreboot.org/c/coreboot/+/28791
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib731f27826d604c305dc52a8488fd6240b01148a
Gerrit-Change-Number: 28791
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Sun, 20 Oct 2019 11:53:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Christian Walter has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35622 )
Change subject: mainboard/supermicro/x11-lga1151-series: Rename to x11-lga1151-skykbl
......................................................................
mainboard/supermicro/x11-lga1151-series: Rename to x11-lga1151-skykbl
The LGA1151 supports multiple chip generations like SKylake, Kaby Lake,
Coffee Lake and so on. The x11sch for example is a Coffee Lake platform
with a LGA1151 socket. TO cover those changes aswell, we need to rename
the folder to x11-lga1151-skykbl.
Change-Id: Id213e79d7bcb5b6630dd0354cfce542e30ec9573
Signed-off-by: Christian Walter <christian.walter(a)9elements.com>
---
R src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig
R src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig.name
R src/mainboard/supermicro/x11-lga1151-skykbl/Makefile.inc
R src/mainboard/supermicro/x11-lga1151-skykbl/acpi/ec.asl
R src/mainboard/supermicro/x11-lga1151-skykbl/acpi/mainboard.asl
R src/mainboard/supermicro/x11-lga1151-skykbl/acpi/superio.asl
R src/mainboard/supermicro/x11-lga1151-skykbl/acpi_tables.c
R src/mainboard/supermicro/x11-lga1151-skykbl/board_info.txt
R src/mainboard/supermicro/x11-lga1151-skykbl/bootblock.c
R src/mainboard/supermicro/x11-lga1151-skykbl/cmos.layout
R src/mainboard/supermicro/x11-lga1151-skykbl/devicetree.cb
R src/mainboard/supermicro/x11-lga1151-skykbl/dsdt.asl
R src/mainboard/supermicro/x11-lga1151-skykbl/ramstage.c
R src/mainboard/supermicro/x11-lga1151-skykbl/romstage.c
R src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/board_info.txt
R src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/include/variant/gpio.h
R src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/overridetree.cb
R src/mainboard/supermicro/x11-lga1151-skykbl/vboot-ro-rwab.fmd
18 files changed, 0 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/35622/1
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Kconfig b/src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/Kconfig
rename to src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Kconfig.name b/src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig.name
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/Kconfig.name
rename to src/mainboard/supermicro/x11-lga1151-skykbl/Kconfig.name
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc b/src/mainboard/supermicro/x11-lga1151-skykbl/Makefile.inc
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
rename to src/mainboard/supermicro/x11-lga1151-skykbl/Makefile.inc
diff --git a/src/mainboard/supermicro/x11-lga1151-series/acpi/ec.asl b/src/mainboard/supermicro/x11-lga1151-skykbl/acpi/ec.asl
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/acpi/ec.asl
rename to src/mainboard/supermicro/x11-lga1151-skykbl/acpi/ec.asl
diff --git a/src/mainboard/supermicro/x11-lga1151-series/acpi/mainboard.asl b/src/mainboard/supermicro/x11-lga1151-skykbl/acpi/mainboard.asl
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/acpi/mainboard.asl
rename to src/mainboard/supermicro/x11-lga1151-skykbl/acpi/mainboard.asl
diff --git a/src/mainboard/supermicro/x11-lga1151-series/acpi/superio.asl b/src/mainboard/supermicro/x11-lga1151-skykbl/acpi/superio.asl
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/acpi/superio.asl
rename to src/mainboard/supermicro/x11-lga1151-skykbl/acpi/superio.asl
diff --git a/src/mainboard/supermicro/x11-lga1151-series/acpi_tables.c b/src/mainboard/supermicro/x11-lga1151-skykbl/acpi_tables.c
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/acpi_tables.c
rename to src/mainboard/supermicro/x11-lga1151-skykbl/acpi_tables.c
diff --git a/src/mainboard/supermicro/x11-lga1151-series/board_info.txt b/src/mainboard/supermicro/x11-lga1151-skykbl/board_info.txt
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/board_info.txt
rename to src/mainboard/supermicro/x11-lga1151-skykbl/board_info.txt
diff --git a/src/mainboard/supermicro/x11-lga1151-series/bootblock.c b/src/mainboard/supermicro/x11-lga1151-skykbl/bootblock.c
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/bootblock.c
rename to src/mainboard/supermicro/x11-lga1151-skykbl/bootblock.c
diff --git a/src/mainboard/supermicro/x11-lga1151-series/cmos.layout b/src/mainboard/supermicro/x11-lga1151-skykbl/cmos.layout
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/cmos.layout
rename to src/mainboard/supermicro/x11-lga1151-skykbl/cmos.layout
diff --git a/src/mainboard/supermicro/x11-lga1151-series/devicetree.cb b/src/mainboard/supermicro/x11-lga1151-skykbl/devicetree.cb
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/devicetree.cb
rename to src/mainboard/supermicro/x11-lga1151-skykbl/devicetree.cb
diff --git a/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl b/src/mainboard/supermicro/x11-lga1151-skykbl/dsdt.asl
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/dsdt.asl
rename to src/mainboard/supermicro/x11-lga1151-skykbl/dsdt.asl
diff --git a/src/mainboard/supermicro/x11-lga1151-series/ramstage.c b/src/mainboard/supermicro/x11-lga1151-skykbl/ramstage.c
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/ramstage.c
rename to src/mainboard/supermicro/x11-lga1151-skykbl/ramstage.c
diff --git a/src/mainboard/supermicro/x11-lga1151-series/romstage.c b/src/mainboard/supermicro/x11-lga1151-skykbl/romstage.c
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/romstage.c
rename to src/mainboard/supermicro/x11-lga1151-skykbl/romstage.c
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/board_info.txt b/src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/board_info.txt
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/board_info.txt
rename to src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/board_info.txt
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h b/src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/include/variant/gpio.h
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h
rename to src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/include/variant/gpio.h
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/overridetree.cb b/src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/overridetree.cb
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/overridetree.cb
rename to src/mainboard/supermicro/x11-lga1151-skykbl/variants/x11ssh-tf/overridetree.cb
diff --git a/src/mainboard/supermicro/x11-lga1151-series/vboot-ro-rwab.fmd b/src/mainboard/supermicro/x11-lga1151-skykbl/vboot-ro-rwab.fmd
similarity index 100%
rename from src/mainboard/supermicro/x11-lga1151-series/vboot-ro-rwab.fmd
rename to src/mainboard/supermicro/x11-lga1151-skykbl/vboot-ro-rwab.fmd
--
To view, visit https://review.coreboot.org/c/coreboot/+/35622
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id213e79d7bcb5b6630dd0354cfce542e30ec9573
Gerrit-Change-Number: 35622
Gerrit-PatchSet: 1
Gerrit-Owner: Christian Walter <christian.walter(a)9elements.com>
Gerrit-MessageType: newchange