cedarhouse1@comcast.net has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Edit - improve clarity ......................................................................
cpu/x86/smm: Edit - improve clarity
Removed blank line to maintain the relation between the previous comment and the remainder of the block.
Signed-off-by: Eugene D. Myers edmyers@tycho.nsa.gov Change-Id: Ib9754c6723ecd5e4895898490fc7228e1c3839d0 --- M src/cpu/x86/smm/smm_module_loader.c 1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/38821/1
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c index 81020a4..66a40c4 100644 --- a/src/cpu/x86/smm/smm_module_loader.c +++ b/src/cpu/x86/smm/smm_module_loader.c @@ -396,7 +396,6 @@ /* Does the required amount of memory exceed the SMRAM region size? */ total_size = total_stack_size + handler_size; total_size += fxsave_size + SMM_DEFAULT_SIZE; - // account for the bios resource list if (CONFIG(STM)) total_size += CONFIG_BIOS_RESOURCE_LIST_SIZE;
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Edit - improve clarity ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG@7 PS1, Line 7: cpu/x86/smm: Edit - improve clarity This is an unusual description. Why not:
cpu/x86/smm: Remove blank line in code
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG@9 PS1, Line 9: Removed Remove
cedarhouse1@comcast.net has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Edit - improve clarity ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG@7 PS1, Line 7: cpu/x86/smm: Edit - improve clarity
This is an unusual description. Why not: […]
Done
https://review.coreboot.org/c/coreboot/+/38821/1//COMMIT_MSG@9 PS1, Line 9: Removed
Remove
Done
Hello build bot (Jenkins), Nico Huber,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38821
to look at the new patch set (#2).
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
cpu/x86/smm: Remove blank line in code
Remove blank line to maintain the relation between the previous comment and the remainder of the block.
Signed-off-by: Eugene D. Myers edmyers@tycho.nsa.gov Change-Id: Ib9754c6723ecd5e4895898490fc7228e1c3839d0 --- M src/cpu/x86/smm/smm_module_loader.c 1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/38821/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list If you ask me, the blank line actually helps differentiating the blocks of code. IMHO, the lone C++ style comment that starts in lowercase is more of an eyesore. Oh, and 'bios' in lowercase.
cedarhouse1@comcast.net has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list
If you ask me, the blank line actually helps differentiating the blocks of code. […]
The eyesore I can fix.
The reviewer conflict I'll leave to the process.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list
The eyesore I can fix. […]
Ack. Not worth bikeshedding about such things, the compiler doesn't squish comments nor whitespace into machine code anyway.
cedarhouse1@comcast.net has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list
Ack. […]
Done
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list
Done
My original thought was to remove both blank lines and possibly the intermediate comment, becasue the comment in line 396 refers to line 403. Doesn't matter much, the new code will likely be removed here midterm. No need to bikeshed cosmetics in this case.
cedarhouse1@comcast.net has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... File src/cpu/x86/smm/smm_module_loader.c:
https://review.coreboot.org/c/coreboot/+/38821/2/src/cpu/x86/smm/smm_module_... PS2, Line 399: // account for the bios resource list
My original thought was to remove both blank lines and possibly the […]
Ack
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
cpu/x86/smm: Remove blank line in code
Remove blank line to maintain the relation between the previous comment and the remainder of the block.
Signed-off-by: Eugene D. Myers edmyers@tycho.nsa.gov Change-Id: Ib9754c6723ecd5e4895898490fc7228e1c3839d0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38821 Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/cpu/x86/smm/smm_module_loader.c 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c index 81020a4..66a40c4 100644 --- a/src/cpu/x86/smm/smm_module_loader.c +++ b/src/cpu/x86/smm/smm_module_loader.c @@ -396,7 +396,6 @@ /* Does the required amount of memory exceed the SMRAM region size? */ total_size = total_stack_size + handler_size; total_size += fxsave_size + SMM_DEFAULT_SIZE; - // account for the bios resource list if (CONFIG(STM)) total_size += CONFIG_BIOS_RESOURCE_LIST_SIZE;
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38821 )
Change subject: cpu/x86/smm: Remove blank line in code ......................................................................
Patch Set 3:
Automatic boot test returned (PASS/FAIL/TOTAL): 3/0/3 Emulation targets: EMULATION_QEMU_X86_Q35 using payload TianoCore : SUCCESS : https://lava.9esec.io/r/640 EMULATION_QEMU_X86_Q35 using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/639 EMULATION_QEMU_X86_I440FX using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/638
Please note: This test is under development and might not be accurate at all!