Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47010 )
Change subject: mb/google/dedede/var/drawcia: Probe and enable DPTF configuration
......................................................................
Patch Set 5:
(2 comments)
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
File src/mainboard/google/dedede/variants/drawcia/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 95: 65
> After comparison of existing and these new added entries, observed that only this temperature trip v […]
Yes that is correct. I could have moved the difference into a .C file to override only that passive policy. But I am afraid, developers may not notice it and that will lead to more confusion. Hence added it in the device tree so that it will be more clear.
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 139: # Default DPTF Policy for all drawcia boards if not overridden
: register "options.tsr[0].desc" = ""Memory""
: register "options.tsr[1].desc" = ""Ambient""
: register "options.tsr[2].desc" = ""Charger""
: register "options.tsr[3].desc" = ""5V regulator""
> Is it possible to define these sensor description entries only once, instead of keeping for both the […]
I may be wrong, but I am not aware of any such option.
Do you see any issue moving the TSR1 trip value to 65 for the devices of all form factors. If so, then I am fine with moving to that value. That way we don't have to duplicate the common entries.
--
To view, visit https://review.coreboot.org/c/coreboot/+/47010
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf166a2e36fa5775e2dea7c1adcae843cc143d32
Gerrit-Change-Number: 47010
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Evan Green <evgreen(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 05 Nov 2020 05:45:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-MessageType: comment
Maulik V Vaghela has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46842 )
Change subject: soc/intel/jasperlake: Correct GPIO pad sequence for community pad group
......................................................................
Patch Set 7:
(2 comments)
https://review.coreboot.org/c/coreboot/+/46842/6/src/soc/intel/jasperlake/g…
File src/soc/intel/jasperlake/gpio.c:
https://review.coreboot.org/c/coreboot/+/46842/6/src/soc/intel/jasperlake/g…
PS6, Line 36: 0
> Ack
Sure Furquan..I'll raise a cros bug.
https://review.coreboot.org/c/coreboot/+/46842/7/src/soc/intel/jasperlake/i…
File src/soc/intel/jasperlake/include/soc/gpio_soc_defs.h:
https://review.coreboot.org/c/coreboot/+/46842/7/src/soc/intel/jasperlake/i…
PS7, Line 306: #define GPIO_RSVD_24 240
: #define GPIO_RSVD_25 241
: #define GPIO_RSVD_26 242
: #define GPIO_RSVD_27 243
: #define GPIO_RSVD_28 244
: #define GPIO_RSVD_29 245
: #define GPIO_RSVD_30 246
: #define GPIO_RSVD_31 247
: #define GPIO_RSVD_32 248
: #define GPIO_RSVD_33 249
: #define GPIO_RSVD_34 250
: #define GPIO_RSVD_35 251
: #define GPIO_RSVD_36 252
> Why did these get dropped?
Since these are the reserved at the end of the community, It won't impact the offset calculation within community. Also pin-ctl driver doesn't define this , so I though it's better to remove it since it won't be that useful.
--
To view, visit https://review.coreboot.org/c/coreboot/+/46842
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id6013914c88c50f4b8c60ca9a9285a8e1b214d11
Gerrit-Change-Number: 46842
Gerrit-PatchSet: 7
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 05 Nov 2020 04:52:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Comment-In-Reply-To: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-MessageType: comment
Maulik V Vaghela has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46842 )
Change subject: soc/intel/jasperlake: Correct GPIO pad sequence for community pad group
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/c/coreboot/+/46842/6/src/soc/intel/jasperlake/g…
File src/soc/intel/jasperlake/gpio.c:
https://review.coreboot.org/c/coreboot/+/46842/6/src/soc/intel/jasperlake/g…
PS6, Line 64: 320
> This is 0 as per the above kernel link.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/46842
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id6013914c88c50f4b8c60ca9a9285a8e1b214d11
Gerrit-Change-Number: 46842
Gerrit-PatchSet: 7
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 05 Nov 2020 04:40:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: comment
Hello build bot (Jenkins), Furquan Shaikh, Subrata Banik, Ronak Kanabar, Aamir Bohra, Patrick Rudolph, Karthik Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46842
to look at the new patch set (#7).
Change subject: soc/intel/jasperlake: Correct GPIO pad sequence for community pad group
......................................................................
soc/intel/jasperlake: Correct GPIO pad sequence for community pad group
In gpio.c file, we have community group array for each comm,
representing gpio groups within that community. Like there might be
group H,D, VGPIO and C within community 1. Community also may have
some reserved gpio and we also define those in an array which indicates
OS can't use those GPIO (through PAD_BASE_NONE)
Now when we define reserved pads in the middle of actual community
pads, it creates an issue while calculating an offset for GPIO
host own pad register. This is because function actually checks
current gpio index (lets say vgpio_39 in our case) and tries to get
group index from an array which we have defined. If we have defined
reserved gpios in between 2 communities, index calculated will also
account for reserved GPIO and register offset calculation will move
to next set of register (offset 0xC instead of offset 0x8).
Because of this coreboot won't configure HOST_OWN_PAD register correctly
and driver will not be able to get non-SMI interrupts for related gpio.
Align pad group as per EDS and pin-ctrl driver.
Reference: DOC#618876 (EDS volume 2)
BUG=None
BRANCH=None
TEST=VGPIO community index is correctly calculated. Drawlat board
boots fine with this change and warm reset also works.
Change-Id: Id6013914c88c50f4b8c60ca9a9285a8e1b214d11
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
---
M src/soc/intel/jasperlake/gpio.c
M src/soc/intel/jasperlake/include/soc/gpio_soc_defs.h
2 files changed, 129 insertions(+), 146 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/46842/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/46842
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id6013914c88c50f4b8c60ca9a9285a8e1b214d11
Gerrit-Change-Number: 46842
Gerrit-PatchSet: 7
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47010 )
Change subject: mb/google/dedede/var/drawcia: Probe and enable DPTF configuration
......................................................................
Patch Set 5:
(4 comments)
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
File src/mainboard/google/dedede/variants/drawcia/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 95: 65
After comparison of existing and these new added entries, observed that only this temperature trip value changed from 51 to 65 deg C. It seems all other new entries added here are the same as previous existing ones. Please, correct me if I am missing any other thing here. Thanks.
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 134: device generic 0 on
: probe TABLETMODE TABLETMODE_DISABLED
: end
Just for better code readability, can we please add this after above "chip drivers/intel/dptf" line 84.
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 139: # Default DPTF Policy for all drawcia boards if not overridden
: register "options.tsr[0].desc" = ""Memory""
: register "options.tsr[1].desc" = ""Ambient""
: register "options.tsr[2].desc" = ""Charger""
: register "options.tsr[3].desc" = ""5V regulator""
Is it possible to define these sensor description entries only once, instead of keeping for both these modes (tablet and non-tablet) because these are common entries which won't change for the system ?
https://review.coreboot.org/c/coreboot/+/47010/5/src/mainboard/google/deded…
PS5, Line 188: device generic 1 on
: probe TABLETMODE TABLETMODE_ENABLED
: end
Similar comment here as above, just for better code readability, can we please add this after above "chip drivers/intel/dptf" line 138.
--
To view, visit https://review.coreboot.org/c/coreboot/+/47010
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf166a2e36fa5775e2dea7c1adcae843cc143d32
Gerrit-Change-Number: 47010
Gerrit-PatchSet: 5
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Evan Green <evgreen(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 05 Nov 2020 04:16:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45208 )
Change subject: console: Allow VPD to disable an otherwise enabled coreboot console
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45208/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/45208/4//COMMIT_MSG@18
PS4, Line 18: entry is added.
> Yes, I meant an ELF section. And you are right, compression probably makes […]
Yes, the VPD solution may be less bad on x86. Kinda depends on caching details I'm not super familiar with. The general problem with the VPD code (other than just being somewhat big in general) is that it always reloads the whole VPD in every stage... if x86 flash controllers will cache accesses to the same region across all stages, maybe that's less of a problem there. But I'm still not feeling great about standardizing that as an option available everywhere when it only works well on some platforms and the reasons are not very obvious.
I don't know what Patrick intended here, I just saw it uploaded and felt like I should -1. ;) The earlier discussions on the same topic looked like the people who want it use x86 platforms to me.
--
To view, visit https://review.coreboot.org/c/coreboot/+/45208
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4f1f5c45e5ea889176d04e0db438ca2aa7c536ee
Gerrit-Change-Number: 45208
Gerrit-PatchSet: 4
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Dossym Nurmukhanov <dossym(a)google.com>
Gerrit-Reviewer: Greg Edelston <gredelston(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Thu, 05 Nov 2020 02:29:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment