From f004a72af019fc838d18c8cf240cd015d32b70d3 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Tue, 22 Jun 2021 19:15:07 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55774 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel Reviewed-by: Subrata Banik --- src/soc/intel/common/block/cse/cse_eop.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/common') diff --git a/src/soc/intel/common/block/cse/cse_eop.c b/src/soc/intel/common/block/cse/cse_eop.c index 330aa68260a5..6e5743966c58 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 #include #include +#include #include #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); } /* -- cgit v1.2.3