diff --git a/samples/cxl_host_exerciser/cxl_he_cache_cmd.h b/samples/cxl_host_exerciser/cxl_he_cache_cmd.h index 7deacd09c06d..9e494f1ea199 100644 --- a/samples/cxl_host_exerciser/cxl_he_cache_cmd.h +++ b/samples/cxl_host_exerciser/cxl_he_cache_cmd.h @@ -417,7 +417,7 @@ class he_cache_cmd : public he_cmd { // continuous mode if (he_continuousmode_) { - he_rd_cfg_.continuous_mode_enable = 0x1; + he_wr_cfg_.continuous_mode_enable = 0x1; host_exe_->write64(HE_WR_CONFIG, he_wr_cfg_.value); host_exe_->write64(HE_WR_NUM_LINES, he_cls_count_); host_exe_->write64(HE_WR_ADDR_TABLE_CTRL, wr_table_ctl_.value); @@ -652,7 +652,7 @@ class he_cache_cmd : public he_cmd { // continuous mode if (he_continuousmode_) { - he_rd_cfg_.continuous_mode_enable = 0x1; + he_wr_cfg_.continuous_mode_enable = 0x1; host_exe_->write64(HE_WR_CONFIG, he_wr_cfg_.value); host_exe_->write64(HE_WR_NUM_LINES, he_cls_count_); host_exe_->write64(HE_WR_ADDR_TABLE_CTRL, wr_table_ctl_.value); @@ -893,7 +893,7 @@ class he_cache_cmd : public he_cmd { // continuous mode if (he_continuousmode_) { - he_rd_cfg_.continuous_mode_enable = 0x1; + he_wr_cfg_.continuous_mode_enable = 0x1; host_exe_->write64(HE_WR_CONFIG, he_wr_cfg_.value); host_exe_->write64(HE_WR_NUM_LINES, he_cls_count_); host_exe_->write64(HE_WR_ADDR_TABLE_CTRL, wr_table_ctl_.value); @@ -1120,7 +1120,7 @@ class he_cache_cmd : public he_cmd { // continuous mode if (he_continuousmode_) { - he_rd_cfg_.continuous_mode_enable = 0x1; + he_wr_cfg_.continuous_mode_enable = 0x1; host_exe_->write64(HE_WR_CONFIG, he_wr_cfg_.value); host_exe_->write64(HE_WR_NUM_LINES, he_cls_count_); host_exe_->write64(HE_WR_ADDR_TABLE_CTRL, wr_table_ctl_.value); @@ -1170,6 +1170,7 @@ class he_cache_cmd : public he_cmd { // Force stop test he_ctl_.value = 0; he_ctl_.ForcedTestCmpl = 1; + he_ctl_.ResetL = 1; host_exe_->write64(HE_CTL, he_ctl_.value); if (!he_wait_test_completion())