On Wed, 2019-06-12 at 14:25 +0200, Greg Kroah-Hartman wrote:
> When calling debugfs functions, there is no need to ever check the
> return value. The function can work or not, but the code logic should
> never do something different based on this.
>
Thanks Greg.
Reviewed-by: Sudeep
On Tue, 2019-06-11 at 20:43 +0200, Greg Kroah-Hartman wrote:
> When calling debugfs functions, there is no need to ever check the
> return value. The function can work or not, but the code logic should
> never do something different based on this.
>
Thanks Greg.
Reviewed-by: Sudeep
llocation during the
open(..) callback succeeds or fails. The close(..) callback cleans up
the data structures from the mmap(..) or open(..) callbacks if any.
Thanks,
Sudeep Dutt
_virtqueue() was added way back in commit
> 2a2d1382fe9dcc ("virtio: Add improved queue allocation API") in order to
> address mic's usecase, according to the commit message.
>
Thank you for fixing this up Vincent.
Reviewed-by: Sudeep Dutt
> Signed-off-by: Vincent
lt, dma_pool_free() will not succeed.
>
> To avoid the above issue, this patch introduces a new data structure, i.e.,
> scif_cb_arg, to store the arguments required by the call back function. A
> variable 'cb_arg' is allocated in _scif_prog_signal() to pass the
> arguments. 'cb_ar
+ cb_arg->ep = ep;
> tx->callback = scif_prog_signal_cb;
> - tx->callback_param = status;
> + tx->callback_param = cb_arg;
> }
cb_arg should be freed if there is a dma_submit_error(..) below in the
dma_fail path.
Wenwen, can you please fix these up and resend the patch?
Thanks,
Sudeep Dutt
ly.
>
> Does this mean we can kill the kernel scif code as well?
The MIC COSM drivers are using the kernel SCIF code. These drivers have
been upstream since 2015 and we are not sure who is using them. Our
preference will be to keep these drivers in the kernel for now.
Thanks,
Sudeep Dutt
43c9a7 ("misc: mic: SCIF open close bind and listen APIs")
> Signed-off-by: Dan Carpenter
> ---
> I have not tested this patch. Please review carefully.
Thanks for the patch Dan.
Reviewed-by: Sudeep Dutt
>
> diff --git a/drivers/misc/mic/scif/scif_api.c
> b/drivers
tps://lkml.org/lkml/2016/4/5/7
Greg, can you please please apply the patch?
Thanks,
Sudeep Dutt
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > head: c3b46c73264b03000d1e18b22f5caf63332547c9
> > commit: 8810d
On Mon, 2016-04-04 at 21:41 -0700, Greg Kroah-Hartman wrote:
> On Mon, Apr 04, 2016 at 09:32:30PM -0700, Sudeep Dutt wrote:
> > Fixes randconfig build error reported at
> > https://lkml.org/lkml/2016/4/3/135 by ensuring that
> > the VOP driver selects VIRTIO.
> >
&g
Fixes randconfig build error reported at
https://lkml.org/lkml/2016/4/3/135 by ensuring that
the VOP driver selects VIRTIO.
Reported-by: Fengguang Wu
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
This patch deletes the virtio functionality from the MIC X100 card
driver. A subsequent patch will re-enable this functionality by
consolidating the hardware independent logic in a new Virtio over PCIe
(VOP) driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic
This patch deletes the virtio functionality from the MIC X100 host
driver. A subsequent patch will re-enable this functionality by
consolidating the hardware independent logic in a new Virtio over PCIe
(VOP) driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic
This patch moves the virtio specific debugfs hooks previously in
mic_debugfs.c in the MIC host driver into the VOP driver. The
Kconfig/Makefile is also updated to allow building the VOP driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 20
from being moved into a
separate driver the functionality is essentially unchanged. See the
above mentioned commit for a description of this functionality.
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/vop/vop_vringh.c | 1164 +++
c/mic/card/mic_virtio.c. Apart from being moved into a
separate driver the functionality is essentially unchanged. See the
above mentioned commit for a description of this functionality.
Signed-off-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/vop/vop_ma
: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 17
drivers/misc/mic/bus/Makefile | 1 +
drivers/misc/mic/bus/vop_bus.h | 140
drivers/misc/mic/bus/vop_bus.c | 203 +
4 files changed, 361 insertions(+)
create mode
This patch adds VOP driver data structures used in subsequent
patches. These data structures are refactored from similar data
structures used in the virtio parts of previous MIC host and card
drivers.
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/vop/vop_main.h
Enables VOP debugfs and driver build
8) Implements the MIC host and card driver changes to enable VOP
Ashutosh Dixit (1):
misc: mic: Enable VOP card side functionality
Sudeep Dutt (7):
misc: mic: Remove MIC X100 host virtio functionality
misc: mic: Remove MIC X100 card virtio functionality
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mic_overview.txt | 54
drivers/misc/mic/Kconfig | 7 ++-
drivers/misc/mic/card/mic_device.h | 3 +
drivers/misc/mic/host/mic_device.h | 3 +
Documentation/mic/mpssd/mpssd.c| 2 +-
drivers/misc/mic/card
On Sun, 2016-02-07 at 22:57 -0800, Greg Kroah-Hartman wrote:
> On Mon, Feb 01, 2016 at 08:23:40PM -0800, Sudeep Dutt wrote:
> > The Virtio Over PCIe (VOP) bus abstracts the low level hardware
> > details like interrupts and mapping remote memory so that the same VOP
> > dr
ality
7) Enables VOP debugfs and driver build
8) Implements the MIC host and card driver changes to enable VOP
Ashutosh Dixit (1):
misc: mic: Enable VOP card side functionality
Sudeep Dutt (7):
misc: mic: Remove MIC X100 host virtio functionality
misc: mic: Remove MIC X100 card virtio funct
This patch deletes the virtio functionality from the MIC X100 host
driver. A subsequent patch will re-enable this functionality by
consolidating the hardware independent logic in a new Virtio over PCIe
(VOP) driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic
: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 17
drivers/misc/mic/bus/Makefile | 1 +
drivers/misc/mic/bus/vop_bus.h | 142
drivers/misc/mic/bus/vop_bus.c | 204 +
4 files changed, 364 insertions(+)
create mode
This patch deletes the virtio functionality from the MIC X100 card
driver. A subsequent patch will re-enable this functionality by
consolidating the hardware independent logic in a new Virtio over PCIe
(VOP) driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mic_overview.txt | 54 +---
drivers/misc/mic/Kconfig | 7 ++-
drivers/misc/mic/card/mic_device.h | 3 +
drivers/misc/mic/host/mic_device.h | 3 +
Documentation/mic/mpssd/mpssd.c| 2 +-
drivers/misc/mic/card
c/mic/card/mic_virtio.c. Apart from being moved into a
separate driver the functionality is essentially unchanged. See the
above mentioned commit for a description of this functionality.
Signed-off-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/vop/vop_ma
from being moved into a
separate driver the functionality is essentially unchanged. See the
above mentioned commit for a description of this functionality.
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/vop/vop_vringh.c | 1164 +++
This patch moves the virtio specific debugfs hooks previously in
mic_debugfs.c in the MIC host driver into the VOP driver. The
Kconfig/Makefile is also updated to allow building the VOP driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 20
This patch adds VOP driver data structures used in subsequent
patches. These data structures are refactored from similar data
structures used in the virtio parts of previous MIC host and card
drivers.
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/vop/vop_main.h
On Fri, 2015-12-11 at 20:09 -0600, Eric Biggers wrote:
> The error code passed to ERR_PTR() always should be negated. Also, the
> return value of scif_add_mmu_notifier() was never checked.
>
Thanks for the patch Eric.
Reviewed-by: Sudeep Dutt
> Signed-off-by: Eric Biggers
>
command_line() fails.
>
Thanks for this patch series Sudip. All 4 patches look good.
Reviewed-by: Sudeep Dutt
> Signed-off-by: Sudip Mukherjee
> ---
> drivers/misc/mic/host/mic_x100.c | 13 +++--
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/driv
On Wed, 2015-11-18 at 21:10 +0900, Sergey Senozhatsky wrote:
> Cosmetic.
>
> Do not define list_entry_next() and use list_next_entry()
> from list.h.
>
Hi Sergey,
A similar patch was posted @ https://lkml.org/lkml/2015/11/16/328
Regards,
Sudeep Dutt
> Signed-off-by:
On Mon, 2015-11-16 at 21:46 +0800, Geliang Tang wrote:
> list_next_entry has been defined in list.h, so I replace list_entry_next
> with it.
>
Thanks for the cleanup.
Reviewed-by: Sudeep Dutt
> Signed-off-by: Geliang Tang
> ---
> drivers/misc/mic/sc
eturn -EINVAL;
>
> might_sleep();
> @@ -1613,7 +1613,7 @@ off_t scif_register(scif_epd_t epd, void *addr, size_t
> len, off_t offset,
> if ((map_flags & SCIF_MAP_FIXED) &&
> ((ALIGN(offset, PAGE_SIZE) != offset) ||
> (offset
Add entry for MIC drivers to the MAINTAINERS file
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index fe5bbfe..994a7ae 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
Add entry for MIC drivers to the MAINTAINERS file
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
MAINTAINERS | 15 +++
1 file changed, 15 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index fe5bbfe..840993b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5575,6
On Tue, 2015-10-13 at 22:46 +0530, Sudip Mukherjee wrote:
> On Tue, Oct 13, 2015 at 09:34:21AM -0700, Sudeep Dutt wrote:
> > On Tue, 2015-10-13 at 14:38 +0530, Sudip Mukherjee wrote:
>
> > > + struct scif_hw_dev *sdev = scifdev->sdev;
> > > +
> > &
we will have a leak.
> Lets deinitialize and release the resources connected to p2p_ij.
>
Reviewed-by: Sudeep Dutt
Thanks again for the fix.
> Signed-off-by: Sudip Mukherjee
> ---
>
> v3: added unmapping the aperture
> v2: missed making the function as static
>
> d
L);
Can you please resubmit this patch with the change above?
Also you should mention [PATCH char-misc-next] in the next revision.
Thanks for the fix!
Sudeep Dutt
> + scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]);
> + scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]);
> + kfr
On Tue, 2015-10-13 at 15:52 +0300, Dan Carpenter wrote:
> The caller expects that we take this lock again before returning
> otherwise it you get double unlocks and races.
>
Reviewed-by: Sudeep Dutt
Thanks for the fix!
> Fixes: ba612aa8b487 ('misc: mic: SCIF memory
On Fri, 2015-10-09 at 09:41 +0300, Dan Carpenter wrote:
> We should be returning -ENOMEM here instead of success.
>
Reviewed-by: Sudeep Dutt
Thanks for the fix!
> Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration')
> Signed-off-by: Dan Carpen
+ (len > LONG_MAX - offset)))
> return -EINVAL;
>
> might_sleep();
> @@ -1613,7 +1613,7 @@ off_t scif_register(scif_epd_t epd, void *addr, size_t
> len, off_t offset,
> if ((map_flags & SCIF_MAP_FIXED) &&
> ((ALIGN(off
On Tue, 2015-10-06 at 09:33 +0100, gre...@linuxfoundation.org wrote:
> On Tue, Oct 06, 2015 at 01:05:27AM -0700, Sudeep Dutt wrote:
> > On Tue, 2015-10-06 at 08:56 +0100, gre...@linuxfoundation.org wrote:
> > > On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote:
> >
On Tue, 2015-10-06 at 08:56 +0100, gre...@linuxfoundation.org wrote:
> On Mon, Oct 05, 2015 at 10:23:38PM -0700, Sudeep Dutt wrote:
> > On Tue, 2015-10-06 at 06:20 +0100, gre...@linuxfoundation.org wrote:
> > > On Tue, Oct 06, 2015 at 06:12:40AM +0100, gre...@linuxfoundatio
On Tue, 2015-10-06 at 06:20 +0100, gre...@linuxfoundation.org wrote:
> On Tue, Oct 06, 2015 at 06:12:40AM +0100, gre...@linuxfoundation.org wrote:
> > On Mon, Oct 05, 2015 at 10:38:43AM -0700, Sudeep Dutt wrote:
> > > On Mon, 2015-10-05 at 03:50 -0700, Woodhouse, David wrote:
&g
On Mon, 2015-10-05 at 03:50 -0700, Woodhouse, David wrote:
> On Tue, 2015-09-29 at 18:09 -0700, Ashutosh Dixit wrote:
> > From: Sudeep Dutt
> >
> > iova is a library which can be built without IOMMU_SUPPORT
> >
> > Signed-off-by: Sudeep Dutt
>
> The firs
4.3-rc4. The correct long term solution is to move the iova
library from drivers/iommu into lib/iova which will be done in
a future patch.
Cc: David Woodhouse
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/iommu/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(
SCIF depends on IOVA which requires IOMMU_SUPPORT to be enabled.
The long term fix is to move IOVA from drivers/iommu to lib/
but this current patch should fix the reported issue.
Reported-by: Fengguang Wu
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 2
On Fri, 2015-08-21 at 13:59 +0530, Vinod Koul wrote:
> On Thu, Aug 20, 2015 at 10:30:50AM -0700, Sudeep Dutt wrote:
> > On Thu, 2015-08-20 at 10:50 +0530, Vinod Koul wrote:
> > > On Mon, Jul 27, 2015 at 04:58:17PM -0700, As
MA descriptors prior to the status descriptor.
The DMA engine API does not allow drivers to pass a 8 byte value. We are
allowed to pass a source physical address but we cannot determine the
source value within the DMA driver using that information specifically
with the IOMMU enabled. We have added this workar
>
> > > > Cc: Joerg Roedel
> > > > Reviewed-by: Anil S Keshavamurthy > > > >
> > > > Reviewed-by: Sudeep Dutt
> > > > Signed-off-by: Harish Chegondi
> > >
> > > Where is this going to be used outside of the IOMMU wo
Delete unnecessary prints resulting in an "spdev could be null"
warning from a static checker in scif_peer_remove(..).
Reported-by: Dan Carpenter
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_main.c | 4
1 file changed, 4 deletions(-)
di
This patch series fixes reported issues including a
randconfig build error and a warning from a static checker.
Sudeep Dutt (2):
misc: mic: Fix randconfig build error by including errno.h
misc: mic: Fix reported static checker warning
drivers/misc/mic/scif/scif_main.c | 4
drivers/misc
This issue was reported @ https://lkml.org/lkml/2015/6/9/731
Reported-by: Jim Davis
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/mic/scif/scif_rb.c b/drivers/misc/mic/scif/scif_rb.c
gt;return -ENOMEM;
>^
> drivers/misc/mic/scif/scif_rb.c:115:11: note: each undeclared
> identifier is reported only once for each function it appears in
Thanks for the report Jim. I will post a patch with the fix.
Sudeep Dutt
--
To unsubscribe from this list: send the
On Wed, 2015-04-29 at 13:27 +0200, Greg Kroah-Hartman wrote:
> On Tue, Apr 28, 2015 at 01:45:12PM -0700, Sudeep Dutt wrote:
> > On Mon, 2015-03-30 at 18:36 -0700, Sudeep Dutt wrote:
> > > ChangeLog:
> > > =
> > >
> > > v3 => v4:
> > &g
endpoint has a
receive queue for messages from its peer. This pair of receive
queues is referred to as a SCIF queue pair.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rb.h | 100
drivers/misc/mic/scif/scif_rb.c
by the host and card drivers on the SCIF hardware
bus resulting in probing the SCIF driver.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig| 17
drivers/misc/mic/Makefile | 2 +-
drivers/misc/mic/bus/Makefile
client drivers (e.g. netdev over SCIF)
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_peer_bus.h | 65 ++
drivers/misc/mic/scif/scif_peer_bus.c | 124 ++
2 files changed, 189
Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_main.h| 252 ++
drivers/misc/mic/scif/scif_map.h | 113 ++
drivers/misc/mic/scif/scif_debugfs.c | 85
drivers/misc/mic/scif/scif_main.c| 391 +++
4 files
Update mic_bootparam and define the maximum number of DMA channels
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/common/mic_dev.h | 3 +++
include/uapi/linux/mic_common.h | 12
2 files changed, 15 insertions(+)
diff --git
be submitted in a future
patch series is recommended for larger transfers. The node
enumeration API enables a user to query for the number of nodes
online in the SCIF network and their node ids.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/s
asynchronously or synchronously.
Thanks to Johnnie S Peters for authoring parts of this patch during
early bring up of the SCIF driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
Signed-off-by: Nikhil Rao
---
drivers/misc/mic/scif/scif_epd.h| 8 +
drivers/misc/mic/scif/scif_api.c
MIC card driver specific changes to enable SCIF. This patch implements
the SCIF hardware bus operations and registers a SCIF device on the
SCIF hardware bus.
Reviewed-by: Nikhil Rao
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 2
Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_nodeqp.h | 173 +
drivers/misc/mic/scif/scif_nm.c | 184 +
drivers/misc/mic/scif/scif_nodeqp.c | 1264 +++
3 files changed, 1621 insertions(+)
create mode
MIC host driver specific changes to enable SCIF. This patch implements
the SCIF hardware bus operations and registers a SCIF device on the
SCIF hardware bus.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig| 2
modprobe SCIF driver upon start and remove it upon unload
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mpssd/mpss | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/Documentation/mic/mpssd/mpss
port for loading/unloading SCIF driver
Nikhil Rao (1):
misc: mic: SCIF connections APIs i.e. accept and connect
Sudeep Dutt (12):
misc: mic: SCIF header file and IOCTL interface
misc: mic: SCIF ring buffer infrastructure
misc: mic: SCIF Hardware Bus
misc: mic: SCIF Peer Bus
misc: m
SCIF character device file operations and kernel APIs for opening and
closing a user and kernel mode SCIF endpoint. This patch also enables
binding to a SCIF port and listening for incoming SCIF connections.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mic_overview.txt | 28 +-
Documentation/mic/scif_overview.txt | 98
include/uapi/linux/Kbuild | 1 +
include/linux/scif.h| 993
include/uapi/linux/scif_ioctl.h
On Mon, 2015-03-30 at 18:36 -0700, Sudeep Dutt wrote:
> ChangeLog:
> =
>
> v3 => v4:
> a) Delete unused IOCTL definitions and IOCTL interface fixes as per
> feedback from Greg Kroah-Hartman
> b) Couple of tiny bug fixes since v3
>
> v2 => v3 @ https:
On Tue, 2015-03-31 at 10:39 +0200, Paul Bolle wrote:
> On Mon, 2015-03-30 at 18:36 -0700, Sudeep Dutt wrote:
> > --- a/drivers/misc/mic/Kconfig
> > +++ b/drivers/misc/mic/Kconfig
> > +comment "SCIF Driver"
> > +
> > +config SCIF
> > + tristate &qu
endpoint has a
receive queue for messages from its peer. This pair of receive
queues is referred to as a SCIF queue pair.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rb.h | 100
drivers/misc/mic/scif/scif_rb.c
: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mic_overview.txt | 28 +-
Documentation/mic/scif_overview.txt | 98
include/uapi/linux/Kbuild | 1 +
include/linux/scif.h| 993
include/uapi/linux/scif_ioctl.h
by the host and card drivers on the SCIF hardware
bus resulting in probing the SCIF driver.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig| 17
drivers/misc/mic/Makefile | 2 +-
drivers/misc/mic/bus/Makefile
client drivers (e.g. netdev over SCIF)
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_peer_bus.h | 65 ++
drivers/misc/mic/scif/scif_peer_bus.c | 124 ++
2 files changed, 189
Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_nodeqp.h | 173 +
drivers/misc/mic/scif/scif_nm.c | 184 +
drivers/misc/mic/scif/scif_nodeqp.c | 1264 +++
3 files changed, 1621 insertions(+)
create mode
asynchronously or synchronously.
Thanks to Johnnie S Peters for authoring parts of this patch during
early bring up of the SCIF driver.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
Signed-off-by: Nikhil Rao
---
drivers/misc/mic/scif/scif_epd.h| 8 +
drivers/misc/mic/scif/scif_api.c
SCIF character device file operations and kernel APIs for opening and
closing a user and kernel mode SCIF endpoint. This patch also enables
binding to a SCIF port and listening for incoming SCIF connections.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
MIC card driver specific changes to enable SCIF. This patch implements
the SCIF hardware bus operations and registers a SCIF device on the
SCIF hardware bus.
Reviewed-by: Nikhil Rao
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 2
Update mic_bootparam and define the maximum number of DMA channels
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/common/mic_dev.h | 3 +++
include/uapi/linux/mic_common.h | 12
2 files changed, 15 insertions(+)
diff --git
be submitted in a future
patch series is recommended for larger transfers. The node
enumeration API enables a user to query for the number of nodes
online in the SCIF network and their node ids.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/s
modprobe SCIF driver upon start and remove it upon unload
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mpssd/mpss | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/Documentation/mic/mpssd/mpss
MIC host driver specific changes to enable SCIF. This patch implements
the SCIF hardware bus operations and registers a SCIF device on the
SCIF hardware bus.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig| 2
Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_main.h| 252 ++
drivers/misc/mic/scif/scif_map.h | 113 ++
drivers/misc/mic/scif/scif_debugfs.c | 85
drivers/misc/mic/scif/scif_main.c| 391 +++
4 files
port for loading/unloading SCIF driver
Nikhil Rao (1):
misc: mic: SCIF connections APIs i.e. accept and connect
Sudeep Dutt (12):
misc: mic: SCIF header file and IOCTL interface
misc: mic: SCIF ring buffer infrastructure
misc: mic: SCIF Hardware Bus
misc: mic: SCIF Peer Bus
misc: m
On Wed, 2015-03-25 at 12:04 +0100, Greg Kroah-Hartman wrote:
> On Mon, Jan 26, 2015 at 04:32:42PM -0800, Sudeep Dutt wrote:
> > This patch introduces the SCIF documentation in the header file
> > and describes the IOCTL interface for user mode. mic_overview.txt
> > is updated
On Mon, 2015-03-09 at 09:13 -0700, Sudeep Dutt wrote:
> On Mon, 2015-02-23 at 16:45 -0800, Sudeep Dutt wrote:
> > On Mon, 2015-01-26 at 16:32 -0800, Sudeep Dutt wrote:
> > > ChangeLog:
> > > =
> > >
> > > v2 => v3:
> > > a) Forma
On Mon, 2015-02-23 at 16:45 -0800, Sudeep Dutt wrote:
> On Mon, 2015-01-26 at 16:32 -0800, Sudeep Dutt wrote:
> > ChangeLog:
> > =
> >
> > v2 => v3:
> > a) Formatting fixes for SCIF header file documentation, data type fixes
> >for SCIF
On Mon, 2015-01-26 at 16:32 -0800, Sudeep Dutt wrote:
> ChangeLog:
> =
>
> v2 => v3:
> a) Formatting fixes for SCIF header file documentation, data type fixes
>for SCIF IOCTL interface and added SCIF user space documentation in
>scif_overview.txt as per
On Mon, 2015-02-09 at 14:09 -0500, Nicholas Mc Guire wrote:
> return type of wait_for_completion_timeout is unsigned long not int. The
> rc variable is renamed timeout to reflect its use and the type adjusted to
> unsigned long.
>
Acked-by: Sudeep Dutt
Thanks for the patch!
>
MIC card driver specific changes to enable SCIF. This patch implements
the SCIF hardware bus operations and registers a SCIF device on the
SCIF hardware bus.
Reviewed-by: Nikhil Rao
Signed-off-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 2
: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
Documentation/mic/mic_overview.txt | 28 +-
Documentation/mic/scif_overview.txt | 98
include/uapi/linux/Kbuild | 1 +
include/linux/scif.h| 993
include/uapi/linux/scif_ioctl.h
Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_nodeqp.h | 172 +
drivers/misc/mic/scif/scif_nm.c | 184 +
drivers/misc/mic/scif/scif_nodeqp.c | 1259 +++
3 files changed, 1615 insertions(+)
create mode
by the host and card drivers on the SCIF hardware
bus resulting in probing the SCIF driver.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig| 17
drivers/misc/mic/Makefile | 2 +-
drivers/misc/mic/bus/Makefile
client drivers (e.g. netdev over SCIF)
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_peer_bus.h | 65 ++
drivers/misc/mic/scif/scif_peer_bus.c | 124 ++
2 files changed, 189
endpoint has a
receive queue for messages from its peer. This pair of receive
queues is referred to as a SCIF queue pair.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rb.h | 100
drivers/misc/mic/scif/scif_rb.c
IC host driver specific changes to enable SCIF
12) MIC card driver specific changes to enable SCIF
13) Add support for loading/unloading SCIF driver
Nikhil Rao (1):
misc: mic: SCIF connections APIs i.e. accept and connect
Sudeep Dutt (12):
misc: mic: SCIF header file and IOCTL interface
Update mic_bootparam and define the maximum number of DMA channels
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/common/mic_dev.h | 3 +++
include/uapi/linux/mic_common.h | 12
2 files changed, 15 insertions(+)
diff --git
1 - 100 of 231 matches
Mail list logo