Matt Delco has posted comments on this change. ( https://review.coreboot.org/28073 )
Change subject: mainboard/google/nocturne: turn off cams in D3
......................................................................
Patch Set 1:
> Again I don't think that statement is true, a value in _PR3 does not mean to
> keep device power in D3Hot. For your reference, the following code
> https://chromium.googlesource.com/chromiumos/third_party/kernel/+/stabilize… did explain that.
Is there a particular place that is supposed to illustrate this? It looks to me like acpi_power_transition() calls acpi_power_on_list() on items in the list for the new power state and calls acpi_power_off_list() on items in old list. So, having a _PR3 keeps the power on in D3Hot.
> May I know what kind of problem you are facing now?
> The steps in _OFF had not been executed?
The device (or at least the privacy light) never turns off in Windows. If no driver is installed for the camera then the light stays on. If I install a driver for the device then the light stays on. If I install a driver and modify ACPI then the light does turn off. I might be able to convince the light to go off by having the driver try harder to claim support for D3cold but this is going beyond the Intel reference examples and again I don't see any other MIPI camera outside of coreboot that uses _PR3.
--
To view, visit https://review.coreboot.org/28073
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: Id52c2499c3b7577f03395cc9ca2460f25b80e13f
Gerrit-Change-Number: 28073
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Comment-Date: Tue, 14 Aug 2018 20:43:31 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/28073 )
Change subject: mainboard/google/nocturne: turn off cams in D3
......................................................................
Patch Set 1:
> Patch Set 1:
>
> > Patch Set 1:
> > In this case, that means the _OFF in power resource will be called
> > when transit into to D3hot state.
>
> That'd be true with this change, but prior to this change having a value in _PR3 means to keep the device on in D3hot. Is there any reason to provide power to the devices outside of D0?
>
> > the corresponding object to set the device into a deeper Dx must also be declared, and vice versa.
>
> That just says it needs to be declared, so I could stick in an empty _PS3 but nobody bothers to do that even if it's a stronger fit to the spec requirements.
Again I don't think that statement is true, a value in _PR3 does not mean to keep device power in D3Hot. For your reference, the following code https://chromium.googlesource.com/chromiumos/third_party/kernel/+/stabilize… did explain that.
May I know what kind of problem you are facing now? The steps in _OFF had not been executed?
--
To view, visit https://review.coreboot.org/28073
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: Id52c2499c3b7577f03395cc9ca2460f25b80e13f
Gerrit-Change-Number: 28073
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Comment-Date: Tue, 14 Aug 2018 20:27:20 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Hannah Williams has posted comments on this change. ( https://review.coreboot.org/28060 )
Change subject: intel/common/block: Fix issues found by klockwork
......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/#/c/28060/2/src/soc/intel/common/block/cpu/mp_i…
File src/soc/intel/common/block/cpu/mp_init.c:
https://review.coreboot.org/#/c/28060/2/src/soc/intel/common/block/cpu/mp_i…
PS2, Line 138: soc_init_cpus(dev->link_list);
wrap it with
if (dev && dev->link_list)
With the entries we have in devicetree.cb it will not be NULL though
https://review.coreboot.org/#/c/28060/2/src/soc/intel/common/block/graphics…
File src/soc/intel/common/block/graphics/graphics.c:
https://review.coreboot.org/#/c/28060/2/src/soc/intel/common/block/graphics…
PS2, Line 43: if (!dev->enabled)
if (!dev || !dev->enabled)
--
To view, visit https://review.coreboot.org/28060
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: I5e7caa15a3911e05ff346d338493673af5318a51
Gerrit-Change-Number: 28060
Gerrit-PatchSet: 2
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: AndreX Andraos <andrex.andraos(a)intel.com>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Tue, 14 Aug 2018 19:47:45 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28076
to look at the new patch set (#2).
Change subject: mb/google/poppy/variants/nocturne: remove dup'ed dptf_enable
......................................................................
mb/google/poppy/variants/nocturne: remove dup'ed dptf_enable
This file contains two instances of "dptf_enable" = "1". This change
removes the 2nd instance (it doesn't have an explicit comment like the
1st instance).
The dptf devices still seem to be present even with this change, as
expected.
Change-Id: I890006644be9176ebaf555cc121c816e12f2b596
Signed-off-by: Matt Delco <delco(a)chromium.org>
---
M src/mainboard/google/poppy/variants/nocturne/devicetree.cb
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/28076/2
--
To view, visit https://review.coreboot.org/28076
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: I890006644be9176ebaf555cc121c816e12f2b596
Gerrit-Change-Number: 28076
Gerrit-PatchSet: 2
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>