Attention is currently required from: Stefan Reinauer.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75458?usp=email )
Change subject: MAINTAINERS: Add Stefan Reinauer for docker container
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/flashrom/+/75458?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I771c6f67e0ed9beee50e8b142c34d24e96614c32
Gerrit-Change-Number: 75458
Gerrit-PatchSet: 2
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Sat, 27 May 2023 09:53:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Anastasia Klimchuk.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75458?usp=email )
Change subject: MAINTAINERS: Add Stefan Reinauer for docker container
......................................................................
Patch Set 1:
(1 comment)
File MAINTAINERS:
https://review.coreboot.org/c/flashrom/+/75458/comment/3481139c_212880cb :
PS1, Line 198: DOCUMENTATION
> The title says "documentation docker", but file path is for all dockers. […]
Done
--
To view, visit https://review.coreboot.org/c/flashrom/+/75458?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I771c6f67e0ed9beee50e8b142c34d24e96614c32
Gerrit-Change-Number: 75458
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Comment-Date: Fri, 26 May 2023 22:00:23 +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: Anastasia Klimchuk, Stefan Reinauer.
Hello Anastasia Klimchuk, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/75458?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by Anastasia Klimchuk, Verified+1 by build bot (Jenkins)
Change subject: MAINTAINERS: Add Stefan Reinauer for docker container
......................................................................
MAINTAINERS: Add Stefan Reinauer for docker container
Change-Id: I771c6f67e0ed9beee50e8b142c34d24e96614c32
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
M MAINTAINERS
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/58/75458/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/75458?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I771c6f67e0ed9beee50e8b142c34d24e96614c32
Gerrit-Change-Number: 75458
Gerrit-PatchSet: 2
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-MessageType: newpatchset
Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/62879?usp=email )
Change subject: git-hooks: echo back the commit message on failure
......................................................................
git-hooks: echo back the commit message on failure
When using nano as a git commit message editor the contents of the
commit message could get lost if the git commit hook fails due to
the lack of Signed-off-by line. To prevent this unpleasant effect
for new contributors the commit hook was modified to echo back the
commit message to allow the user to copy-paste it to the message
of the next commit attempt.
Change-Id: I13289f81b3fa92640aecc43eae28c1643cd7c247
Signed-off-by: Miklós Márton <martonmiklosqdev(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62879
Reviewed-by: Peter Marheine <pmarheine(a)chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm(a)chromium.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M util/git-hooks/commit-msg
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Peter Marheine: Looks good to me, approved
Anastasia Klimchuk: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/util/git-hooks/commit-msg b/util/git-hooks/commit-msg
index d43eb45..e2f5de5 100755
--- a/util/git-hooks/commit-msg
+++ b/util/git-hooks/commit-msg
@@ -196,6 +196,7 @@
test_signoff() {
if ! grep -qi '^[[:space:]]*\+Signed-off-by:' "$MSG"; then
+ cat "$MSG"
printf "\nError: No Signed-off-by line in the commit message.\n"
printf "See: ${DEV_GUIDELINES_URL}\n"
exit 1
@@ -206,6 +207,7 @@
test_duplicate_signoffs_acks() {
test "" = "$(grep -i '^(Signed-off-by|Acked-by): ' "$MSG" |
sort | uniq -c | sed -e '/^[[:space:]]*1[[:space:]]/d')" || {
+ cat "$MSG"
echo "Duplicate Signed-off-by or Acked-by lines." >&2
exit 1
}
--
To view, visit https://review.coreboot.org/c/flashrom/+/62879?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I13289f81b3fa92640aecc43eae28c1643cd7c247
Gerrit-Change-Number: 62879
Gerrit-PatchSet: 4
Gerrit-Owner: Miklós Márton <martonmiklosqdev(a)gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Peter Marheine <pmarheine(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Stefan Reinauer.
Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75458?usp=email )
Change subject: MAINTAINERS: Add Stefan Reinauer for docker container
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
Patchset:
PS1:
Thank you so much for the patch!
File MAINTAINERS:
https://review.coreboot.org/c/flashrom/+/75458/comment/5f4d0478_62eb4762 :
PS1, Line 198: DOCUMENTATION
The title says "documentation docker", but file path is for all dockers.
You need to either:
- remove the word "documentation", title this "FLASHROM DOCKER" and then you will be maintaining all the dockers. that would be fantastic! ;)
- change the file path to point to documentation docker only
I have fingers crossed for the former :)
--
To view, visit https://review.coreboot.org/c/flashrom/+/75458?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I771c6f67e0ed9beee50e8b142c34d24e96614c32
Gerrit-Change-Number: 75458
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Fri, 26 May 2023 04:57:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Alexander Goncharov, Anastasia Klimchuk, Edward O'Callaghan, Thomas Heijligen.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75439?usp=email )
Change subject: doc/classic_cli_manpage: Mark progress feature as experimental
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/flashrom/+/75439?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9cacc60cb357c29f6625126d22a67a56de560887
Gerrit-Change-Number: 75439
Gerrit-PatchSet: 1
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
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: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Fri, 26 May 2023 03:57:19 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Alexander Goncharov, Anastasia Klimchuk, Angel Pons, Thomas Heijligen.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/75437?usp=email )
Change subject: doc/contact: Fix the nesting level of FAQ item
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/flashrom/+/75437?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Idff89710c065cbe4fe3f2946d92ca7446f3e3663
Gerrit-Change-Number: 75437
Gerrit-PatchSet: 1
Gerrit-Owner: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Reviewer: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
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: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm(a)chromium.org>
Gerrit-Attention: Alexander Goncharov <chat(a)joursoir.net>
Gerrit-Comment-Date: Fri, 26 May 2023 03:56:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/75476?usp=email )
Change subject: linux_mtd.c: Optimise linux_mtd_wp_read_cfg() ioctl() calls
......................................................................
linux_mtd.c: Optimise linux_mtd_wp_read_cfg() ioctl() calls
The linux_mtd_wp_read_cfg() function makes excessive
ioctl() calls as it sweeps on a per-eraseblock basis.
Instead employ a bisection algorithm to optimise the
number of user to kernel interactions to a minimum.
Change-Id: I7ae3816598b74f0db7ac7d564391e69cfb8b1f79
Signed-off-by: Edward O'Callaghan <quasisec(a)google.com>
Co-Authored-by: Damien Zammit <damien(a)zamaudio.com>
---
M linux_mtd.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/76/75476/1
diff --git a/linux_mtd.c b/linux_mtd.c
index 495db9a..bc07dfa 100644
--- a/linux_mtd.c
+++ b/linux_mtd.c
@@ -323,7 +323,8 @@
cfg->range.len = 0;
/* Check protection status of each block */
- for (size_t u = 0; u < data->total_size; u += data->erasesize) {
+ uint32_t erase_boundary = total_size/2;
+ for (size_t u = 0; u < data->total_size; u += erase_boundary) {
struct erase_info_user erase_info = {
.start = u,
.length = data->erasesize,
@@ -339,13 +340,15 @@
} else if (ret == 1) {
/* Block is protected. */
- if (end_found) {
+ if (end_found && (erase_boundary < data->erasesize)) {
/*
* We already found the end of another
* protection range, so this is the start of a
* new one.
*/
return FLASHROM_WP_ERR_OTHER;
+ } else { /* hole to bisect */
+ erase_boundary = max(erase_boundary/2, data->erasesize);
}
if (!start_found) {
cfg->range.start = erase_info.start;
--
To view, visit https://review.coreboot.org/c/flashrom/+/75476?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7ae3816598b74f0db7ac7d564391e69cfb8b1f79
Gerrit-Change-Number: 75476
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec(a)chromium.org>
Gerrit-MessageType: newchange