Attention is currently required from: Aarya, Alexander Goncharov, Nikolai Artemiev, Peter Marheine.
2 comments:
Patchset:
I added tests to run write operation over the chip with protected region(s).
Few things to note:
1) FLASHROM_FLAG_SKIP_UNREADABLE_REGIONS needed to be set for write operation, otherwise write failed. I am glad to discover that flags work, but now I want one more test, or actually two tests which set write and read flags false and make sure write fails
Not necessarily in this patch
2) Now we need one more buf, I called it `written_protected_buf`, the reason is, in case of protected regions the content which is asked to be written is not what the end state of the chip is: because protected regions are not touched.
File erasure_layout.c:
Patch Set #13, Line 368: for (unsigned int addr = region_start; addr <= region_end; addr += len) {
I made CB:82723 to illustrate, the issue repro on head […]
I think this specific issue is outside of scope of the patch: mainly because it is not relevant to protected regions.
Also, it seems to be an optimisation issue: the memory state is correct, and eraseblocks are good but not perfect.
Since I have a repro case on the test case without protected regions in CB:82723 , I think we can move the discussion there. This patch should not be blocked by it.
Do you agree?
To view, visit change 82393. To unsubscribe, or for help writing mail filters, visit settings.