diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-06-22 19:15:07 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-02 07:50:53 +0000 |
commit | f004a72af019fc838d18c8cf240cd015d32b70d3 (patch) | |
tree | 146bbcd2ccb52d2c6d2fed9a2fdc0434a9cd13bc | |
parent | fa4581fdf32d5e121c7a4a91be69b439df4ded9f (diff) |
soc/intel/common/block/cse: Add ME EOP timestamps
BUG=b:191362590
TEST=on brya, cbmem -t:
942:before sending EOP to ME 2,628,446 (5,879)
943:after sending EOP to ME 2,631,177 (2,730)
Change-Id: I0376610c5cbae7df1bf1a927b3bc99b1022de4cb
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
-rw-r--r-- | src/soc/intel/common/block/cse/cse_eop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/cse_eop.c b/src/soc/intel/common/block/cse/cse_eop.c index 330aa68260..6e5743966c 100644 --- a/src/soc/intel/common/block/cse/cse_eop.c +++ b/src/soc/intel/common/block/cse/cse_eop.c @@ -6,6 +6,7 @@ #include <intelblocks/pmc_ipc.h> #include <security/vboot/vboot_common.h> #include <soc/intel/common/reset.h> +#include <timestamp.h> #include <types.h> #define PMC_IPC_MEI_DISABLE_ID 0xa9 @@ -179,7 +180,9 @@ static void handle_cse_eop_result(enum cse_eop_result result) static void set_cse_end_of_post(void *unused) { + timestamp_add_now(TS_ME_BEFORE_END_OF_POST); handle_cse_eop_result(cse_send_eop()); + timestamp_add_now(TS_ME_AFTER_END_OF_POST); } /* |