Skip to content

Fix some bugs of the vop driver and mpssd user space tool

Sherry Sun lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

1. Change the way of copy data from ubuf to dbuf in patch4. Reuse the allocated vvr->buf as the temp buffer and add a loop for multiple copies if there are too much data.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4samples: mpssd: fix the build errors when enable DEBUGsamples/mic/mpssd/mpssd.c+10 -100 replies
2/4misc: vop: build VOP based on CONFIG_VOPdrivers/misc/mic/vop/Makefile+1 -10 replies
3/4misc: vop: add round_up(x,4) for vring_size to avoid kernel panicdrivers/misc/mic/vop/vop_main.c drivers/misc/mic/vop/vop_vringh.c samples/mic/mpssd/mpssd.c+5 -50 replies
4/4mic: vop: copy data to kernel space then write to io memorydrivers/misc/mic/vop/vop_vringh.c+14 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] Fix some bugs of the vop driver and mpssd user space tool

Changes in V2:
1. Change the way of copy data from ubuf to dbuf in patch4. Reuse the allocated vvr->buf as the temp buffer and add a loop for multiple copies if there are too much data.

This patchset fix some bugs about the vop driver and Intel MIC user space tool.

Sherry Sun (4):
samples: mpssd: fix the build errors when enable DEBUG in mpssd.c
misc: vop: build VOP based on CONFIG_VOP
misc: vop: add round_up(x,4) for vring_size to avoid kernel panic
mic: vop: copy data to kernel space then write to io memory

 drivers/misc/mic/vop/Makefile     |  2 +-
 drivers/misc/mic/vop/vop_main.c   |  2 +-
 drivers/misc/mic/vop/vop_vringh.c | 24 ++++++++++++++++--------
 samples/mic/mpssd/mpssd.c         | 24 ++++++++++++------------
 4 files changed, 30 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.1