Attention is currently required from: Anton Samsonov, Anton Samsonov, Thomas Heijligen.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/79156?usp=email )
Change subject: Abandon Change-Id: I5d4e4f1fe72b22c9f31073b02c9b8f40cf2a45ad
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
You can abandon this change yourself by clicking the "Abandon" button on the top right corner.
--
To view, visit https://review.coreboot.org/c/flashrom/+/79156?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I5d4e4f1fe72b22c9f31073b02c9b8f40cf2a45ad
Gerrit-Change-Number: 79156
Gerrit-PatchSet: 3
Gerrit-Owner: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-Attention: Anton Samsonov <contact-launchpad(a)zxlab.ru>
Gerrit-Comment-Date: Tue, 21 Nov 2023 11:23:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Anton Samsonov has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/79156?usp=email )
Change subject: Makefile: Fix version string for non-Git builds
......................................................................
Makefile: Fix version string for non-Git builds
Dummy change to make Jenkins verify the build again after adding Signed-off-by.
Change-Id: I5d4e4f1fe72b22c9f31073b02c9b8f40cf2a45ad
Signed-off-by: Anton Samsonov <devel(a)zxlab.ru>
---
M Makefile
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/56/79156/1
diff --git a/Makefile b/Makefile
index 08ace29..5d2b540 100644
--- a/Makefile
+++ b/Makefile
@@ -392,6 +392,7 @@
VERSION ?= $(shell cat ./VERSION)
VERSION_GIT ?= $(shell git describe 2>/dev/null)
+# Dummy change to make Jenkins verify the build again after adding Signed-off-by.
ifneq ($(VERSION_GIT),)
VERSION := "$(VERSION) (git:$(VERSION_GIT))"
else
--
To view, visit https://review.coreboot.org/c/flashrom/+/79156?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I5d4e4f1fe72b22c9f31073b02c9b8f40cf2a45ad
Gerrit-Change-Number: 79156
Gerrit-PatchSet: 1
Gerrit-Owner: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-MessageType: newchange
Attention is currently required from: Anton Samsonov, Thomas Heijligen.
Hello Thomas Heijligen, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/79152?usp=email
to look at the new patch set (#2).
Change subject: Makefile: Fix version string for non-Git builds
......................................................................
Makefile: Fix version string for non-Git builds
Change-Id: I8694e618878823a9e96b1f2bcfa63f6c71d3c2ed
Signed-off-by: Anton Samsonov <devel(a)zxlab.ru>
---
M Makefile
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/52/79152/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/79152?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I8694e618878823a9e96b1f2bcfa63f6c71d3c2ed
Gerrit-Change-Number: 79152
Gerrit-PatchSet: 2
Gerrit-Owner: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-Reviewer: Thomas Heijligen <src(a)posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Thomas Heijligen <src(a)posteo.de>
Gerrit-Attention: Anton Samsonov <devel(a)zxlab.ru>
Gerrit-MessageType: newpatchset
Attention is currently required from: Aarya, Alexander Goncharov, Anastasia Klimchuk.
Peter Marheine has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/78985?usp=email )
Change subject: tests: Add test cases for erasing/writing unaligned layout regions
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/78985?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I726a30b0e47a966e8093ddc19abf4a65fb1d70ce
Gerrit-Change-Number: 78985
Gerrit-PatchSet: 4
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Sun, 19 Nov 2023 23:13:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Aarya, Alexander Goncharov.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/78984?usp=email )
The change is no longer submittable: All-Comments-Resolved is unsatisfied now.
Change subject: erasure_layout: Fix unaligned region end offset by 1
......................................................................
Patch Set 2:
(2 comments)
Patchset:
PS1:
> The open question here is whether anything is needed for start region branch. […]
I did more investigation to understand why no fix is needed for the case when start of the region is extended, and yes it seems no fix is needed for start region.
The reason is that the functions used to handle the extension of the region boundaries, ours `read_flash` and not ours `memcpy`, they both are "start-inclusive".
Now, for both start and end boundaries extension, diff is calculated correctly. But then, there is the code which handles the extended area, this area is outside of the initial layout. When start boundary is extended, the code works because `read_flash` and `memcpy` start from the first byte of extended area and go through its length. However, when end boundary is extended, we don't need to start from the last byte of the initial region, we need to start from the first byte after the initial region. Therefore +1 is needed for the end boundary processing.
Patchset:
PS2:
After some investigation I came to conclusion that no fix is needed for start boundary extension (see my other comment). So I won't be adding more to this patch, unless there are other comments of course.
Joursoir, is it possible for you to test the patch on the images that you initially found the bug in ticket 494? It would be great, since you initially reported the bug, so that you can confirm it is fixed.
--
To view, visit https://review.coreboot.org/c/flashrom/+/78984?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I7f78a0090065cd2a952cba1a5d28179483ba4c55
Gerrit-Change-Number: 78984
Gerrit-PatchSet: 2
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Sat, 18 Nov 2023 10:36:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Aarya, Alexander Goncharov, Peter Marheine.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/78985?usp=email )
Change subject: tests: Add test cases for erasing/writing unaligned layout regions
......................................................................
Patch Set 4:
(2 comments)
Patchset:
PS4:
I have modified test case #16 to heavily test extending the start of the unaligned region. Other test cases in this patch cover extending the end of unaligned region, and #19 has logical layout which is smaller than the total size of chip.
File tests/erase_func_algo.c:
https://review.coreboot.org/c/flashrom/+/78985/comment/abcb5b7a_f626eb52 :
PS2, Line 30: /* How many small chip test cases. */
> Drop the comment too. […]
Oh I completely missed! Done.
--
To view, visit https://review.coreboot.org/c/flashrom/+/78985?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I726a30b0e47a966e8093ddc19abf4a65fb1d70ce
Gerrit-Change-Number: 78985
Gerrit-PatchSet: 4
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Aarya <aarya.chaumal(a)gmail.com>
Gerrit-Attention: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Sat, 18 Nov 2023 09:58:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-MessageType: comment