Hello Varshit B Pandya, build bot (Jenkins), Daniel Kang, Furquan Shaikh, Wonkyu Kim, Paul Menzel, Tim Wawrzynczak, Rizwan Qureshi, Tim Wawrzynczak, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41624
to look at the new patch set (#24).
Change subject: drivers/intel/mipi_camera: Add camera power resource to SSDT
......................................................................
drivers/intel/mipi_camera: Add camera power resource to SSDT
This change adds support function to parse entries in the devicetree to
generate PowerResource entries for the MIPI camera.
Change-Id: I31e198b50acf2c64035aff9cb054fbe3602dd83e
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s(a)intel.com>
---
M src/drivers/intel/mipi_camera/camera.c
M src/drivers/intel/mipi_camera/chip.h
2 files changed, 162 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/41624/24
--
To view, visit https://review.coreboot.org/c/coreboot/+/41624
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I31e198b50acf2c64035aff9cb054fbe3602dd83e
Gerrit-Change-Number: 41624
Gerrit-PatchSet: 24
Gerrit-Owner: Sugnan Prabhu S <sugnan.prabhu.s(a)intel.com>
Gerrit-Reviewer: Daniel Kang <daniel.h.kang(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)google.com>
Gerrit-Reviewer: Varshit B Pandya <varshit.b.pandya(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kiran2 Kumar <kiran2.kumar(a)intel.corp-partner.google.com>
Gerrit-CC: Matt Delco <delco(a)chromium.org>
Gerrit-MessageType: newpatchset
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42615 )
Change subject: mb/emulation/qemu-i440fx,q35: Fix comment style
......................................................................
mb/emulation/qemu-i440fx,q35: Fix comment style
The comment fits in 96 characters, so do it, also getting rid of the
unwanted multi-line comment style.
Add a dot/period to the end of the sentence.
Change-Id: I7b5c7ea5da00d649aa06361e0e0cf2431874a6ec
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
M src/mainboard/emulation/qemu-i440fx/mainboard.c
M src/mainboard/emulation/qemu-q35/mainboard.c
2 files changed, 2 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/42615/1
diff --git a/src/mainboard/emulation/qemu-i440fx/mainboard.c b/src/mainboard/emulation/qemu-i440fx/mainboard.c
index 04bbb7d..929743a 100644
--- a/src/mainboard/emulation/qemu-i440fx/mainboard.c
+++ b/src/mainboard/emulation/qemu-i440fx/mainboard.c
@@ -20,9 +20,7 @@
for (i = 0; i < 6; i++)
pci_write_config8(dev, 0x5a + i, 0x33);
- /* This sneaked in here, because Qemu does not
- * emulate a SuperIO chip
- */
+ /* This sneaked in here, because Qemu does not emulate a SuperIO chip. */
pc_keyboard_init(NO_AUX_DEVICE);
/* setup IRQ routing */
diff --git a/src/mainboard/emulation/qemu-q35/mainboard.c b/src/mainboard/emulation/qemu-q35/mainboard.c
index c7e983a..d329e5a 100644
--- a/src/mainboard/emulation/qemu-q35/mainboard.c
+++ b/src/mainboard/emulation/qemu-q35/mainboard.c
@@ -26,9 +26,7 @@
pci_write_config8(dev, Q35_PAM0 + 5, 0x33);
pci_write_config8(dev, Q35_PAM0 + 6, 0x33);
- /* This sneaked in here, because Qemu does not
- * emulate a SuperIO chip
- */
+ /* This sneaked in here, because Qemu does not emulate a SuperIO chip. */
pc_keyboard_init(NO_AUX_DEVICE);
/* setup IRQ routing for pci slots */
--
To view, visit https://review.coreboot.org/c/coreboot/+/42615
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7b5c7ea5da00d649aa06361e0e0cf2431874a6ec
Gerrit-Change-Number: 42615
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newchange
Hello Anjaneya "Reddy" Chagam,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/42439
to review the following change.
Change subject: soc/intel/xeon_sp/cpx: rename xeon_sp_get_cpu_count()
......................................................................
soc/intel/xeon_sp/cpx: rename xeon_sp_get_cpu_count()
Rename function from xeon_sp_get_cpu_count() to xeon_sp_get_sku_count().
The function returns CPU socket count, by getting it from the field
named as numCpus in FSP HOB.
Signed-off-by: Jonathan Zhang <jonzhang(a)fb.com>
Signed-off-by: Reddy Chagam <anjaneya.chagam(a)intel.com>
Change-Id: Ic96bdf4ab042ac15d43f9b636185627c63fbf8a1
---
M src/soc/intel/xeon_sp/cpx/acpi.c
M src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h
M src/soc/intel/xeon_sp/cpx/soc_util.c
3 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/42439/1
diff --git a/src/soc/intel/xeon_sp/cpx/acpi.c b/src/soc/intel/xeon_sp/cpx/acpi.c
index 33c85ca..654f761 100644
--- a/src/soc/intel/xeon_sp/cpx/acpi.c
+++ b/src/soc/intel/xeon_sp/cpx/acpi.c
@@ -454,7 +454,7 @@
static unsigned long acpi_fill_slit(unsigned long current)
{
- unsigned int nodes = xeon_sp_get_cpu_count();
+ unsigned int nodes = xeon_sp_get_skt_count();
uint8_t *p = (uint8_t *)current;
memset(p, 0, 8 + nodes * nodes);
diff --git a/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h b/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h
index ee2b68b..1bcd222 100644
--- a/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h
+++ b/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h
@@ -34,7 +34,8 @@
void get_core_thread_bits(uint32_t *core_bits, uint32_t *thread_bits);
void get_cpu_info_from_apicid(uint32_t apicid, uint32_t core_bits, uint32_t thread_bits,
uint8_t *package, uint8_t *core, uint8_t *thread);
-unsigned int xeon_sp_get_cpu_count(void);
+/* Return socket count, as obtained from FSP HOB */
+unsigned int xeon_sp_get_skt_count(void);
int get_platform_thread_count(void);
int get_threads_per_package(void);
diff --git a/src/soc/intel/xeon_sp/cpx/soc_util.c b/src/soc/intel/xeon_sp/cpx/soc_util.c
index 9837cd9..09237d0 100644
--- a/src/soc/intel/xeon_sp/cpx/soc_util.c
+++ b/src/soc/intel/xeon_sp/cpx/soc_util.c
@@ -22,7 +22,7 @@
int get_platform_thread_count(void)
{
- return xeon_sp_get_cpu_count() * get_threads_per_package();
+ return xeon_sp_get_skt_count() * get_threads_per_package();
}
const struct SystemMemoryMapHob *get_system_memory_map(void)
@@ -82,8 +82,9 @@
return hob;
}
-unsigned int xeon_sp_get_cpu_count(void)
+unsigned int xeon_sp_get_skt_count(void)
{
+ /* The FSP IIO UDS HOB has field numCpus, it is actually socket count */
return get_iio_uds()->SystemStatus.numCpus;
}
@@ -114,9 +115,7 @@
if (num_apics > 1)
bubblesort(apic_ids, num_apics, NUM_ASCENDING);
- /* Here num_cpus is the number of processors */
- /* The FSP HOB parameter has it named as num_cpus */
- num_cpus = xeon_sp_get_cpu_count();
+ num_cpus = xeon_sp_get_skt_count();
cpu_read_topology(&core_count, &thread_count);
assert(num_apics == (num_cpus * thread_count));
@@ -307,7 +306,7 @@
* According to the BIOS writer's guide, this needs to be set on non-SBSP
* first, before set on SBSP.
*/
- for (uint32_t socket = 0; socket < xeon_sp_get_cpu_count(); ++socket) {
+ for (uint32_t socket = 0; socket < xeon_sp_get_skt_count(); ++socket) {
if (socket == sbsp_socket_id)
continue;
set_bios_init_completion_for_package(socket);
--
To view, visit https://review.coreboot.org/c/coreboot/+/42439
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic96bdf4ab042ac15d43f9b636185627c63fbf8a1
Gerrit-Change-Number: 42439
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Anjaneya "Reddy" Chagam <anjaneya.chagam(a)intel.com>
Gerrit-MessageType: newchange
Yu-Ping Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42505 )
Change subject: libpayload: Initialize video console conditionally
......................................................................
libpayload: Initialize video console conditionally
Initialize video console only if LP_VIDEO_CONSOLE is set.
BRANCH=none
BUG=none
TEST=USE="menu_ui" emerge-gale depthcharge
Change-Id: Ic45f9073330258cb77301003484ec525b2404180
Signed-off-by: Yu-Ping Wu <yupingso(a)chromium.org>
---
M payloads/libpayload/gdb/stub.c
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/42505/1
diff --git a/payloads/libpayload/gdb/stub.c b/payloads/libpayload/gdb/stub.c
index 694577e..395579b4 100644
--- a/payloads/libpayload/gdb/stub.c
+++ b/payloads/libpayload/gdb/stub.c
@@ -73,9 +73,11 @@
if (!gdb_state.resumed) {
/* Must be a die_if() in GDB (or a bug), so bail out and die. */
gdb_exit(-1);
- video_console_init();
puts("GDB died, redirecting its last words to the screen:\n");
- console_write(buffer, count);
+ if (CONFIG(LP_VIDEO_CONSOLE)) {
+ video_console_init();
+ console_write(buffer, count);
+ }
} else {
reply.used = 0;
reply.buf[reply.used++] = 'O';
--
To view, visit https://review.coreboot.org/c/coreboot/+/42505
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic45f9073330258cb77301003484ec525b2404180
Gerrit-Change-Number: 42505
Gerrit-PatchSet: 1
Gerrit-Owner: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-MessageType: newchange
John Zhao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42504 )
Change subject: Disable D3Code along with pass through mode
......................................................................
Disable D3Code along with pass through mode
The pass through mode(SW CM) RTD3 is not support until QS platform.
D3Cold is needed to be disabled along with upstream TBT firmware.
BUG=b:159050315
TEST=Verfiy S0ix along with upstream TBT firmware.
Signed-off-by: John Zhao <john.zhao(a)intel.com>
Change-Id: I98ed991e4185abf1f3168e33b099e0e97c9075f6
---
M src/mainboard/google/volteer/variants/baseboard/devicetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/42504/1
diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
index 8cd926c..4bc8345 100644
--- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb
@@ -159,7 +159,7 @@
# D3Hot and D3Cold for TCSS
register "TcssD3HotEnable" = "1"
- register "TcssD3ColdEnable" = "1"
+ register "TcssD3ColdEnable" = "0"
# DP port
register "DdiPortAConfig" = "1" # eDP
--
To view, visit https://review.coreboot.org/c/coreboot/+/42504
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I98ed991e4185abf1f3168e33b099e0e97c9075f6
Gerrit-Change-Number: 42504
Gerrit-PatchSet: 1
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-MessageType: newchange