Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 32bit_driver/kdriver/linux/pcie/memx_cascade_pciemain.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,10 @@ static ssize_t memx_fops_read(struct file *filp, char __user *buf, size_t count,
break;
}

#ifdef DEBUG
if (wq_status < 1)
pr_info("memryx: fops_read: wait timeout 10(s), retrying again\n");
#endif

} while (wq_status < 1);
if (wq_status >= 1) {
Expand Down Expand Up @@ -555,8 +557,10 @@ static ssize_t memx_fops_write(struct file *filp, const char __user *buf, size_t
pr_warn("memryx: fops_write: cancelled by interrupt signal\n");
break;
}
#ifdef DEBUG
if (wq_status < 1)
pr_info("memryx: fops_write: wait timeout 1(s), retrying again\n");
#endif

} while (wq_status < 1);
if (wq_status >= 1) {
Expand Down
4 changes: 4 additions & 0 deletions kdriver/linux/pcie/memx_cascade_pciemain.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,10 @@ static ssize_t memx_fops_read(struct file *filp, char __user *buf, size_t count,
break;
}

#ifdef DEBUG
if (wq_status < 1)
pr_info("memryx: fops_read: wait timeout 10(s), retrying again\n");
#endif

} while (wq_status < 1);
if (wq_status >= 1) {
Expand Down Expand Up @@ -564,8 +566,10 @@ static ssize_t memx_fops_write(struct file *filp, const char __user *buf, size_t
pr_warn("memryx: fops_write: cancelled by interrupt signal\n");
break;
}
#ifdef DEBUG
if (wq_status < 1)
pr_info("memryx: fops_write: wait timeout 1(s), retrying again\n");
#endif

} while (wq_status < 1);
if (wq_status >= 1) {
Expand Down