diff options
Diffstat (limited to 'drivers/misc/cxl/main.c')
| -rw-r--r-- | drivers/misc/cxl/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/cxl/main.c b/drivers/misc/cxl/main.c index 4cde9b661642..8ccddceead66 100644 --- a/drivers/misc/cxl/main.c +++ b/drivers/misc/cxl/main.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #include <misc/cxl.h> | 23 | #include <misc/cxl.h> |
| 24 | 24 | ||
| 25 | #include "cxl.h" | 25 | #include "cxl.h" |
| 26 | #include "trace.h" | ||
| 26 | 27 | ||
| 27 | static DEFINE_SPINLOCK(adapter_idr_lock); | 28 | static DEFINE_SPINLOCK(adapter_idr_lock); |
| 28 | static DEFINE_IDR(cxl_adapter_idr); | 29 | static DEFINE_IDR(cxl_adapter_idr); |
| @@ -48,6 +49,7 @@ static inline void _cxl_slbia(struct cxl_context *ctx, struct mm_struct *mm) | |||
| 48 | ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); | 49 | ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); |
| 49 | 50 | ||
| 50 | spin_lock_irqsave(&ctx->sste_lock, flags); | 51 | spin_lock_irqsave(&ctx->sste_lock, flags); |
| 52 | trace_cxl_slbia(ctx); | ||
| 51 | memset(ctx->sstp, 0, ctx->sst_size); | 53 | memset(ctx->sstp, 0, ctx->sst_size); |
| 52 | spin_unlock_irqrestore(&ctx->sste_lock, flags); | 54 | spin_unlock_irqrestore(&ctx->sste_lock, flags); |
| 53 | mb(); | 55 | mb(); |
