|
@@ -162,7 +162,10 @@ static const cxl_p2n_reg_t CXL_PSL_WED_An = {0x0A0};
|
|
#define CXL_PSL_SPAP_V 0x0000000000000001ULL
|
|
#define CXL_PSL_SPAP_V 0x0000000000000001ULL
|
|
|
|
|
|
/****** CXL_PSL_Control ****************************************************/
|
|
/****** CXL_PSL_Control ****************************************************/
|
|
-#define CXL_PSL_Control_tb 0x0000000000000001ULL
|
|
|
|
|
|
+#define CXL_PSL_Control_tb (0x1ull << (63-63))
|
|
|
|
+#define CXL_PSL_Control_Fr (0x1ull << (63-31))
|
|
|
|
+#define CXL_PSL_Control_Fs_MASK (0x3ull << (63-29))
|
|
|
|
+#define CXL_PSL_Control_Fs_Complete (0x3ull << (63-29))
|
|
|
|
|
|
/****** CXL_PSL_DLCNTL *****************************************************/
|
|
/****** CXL_PSL_DLCNTL *****************************************************/
|
|
#define CXL_PSL_DLCNTL_D (0x1ull << (63-28))
|
|
#define CXL_PSL_DLCNTL_D (0x1ull << (63-28))
|
|
@@ -854,6 +857,7 @@ int cxl_register_one_irq(struct cxl *adapter, irq_handler_t handler,
|
|
int cxl_check_error(struct cxl_afu *afu);
|
|
int cxl_check_error(struct cxl_afu *afu);
|
|
int cxl_afu_slbia(struct cxl_afu *afu);
|
|
int cxl_afu_slbia(struct cxl_afu *afu);
|
|
int cxl_tlb_slb_invalidate(struct cxl *adapter);
|
|
int cxl_tlb_slb_invalidate(struct cxl *adapter);
|
|
|
|
+int cxl_data_cache_flush(struct cxl *adapter);
|
|
int cxl_afu_disable(struct cxl_afu *afu);
|
|
int cxl_afu_disable(struct cxl_afu *afu);
|
|
int cxl_psl_purge(struct cxl_afu *afu);
|
|
int cxl_psl_purge(struct cxl_afu *afu);
|
|
|
|
|