Attention is currently required from: Tim Wawrzynczak, Shon Wang.
Robert Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/61847 )
Change subject: mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
......................................................................
Patch Set 21:
(1 comment)
Patchset:
PS18:
> like the RP RTD3, do you want to just move it now?
Done.
RP devices moving to overridetree.cb
--
To view, visit https://review.coreboot.org/c/coreboot/+/61847
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Gerrit-Change-Number: 61847
Gerrit-PatchSet: 21
Gerrit-Owner: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kevin Chiu <kevin.chiu.17802(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Wisley Chen <wisley.chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 11 Mar 2022 01:29:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Shon Wang.
Hello build bot (Jenkins), Tim Wawrzynczak, Shon Wang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/61847
to look at the new patch set (#21).
Change subject: mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
......................................................................
mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
1.Add FM350GL 5G WWAN support using drivers/wwan/fm and addtional PM
features from RTD3.
2.PCI and RTD3 devices are moved to overridetree.cb where WWAN is
present.
BUG=b:220084872
BRANCH=firmware-brya-14505.B
TEST=emerge-brya coreboot
Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Signed-off-by: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/brya/Kconfig.name
M src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
M src/mainboard/google/brya/variants/vell/gpio.c
M src/mainboard/google/brya/variants/vell/include/variant/gpio.h
M src/mainboard/google/brya/variants/vell/overridetree.cb
5 files changed, 51 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/61847/21
--
To view, visit https://review.coreboot.org/c/coreboot/+/61847
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Gerrit-Change-Number: 61847
Gerrit-PatchSet: 21
Gerrit-Owner: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kevin Chiu <kevin.chiu.17802(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Wisley Chen <wisley.chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Jakub Czapiga, Tim Wawrzynczak, Paul Menzel, Alex Levin, Jan Dabros.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62474 )
Change subject: util/cbmem: Add FlameGraph-compatible timestamps output
......................................................................
Patch Set 7:
(6 comments)
File src/commonlib/include/commonlib/timestamp_serialized.h:
https://review.coreboot.org/c/coreboot/+/62474/comment/662e0786_561eaa8a
PS7, Line 454: uint32_t id_end;
I'd maybe put this in the other table too, as an optional "corresponding end" id for each start id.
File util/cbmem/cbmem.c:
https://review.coreboot.org/c/coreboot/+/62474/comment/e19fcd0d_101433d2
PS7, Line 665: process_subrange
Function name should probably still have something to do with timestamps, e.g. timestamp_stack_subrange()?
https://review.coreboot.org/c/coreboot/+/62474/comment/dfa20562_586a669b
PS7, Line 668: for (uint32_t i = start; i < end;) {
Well... this is... uhh... super complicated.
Does it really need to be so big? Do we need the recursion? And all this subtracting stamp from the previous stamp but only if it exists stuff... can't you just keep track of prev_stamp like the existing code? In fact, I was hoping it would be possible to just tie this into the existing code so it doesn't need to duplicate as much?
Let me just spitball together some code below and see how this could work...
https://review.coreboot.org/c/coreboot/+/62474/comment/9166c1f0_a3c0ad3e
PS7, Line 715: /* Skip first timestamp, as it only marks the start of coreboot execution */
Don't rely on that, we've recently added the option of inserting "negative" timestamps in front of the first one.
https://review.coreboot.org/c/coreboot/+/62474/comment/ca576908_ae5a5636
PS7, Line 782: } else {
So I'm basically thinking, rather than using recursion, just maintain an explicit stack of ranges here, like this:
struct {
char *name;
uint32_t end;
} range_stack[20];
range_stack[0].end = sorted_tst_p->num_entries;
int stacklvl = 0;
https://review.coreboot.org/c/coreboot/+/62474/comment/308a6aeb_060ea198
PS7, Line 796: timestamp_print_entry(tse->entry_id, stamp, prev_stamp);
...and then insert the stacked printing here with the others:
else if (output_type == TIMESTAMPS_PRINT_STACKED) {
bool end_of_range = false
if (stacklvl > 0 && range_stack[stacklvl].end == i) {
end_of_range = true;
stacklvl--;
}
int match = find_matching_end(sorted_tst_p, i, range_stack[stacklvl].end);
if (match) {
uint64_t match_stamp = sorted_tst_p->entries[match].entry_stamp;
stacklvl++;
assert(stacklvl < ARRAY_SIZE(range_stack));
range_stack[stacklvl].name = get_timestamp_name(tse->entry_id);
range_stack[stacklvl].end = match;
print_with_path(range_stack, stacklvl, match_stamp - stamp);
} else if (!end_of_range) {
print_with_path(range_stack, stacklvl, stamp - prev_stamp);
}
}
print_with_path() can just print the names from the stack on the fly, I think that should be much easier than pre-building these path strings in dynamic allocations. What do you think?
--
To view, visit https://review.coreboot.org/c/coreboot/+/62474
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3a4e20a267e9e0fbc6b3a4d6a2409b32ce8fca33
Gerrit-Change-Number: 62474
Gerrit-PatchSet: 7
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Alex Levin <levinale(a)google.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Alex Levin <levinale(a)google.com>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Comment-Date: Fri, 11 Mar 2022 01:25:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Shon Wang.
Hello build bot (Jenkins), Tim Wawrzynczak, Shon Wang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/61847
to look at the new patch set (#20).
Change subject: mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
......................................................................
mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
Add FM350GL 5G WWAN support using drivers/wwan/fm and addtional PM
features from RTD3.
BUG=b:220084872
BRANCH=firmware-brya-14505.B
TEST=emerge-brya coreboot
Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Signed-off-by: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/brya/Kconfig.name
M src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
M src/mainboard/google/brya/variants/vell/gpio.c
M src/mainboard/google/brya/variants/vell/include/variant/gpio.h
M src/mainboard/google/brya/variants/vell/overridetree.cb
5 files changed, 51 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/61847/20
--
To view, visit https://review.coreboot.org/c/coreboot/+/61847
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Gerrit-Change-Number: 61847
Gerrit-PatchSet: 20
Gerrit-Owner: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kevin Chiu <kevin.chiu.17802(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Wisley Chen <wisley.chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Robert Chen, Shon Wang.
Hello build bot (Jenkins), Tim Wawrzynczak, Shon Wang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/61847
to look at the new patch set (#19).
Change subject: mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
......................................................................
mb/google/brya/var/vell: Add 5G WWAN ACPI support for vell
Add FM350GL 5G WWAN support using drivers/wwan/fm and addtional PM
features from RTD3.
BUG=b:220084872
BRANCH=firmware-brya-14505.B
TEST=emerge-brya coreboot
Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Signed-off-by: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/brya/Kconfig.name
M src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
M src/mainboard/google/brya/variants/vell/gpio.c
M src/mainboard/google/brya/variants/vell/include/variant/gpio.h
M src/mainboard/google/brya/variants/vell/overridetree.cb
5 files changed, 51 insertions(+), 23 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/61847/19
--
To view, visit https://review.coreboot.org/c/coreboot/+/61847
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d3f965b8f6b6753446f55a8bd47d3b0c1ae7be
Gerrit-Change-Number: 61847
Gerrit-PatchSet: 19
Gerrit-Owner: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kevin Chiu <kevin.chiu.17802(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Wisley Chen <wisley.chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Robert Chen <robert.chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Shon Wang <shon.wang(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Subrata Banik, Ravishankar Sarawadi, John Zhao, Tim Wawrzynczak, Patrick Rudolph.
Wonkyu Kim has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62721 )
Change subject: soc/intel/common: Add IOE P2SB for TCSS
......................................................................
Patch Set 2: -Code-Review
(1 comment)
File src/soc/intel/common/block/p2sb/ioe_p2sb.c:
https://review.coreboot.org/c/coreboot/+/62721/comment/79eda7ab_2f7c211c
PS2, Line 56: .vendor = PCI_VENDOR_ID_INTEL,
Could you update to PCI_VID_INTEL?
--
To view, visit https://review.coreboot.org/c/coreboot/+/62721
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I01f551b6e1f50ebdc1cef2ceee815a492030db19
Gerrit-Change-Number: 62721
Gerrit-PatchSet: 2
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.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: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Attention: John Zhao <john.zhao(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Fri, 11 Mar 2022 01:12:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Felix Singer, Patrick Rudolph.
Hello Hung-Te Lin, build bot (Jenkins), Julius Werner, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/62278
to look at the new patch set (#10).
Change subject: i2c: Add configurable I2C transfer timeout
......................................................................
i2c: Add configurable I2C transfer timeout
This patch introduces CONFIG_I2C_TRANSFER_TIMEOUT_US,
which controls how long to wait for an I2C devices to
produce/accept all the data bytes in a single transfer.
(The device can delay transfer by stretching the clock of
the ack bit.)
The default value of this new setting is 500ms. Existing
code had timeouts anywhere from tens of milliseconds to a
full second beween various drivers. Drivers can still have
their own shorter timeouts for setup/communication with the
I2C host controller (as opposed to transactions with I2C
devices on the bus.)
In general, the timeout is not meant to be reached except in
situations where there is already serious problem with the
boot, and serves to make sure that some useful diagnostic
output is produced on the console.
Change-Id: I6423122f32aad1dbcee0bfe240cdaa8cb512791f
Signed-off-by: Jes B. Klinke <jbk(a)chromium.org>
---
M src/device/Kconfig
M src/drivers/i2c/designware/dw_i2c.c
M src/soc/cavium/cn81xx/twsi.c
M src/soc/intel/quark/i2c.c
M src/soc/mediatek/common/i2c.c
M src/soc/qualcomm/common/include/soc/qup_se_handlers_common.h
M src/soc/qualcomm/common/qup_se_handler.c
M src/soc/qualcomm/common/qupv3_i2c.c
M src/soc/qualcomm/common/qupv3_spi.c
M src/soc/qualcomm/ipq40xx/qup.c
M src/soc/qualcomm/ipq806x/qup.c
M src/soc/qualcomm/qcs405/qup.c
M src/soc/rockchip/common/i2c.c
M src/soc/samsung/exynos5250/i2c.c
M src/soc/samsung/exynos5420/i2c.c
15 files changed, 119 insertions(+), 86 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/62278/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/62278
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6423122f32aad1dbcee0bfe240cdaa8cb512791f
Gerrit-Change-Number: 62278
Gerrit-PatchSet: 10
Gerrit-Owner: Jes Klinke <jbk(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Qii Wang <qii.wang(a)mediatek.corp-partner.google.com>
Gerrit-CC: Rex-BC Chen <rex-bc.chen(a)mediatek.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Bora Guvendik, Selma Bensaid, Tim Wawrzynczak.
Cliff Huang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62330 )
Change subject: mb/google/brya: Add companion device name to WWAN PCIe generic device
......................................................................
Patch Set 10:
(1 comment)
File src/mainboard/google/brya/variants/brya0/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/62330/comment/6ba8f106_bbcca3e8
PS10, Line 213: rp6_wwan
> hum... […]
do you mean that PCI generic is no need at all in the device tree since wwan provides _DSD? we can remove pcie generic and add 'add_acpi_dma_property' to wwan devie?
--
To view, visit https://review.coreboot.org/c/coreboot/+/62330
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia343c7545cf30bdbcd1de19e5eb84049dbb2977f
Gerrit-Change-Number: 62330
Gerrit-PatchSet: 10
Gerrit-Owner: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Selma Bensaid <selma.bensaid(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Cliff Huang <cliff.huang(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Selma Bensaid <selma.bensaid(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Fri, 11 Mar 2022 00:25:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Cliff Huang <cliff.huang(a)intel.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment