Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36828 )
Change subject: sb/intel: Declare acpi_disable_sci_on_exit()
......................................................................
Patch Set 12: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/36828/12/src/include/cpu/x86/smm.h
File src/include/cpu/x86/smm.h:
https://review.coreboot.org/c/coreboot/+/36828/12/src/include/cpu/x86/smm.h@...
PS12, Line 56: }
!acpi_is_wakeup_s3() && CONFIG(HAVE_SMI_HADLER)
OR flip the operands to take advantage of short-circuit evaluation:
CONFIG(HAVE_SMI_HADLER) && !acpi_is_wakeup_s3()
Since `CONFIG(HAVE_SMI_HADLER)` is a compile-time constant, if it's false, then the `acpi_is_wakeup_s3()` call can be optimized out.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/36828
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9d9b2085c0f06235f1e7ea395c9df826c3988027
Gerrit-Change-Number: 36828
Gerrit-PatchSet: 12
Gerrit-Owner: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: David Guckian
david.guckian@intel.com
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Vanessa Eusebio
vanessa.f.eusebio@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sun, 07 Jun 2020 09:33:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-MessageType: comment