Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35904 )
Change subject: soc/nvidia/tegra124: Fix null pointer and logic bug
......................................................................
Patch Set 2: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/35904/1/src/soc/nvidia/tegra124/spi...
File src/soc/nvidia/tegra124/spi.c:
https://review.coreboot.org/c/coreboot/+/35904/1/src/soc/nvidia/tegra124/spi...
PS1, Line 564: while ((read32(&spi->dma_out->regs->dma_byte_sta) < todo) ||
This is the fix for the logic bug, which was copied from the previous commit.
The call to spi_delay() below makes this a bit different logic bug. But I guess this is the best we can do without someone actually triggering the bug first to document the symptoms.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/35904
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a7403417ee83b703cf4ca495129f73c66691ea9
Gerrit-Change-Number: 35904
Gerrit-PatchSet: 2
Gerrit-Owner: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 10 Oct 2019 04:24:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Comment-In-Reply-To: Jacob Garber
jgarber1@ualberta.ca
Gerrit-MessageType: comment