Paul Fagerburg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45172 )
Change subject: drivers/intel/mipi_camera: Add support for dynamic SSDT generation
......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45172/8/src/drivers/intel/mipi_cam…
File src/drivers/intel/mipi_camera/camera_sku.c:
https://review.coreboot.org/c/coreboot/+/45172/8/src/drivers/intel/mipi_cam…
PS8, Line 36: /* By default device will be set to enabled in alloc_dev. So calling dev_set_enabled
: is not making call to chip_ops->enable_dev as device is already enabled */
: dev_set_enabled(sensor, 0);
: dev_set_enabled(sensor, 1);
: }
This is a little confusing. You say that it's already enabled, and then you disable and re-enable it without explaining why you have to do that. Maybe reword the comment to explain why you have to disable it first, something like this?
"Disable and re-enable the device so that chip_ops->enable_dev will always get called."
--
To view, visit https://review.coreboot.org/c/coreboot/+/45172
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a5aa6c313c026871e55bc6d067b44de4c1f1afe
Gerrit-Change-Number: 45172
Gerrit-PatchSet: 8
Gerrit-Owner: Sugnan Prabhu S <sugnan.prabhu.s(a)intel.com>
Gerrit-Reviewer: Andy Yeh <andy.yeh(a)intel.com>
Gerrit-Reviewer: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-Reviewer: Chen Wisley <wisley.chen(a)quantatw.com>
Gerrit-Reviewer: Chiasheng Lee <chiasheng.lee(a)intel.com>
Gerrit-Reviewer: Jett Rink <jettrink(a)google.com>
Gerrit-Reviewer: Justin TerAvest <teravest(a)google.com>
Gerrit-Reviewer: Marco Chen <marcochen(a)chromium.org>
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: Paul Fagerburg <pfagerburg(a)google.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: ShawnX Tu <shawnx.tu(a)intel.com>
Gerrit-Reviewer: Tomasz Figa <tfiga(a)google.com>
Gerrit-Reviewer: Varshit B Pandya <varshit.b.pandya(a)intel.com>
Gerrit-CC: Henry Sun <henrysun(a)google.com>
Gerrit-CC: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 17 Sep 2020 17:52:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45344 )
Change subject: soc/intel/common/block/cpu: Fix boot failure
......................................................................
soc/intel/common/block/cpu: Fix boot failure
This fixes CB:45043 "Guard options with if-blocks".
The code no longer returns if SGX is disabled, but as the PRMRR
configuration is missing it runs into die().
Tested on Prodrive Hermes: Boots again into Linux.
Change-Id: I6d32ca32b1b53767b2db91305103cd532823a5ca
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/soc/intel/common/block/cpu/cpulib.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/45344/1
diff --git a/src/soc/intel/common/block/cpu/cpulib.c b/src/soc/intel/common/block/cpu/cpulib.c
index 5b703cf..9cf7777 100644
--- a/src/soc/intel/common/block/cpu/cpulib.c
+++ b/src/soc/intel/common/block/cpu/cpulib.c
@@ -346,6 +346,9 @@
int i;
int valid_size;
+ if (!CONFIG(SOC_INTEL_COMMON_BLOCK_SGX))
+ return 0;
+
if (CONFIG(SOC_INTEL_COMMON_BLOCK_SGX_PRMRR_DISABLED)) {
printk(BIOS_DEBUG, "PRMRR disabled by config.\n");
return 0;
--
To view, visit https://review.coreboot.org/c/coreboot/+/45344
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6d32ca32b1b53767b2db91305103cd532823a5ca
Gerrit-Change-Number: 45344
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
Jingle Hsu has removed build bot (Jenkins) from this change. ( https://review.coreboot.org/c/coreboot/+/45426 )
Change subject: soc/intel/xeon_sp/cpx: Enable ACPI Continuous Performance Control
......................................................................
Removed reviewer build bot (Jenkins).
--
To view, visit https://review.coreboot.org/c/coreboot/+/45426
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I612598a5189375f335315933b590e1f7d24b2944
Gerrit-Change-Number: 45426
Gerrit-PatchSet: 3
Gerrit-Owner: Jingle Hsu <jingle_hsu(a)wiwynn.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Morgan Jang <Morgan_Jang(a)wiwynn.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: deleteReviewer