Paul Fagerburg has submitted this change. ( https://review.coreboot.org/c/coreboot/+/56687 )
Change subject: mb/google/dedede/var/cappy2: Disable external bypass VR
......................................................................
mb/google/dedede/var/cappy2: Disable external bypass VR
The cappy2 removed the anpec apw8738bqbi and "disable_external_bypass_vr" should be set to "1" to disable
BUG=b:194146867
BRANCH=dedede
TEST=VCCIN_AUX is disable
Signed-off-by: Sunwei Li <lisunwei(a)huaqin.corp-partner.google.com>
Change-Id: Ieb4182a989459db629e3b69757c293ca26e8b0cd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56687
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Aseda Aboagye <aaboagye(a)google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub(a)google.com>
Reviewed-by: Weimin Wu <wuweimin(a)huaqin.corp-partner.google.com>
---
M src/mainboard/google/dedede/variants/cappy2/overridetree.cb
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Aseda Aboagye: Looks good to me, but someone else must approve
Karthik Ramasubramanian: Looks good to me, approved
Weimin Wu: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/dedede/variants/cappy2/overridetree.cb b/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
index a036e19..88b27f9 100644
--- a/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
@@ -28,6 +28,8 @@
},
}"
+ register "disable_external_bypass_vr" = "1" # Does not support external vnn power rail
+
device domain 0 on
device pci 15.0 on
chip drivers/i2c/hid
--
To view, visit https://review.coreboot.org/c/coreboot/+/56687
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ieb4182a989459db629e3b69757c293ca26e8b0cd
Gerrit-Change-Number: 56687
Gerrit-PatchSet: 5
Gerrit-Owner: Sunwei Li <lisunwei(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Aseda Aboagye <aaboagye(a)google.com>
Gerrit-Reviewer: Bob Moragues <moragues(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: Weimin Wu <wuweimin(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Tao Xia <xiatao5(a)huaqin.corp-partner.google.com>
Gerrit-MessageType: merged
Attention is currently required from: Julius Werner, Jan Dabros.
Jakub Czapiga has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56719 )
Change subject: tests/Makefile.inc: Add function wrapping mechanism
......................................................................
Patch Set 3:
(7 comments)
File tests/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/56719/comment/060df53a_c096dd9b
PS2, Line 123: $(OBJCOPY) $$@.orig $$(OBJCOPY_FLAGS) $$@.orig2
> nit: wouldn't it be easier to generate objcopy_wrap_flags first and then just run […]
We want to add __real_<funcname> symbols only if they are present in the object file as weak symbols. We do not want to have multiple instances of __real_<funcname> e.g. for mocka and original function.
https://review.coreboot.org/c/coreboot/+/56719/comment/0d11364a_77c8703b
PS2, Line 126: $$$$sym)
> Should put a (properly escaped) $ at the end of the regex to make sure it won't do substring matches […]
Great, you noticed. It would be problematic in the future.
https://review.coreboot.org/c/coreboot/+/56719/comment/60c5fd80_956a8c75
PS2, Line 126: objdump
> Let's make a Makefile variable for this, same as we have for $(OBJCOPY)
Done
https://review.coreboot.org/c/coreboot/+/56719/comment/f0104aac_85ee56e4
PS2, Line 128: rev | awk '{ print $$$$2 }' | rev
> You can just do […]
Oh, it really looks simpler. Thanks
https://review.coreboot.org/c/coreboot/+/56719/comment/f63a8eef_ebb57297
PS2, Line 129: .text.$$$${sym}
> This should work in general, but there are rare cases where it may not (e.g. […]
This makes sense. It should cover these functions. However it still will not work. See comment above :)
https://review.coreboot.org/c/coreboot/+/56719/comment/4b500982_743819fc
PS2, Line 129: 0
Oh I forgot to revert changes before pushing this CL. I'm sorry.
> Again, in 99% of cases this offset will be 0, but to preclude problems with rare edge cases it would be better to use the real offset given by objdump.
The problem with objcopy is, there is no way (or I didn't find any) to set offset and size of symbol. Symbols created by this call have address as a value, and zero as a offset/size, when function symbols created by GCC have this values swapped.
https://review.coreboot.org/c/coreboot/+/56719/comment/2b76fb62_733b3a9b
PS2, Line 129: before=$$$${sym}
> I don't think you actually need the before=$$$${sym}? Does it not work without that? From my underst […]
It is not required. But due to behavior of objcopy (described in the comment below) I added it for safety. For addr=0 and before=symbol this solution was working (probably, I am some kind of lost...).
Additional info:
For `--add-symbol __real_cbfs_lookup=.text.cbfs_lookup:0x7d,function,global,before=cbfs_lookup`
```
$ objdump -t src/commonlib/bsd/cbfs_private.o.orig2 | grep cbfs_lookup
0000000000000000 l d .text.cbfs_lookup 0000000000000000 .text.cbfs_lookup
0000000000000000 w F .text.cbfs_lookup 000000000000007d cbfs_lookup
```
```
$ objdump -t src/commonlib/bsd/cbfs_private.o | grep cbfs_lookup
0000000000000000 l d .text.cbfs_lookup 0000000000000000 .text.cbfs_lookup
000000000000007d g F .text.cbfs_lookup 0000000000000000 __real_cbfs_lookup
0000000000000000 w F .text.cbfs_lookup 000000000000007d cbfs_lookup
```
For `--add-symbol` without `before=` the dump above has swapped `__real_cbfs_lookup` and `cbfs_lookup` lines.
```
$ objdump -t run | grep cbfs_lookup
00000000004025fd g F .text 0000000000000000 __real_cbfs_lookup
000000000040197e g F .text 000000000000004a cbfs_lookup
```
--
To view, visit https://review.coreboot.org/c/coreboot/+/56719
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7cd0d66a17029955cbf75c8b155a7ebb7f5513aa
Gerrit-Change-Number: 56719
Gerrit-PatchSet: 3
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Comment-Date: Mon, 02 Aug 2021 14:26:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Martin Roth, Idwer Vollering, Paul Menzel.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56677 )
Change subject: util/kconfig: detect ncurses on FreeBSD
......................................................................
Patch Set 5: Code-Review+2
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/56677/comment/6197b9e7_33d1247b
PS4, Line 8:
> Would be great to explain what this patch fixes, and/or which problem happens on FreeBSD without it.
Perfect, thank you!
--
To view, visit https://review.coreboot.org/c/coreboot/+/56677
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4344ba2116c0b8618357db4248d993509cbb666e
Gerrit-Change-Number: 56677
Gerrit-PatchSet: 5
Gerrit-Owner: Idwer Vollering <vidwer(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Idwer Vollering <vidwer(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Mon, 02 Aug 2021 14:06:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Maulik V Vaghela has removed Maulik V Vaghela from this change. ( https://review.coreboot.org/c/coreboot/+/56760 )
Change subject: TEST: Latest JSLRVP s0ix recipe
......................................................................
Removed reviewer Maulik V Vaghela.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56760
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I660815b1763da1b30d73acdb9851866c099cf953
Gerrit-Change-Number: 56760
Gerrit-PatchSet: 1
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-MessageType: deleteReviewer
Attention is currently required from: YH Lin, Furquan Shaikh, Tim Wawrzynczak, Nick Vaccaro, Zhuohao Lee.
Mark Hsieh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56757 )
Change subject: mb/google/brya/variants/gimble: Update overridetree for gimble
......................................................................
Patch Set 2: Code-Review+1
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56757
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0f0a8c84db3fbc963797d11246c5d31b395bb744
Gerrit-Change-Number: 56757
Gerrit-PatchSet: 2
Gerrit-Owner: Mark Hsieh <mark_hsieh(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Mark Hsieh <mark_hsieh(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anfernee Chen <anfernee_chen(a)wistron.corp-partner.google.com>
Gerrit-CC: Ariel Fang <ariel_fang(a)wistron.corp-partner.google.com>
Gerrit-CC: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Gerrit-CC: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-CC: Scott Chao <scott_chao(a)wistron.corp-partner.google.com>
Gerrit-CC: Terry Chen <terry_chen(a)wistron.corp-partner.google.com>
Gerrit-CC: Will Tsai <will_tsai(a)wistron.corp-partner.google.com>
Gerrit-Attention: YH Lin <yueherngl(a)google.com>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Comment-Date: Mon, 02 Aug 2021 12:54:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment