soc/amd/picasso: Move APM_CNT_SMMINFO callsite
commit2fec394913d2ef721623d796ac1db82d19ab5195
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 1 Jul 2020 12:59:20 +0000 (1 15:59 +0300)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 10 Feb 2021 01:31:09 +0000 (10 01:31 +0000)
tree560aef1e9d50d54fd9a4c60df6479313e83ae149
parent708e4cb596cea7603c1ccb25d13b1fa05c900caf
soc/amd/picasso: Move APM_CNT_SMMINFO callsite

Triggering SMI is not part of the semantics of global_smi_enable(), so
move it to the post_mp_init handler. Even without the !acpi_is_wakeup_s3
check we don't get PSP warnings/errors during resume, so we can drop the
workaround introduced in commit 5dbe45e0f5608794e03634aed28530ddb2ab9ac5
in this patch.

Change-Id: Id0e7723c2bb9811f80fe36c38199a01445dc1d7d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42987
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/picasso/cpu.c
src/soc/amd/picasso/smi.c