Attention is currently required from: Jakub Czapiga, Paul Menzel, Tarun Tuli.
Sukumar Ghorai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/76827?usp=email )
Change subject: mb/google/{rex,ovis}: Disable C1-state auto demotion for rex & ovis
......................................................................
Patch Set 5:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/76827/comment/c898d408_111c6c62 :
PS2, Line 25: Also power and performance impact has been measure
: by respective teams.
> Will add the power number today
Acknowledged
--
To view, visit https://review.coreboot.org/c/coreboot/+/76827?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I548e0e5340dec537d05718dd2f4652e10fb36ac0
Gerrit-Change-Number: 76827
Gerrit-PatchSet: 5
Gerrit-Owner: Sukumar Ghorai <sukumar.ghorai(a)intel.com>
Gerrit-Reviewer: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Thu, 03 Aug 2023 23:45:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Sukumar Ghorai <sukumar.ghorai(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans, Dinesh Gehlot, Kapil Porwal, Lean Sheng Tan, Subrata Banik, Werner Zeh.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/76393?usp=email )
Change subject: src: Implement framework for PRERAM VSD store
......................................................................
Patch Set 12:
(1 comment)
Patchset:
PS10:
> If it just one file where we are declaring all required global variables and then migrate into the cbmem, I would have easily follow your instructions but the usage model is different and there would be multiple file and files between the stages are involved hence, write function to sync those global variables after CBMEM comes online is a job honestly. Compared to that, calling into cbmem_vsd is much simpler where the caller adds the newer variable into the VSD and it's getting auto synced when cbmem comes online.
I really don't follow you here. Where are these multiple files that need to be involved here? Are you talking about code that is not uploaded as part of this patch series yet? As far as I can tell, CB:76395 is the only user of this API, and in that patch the entire code to handle this would be kept within cse_lite.c (and amount to literally one line to declare the variable, one line to memcpy() into it, and a trivial CBMEM_CREATION_HOOK() function to copy it from there into CBMEM). All the other stuff from that patch (in ish.c and cse.c) runs in ramstage and would only need to call cbmem_find(). Or am I misunderstanding something? (Also note that there is plenty of existing precedent for this kind of thing in coreboot already, for example the `mem_chip_info` variable in `src/soc/qualcomm/common/qclib.c`.)
Meanwhile, I think what you're trying to add here is "messy". You're adding something that sounds like a multi-purpose container ("vendor data"), but really there's only space for a single allocation inside it, and there's no way to identify what kind of data it contains other than reading through the code to find out what was put in there on the other side. What's the point in calling it "vendor data" in the first place, instead of "ISH version", when that's the only thing it can ever really be used for? You're making it sound reusable but the way you're writing it it really isn't. And why are you allocating a separate CAR area for something that isn't actually getting passed between stages?
I'm sorry, but I just think this is a bad design. It is confusingly named for what it does, it is a lot more complex than it needs to be to solve this problem, and it can't be reused for anything else to justify that extra complexity because now it is already "full" with the ISH version. If you want something that can really be reused for other pre-RAM passing-between-stage needs, then it needs to be able to handle multiple different allocations side by side, and that would essentially be the pre-RAM CBMEM thing that we already agreed was a good idea but takes too long for your time frame right now.
--
To view, visit https://review.coreboot.org/c/coreboot/+/76393?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0baebb902807d5403800ac18757512bd2a59d2b9
Gerrit-Change-Number: 76393
Gerrit-PatchSet: 12
Gerrit-Owner: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Thu, 03 Aug 2023 23:36:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Comment-In-Reply-To: Kapil Porwal <kapilporwal(a)google.com>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Himanshu Sahdev, Julius Werner, Paul Menzel.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75495?usp=email )
Change subject: Docs: Document coreboot's git commit message rules
......................................................................
Patch Set 2:
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/75495/comment/3875603f_5b96012d :
PS1, Line 6:
> > Subject line should not end with a period. […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/1fac0f2a_97838c63 :
PS1, Line 7: commtit
> :) Thanks, will fix.
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/dbb0efde_dc4c8da3 :
PS1, Line 8:
> > Possible unwrapped commit description (prefer a maximum 72 chars per line) […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/75495?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
Gerrit-Change-Number: 75495
Gerrit-PatchSet: 2
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Comment-Date: Thu, 03 Aug 2023 23:36:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Martin L Roth <gaumless(a)gmail.com>
Comment-In-Reply-To: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Himanshu Sahdev, Julius Werner, Paul Menzel.
Hello Felix Singer, Julius Werner, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/75495?usp=email
to look at the new patch set (#3).
Change subject: Docs: Document coreboot's git commit message rules
......................................................................
Docs: Document coreboot's git commit message rules
These rules are to bludgeon non-conformers with, and to make people's
initial commits as difficult as possible.
Okay, not really.
This mostly just writes down a list of things that long-time coreboot
contributors already do. Some of these rules were written down on the
wiki. Others were adopted from other git commit message guideline
documents long ago.
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
---
A Documentation/contributing/git_commit_messages.md
M Documentation/contributing/index.md
2 files changed, 70 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/75495/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/75495?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
Gerrit-Change-Number: 75495
Gerrit-PatchSet: 3
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Felix Singer, Himanshu Sahdev, Julius Werner, Paul Menzel.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75495?usp=email )
Change subject: Docs: Document coreboot's git commit message rules.
......................................................................
Patch Set 1:
(17 comments)
File Documentation/contributing/git_commit_messages.md:
https://review.coreboot.org/c/coreboot/+/75495/comment/0b7adb69_5a56799b :
PS1, Line 8: everthing
> Thanks, missed that.
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/937bcd34_3b30d75d :
PS1, Line 9:
> Let us list two: […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/95d0ba56_20503724 :
PS1, Line 15: - If reflowing prose to 75 characters can reduce the length of the
: commit message by 2 or more lines, please reflow it.
> I would be for saying, it should also tried to be reached on each line: […]
I understand how you feel about this, but in my opinion, it's not worth worrying about to save a single line. That's why we came up with the 2 lines or more standard.
My opinion is that if it doesn't save any lines, just elongates the first and shortens the next, it's not worth the time to even request it.
Even saving a single line in the commit message is really nitpicky and requesting a change for that feels like being disrespectful of the time and effort it takes to make the change. The commit messages don't need to be *perfect*.
This respect for the author/committer of the patch is really what I'm trying to protect with this compromise.
https://review.coreboot.org/c/coreboot/+/75495/comment/4723e683_591e326f :
PS1, Line 17: if
> in
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/8d1a9579_d1646014 :
PS1, Line 20: subject
> I believe the correct git term is *title* or *summary*.
Both links you gave above for how to write a good git commit call it the subject.
https://review.coreboot.org/c/coreboot/+/75495/comment/33931458_6695c800 :
PS1, Line 22: Fix whitespace
> This is an examples for imperative mood. […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/e89be032_fce4f105 :
PS1, Line 24: the acronyms list
> Make it a link?
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/3535a881_7a6be3a6 :
PS1, Line 28: - Start the subject line with the path or area of the change.
> Maybe: […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/7e6577f0_9a8ddc93 :
PS1, Line 29: src/
> Mark it up with `?
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/06158002_c92678a2 :
PS1, Line 29: - Don't include src/
> Can we say "may omit leading path components before vendor/subsystem" or "may truncate down to two d […]
Updated with
```
Because this prefix takes space used by the rest of the title, it
should be kept short while still uniquely describing the area.
```
I think that says what you're asking for.
https://review.coreboot.org/c/coreboot/+/75495/comment/4a93c156_70dce1b2 :
PS1, Line 40: CB:XXXXX or a 10 character hash
> I’d prefer only the git hash part as git does not operate with CB:XXXXX.
I understand what you're saying, but the CB:XXXXX is very convenient because jenkins turns it into a URL.
This is officially supported, so I don't want to say it shouldn't be used here.
https://review.coreboot.org/c/coreboot/+/75495/comment/8d489965_d29cc1a9 :
PS1, Line 45: - Information about how a patch was tested is useful, but not required.
> I’d use: […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/95ec1787_eeb3da91 :
PS1, Line 46: - All but the most trivial of patches should generally have a body.
> I’d leave this out.
Why? My opinion is that it saves people from asking why a patch was done. Maybe the reason for a patch is obvious to the author, but just a title like "replace XXX with YYY" isn't sufficient in my opinion.
Also if you highly recommend a TEST= line, that should be in there as well.
https://review.coreboot.org/c/coreboot/+/75495/comment/7c94b0af_ee97749e :
PS1, Line 50: signed-off-by
> Signed-off-by
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/0c0a3cad_b960221b :
PS1, Line 51: commit
> Sounds good. Will update. […]
Done
https://review.coreboot.org/c/coreboot/+/75495/comment/f4cefcf2_daf78b31 :
PS1, Line 52: footers from previous commits
> Sorry, I do not understand, what footers you mean.
Updated:
```
- When adding a patch that has already gone through another git or
gerrit, the footers from those previous commits may be added, but
keep the list reasonable.
```
https://review.coreboot.org/c/coreboot/+/75495/comment/5dc7f898_f3697da9 :
PS1, Line 58: Found-by: Coverity CID 1469611
> I’d add the type of error in brackets at the end too. […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/75495?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
Gerrit-Change-Number: 75495
Gerrit-PatchSet: 1
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Comment-Date: Thu, 03 Aug 2023 23:33:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Comment-In-Reply-To: Martin L Roth <gaumless(a)gmail.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Himanshu Sahdev, Julius Werner, Martin L Roth.
Hello Felix Singer, Julius Werner, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/75495?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by Felix Singer, Code-Review+1 by Julius Werner, Verified+1 by build bot (Jenkins)
Change subject: Docs: Document coreboot's git commit message rules.
......................................................................
Docs: Document coreboot's git commit message rules.
These rules are to bludgeon non-conformers with, and to make people's
initial commits as difficult as possible.
Okay, not really.
This mostly just writes down a list of things that long-time coreboot
contributors already do. Some of these rules were written down on the
wiki. Others were adopted from other git commit message guideline
documents long ago.
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
---
A Documentation/contributing/git_commit_messages.md
M Documentation/contributing/index.md
2 files changed, 70 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/75495/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/75495?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2ba681193e302318934cc2f7f30659eac73d099
Gerrit-Change-Number: 75495
Gerrit-PatchSet: 2
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Himanshu Sahdev <himanshu.sahdev(a)intel.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newpatchset