hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/infiniband/hw/hfi1/user_exp_rcv.h
....@@ -57,6 +57,8 @@
5757 };
5858
5959 struct tid_user_buf {
60
+ struct mmu_interval_notifier notifier;
61
+ struct mutex cover_mutex;
6062 unsigned long vaddr;
6163 unsigned long length;
6264 unsigned int npages;
....@@ -68,6 +70,7 @@
6870 struct tid_rb_node {
6971 struct mmu_interval_notifier notifier;
7072 struct hfi1_filedata *fdata;
73
+ struct mutex invalidate_mutex; /* covers hw removal */
7174 unsigned long phys;
7275 struct tid_group *grp;
7376 u32 rcventry;