] __iomem *dc
Cc: Michael S. Tsirkin
Cc: Sudeep Dutt
Cc: Arnd Bergmann
Cc: Vincent Whitchurch
Cc: stable
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/vop/vop_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop
On Tue, Jan 23 2018 at 02:55:19 PM, Al Viro wrote:
> On Tue, Jan 23, 2018 at 03:10:09PM -0500, Christopher Díaz Riveros wrote:
>> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>>
>> This issue was detected by using the Coccinelle software.
>
> ... and that's
On Tue, Jan 23 2018 at 02:55:19 PM, Al Viro wrote:
> On Tue, Jan 23, 2018 at 03:10:09PM -0500, Christopher Díaz Riveros wrote:
>> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>>
>> This issue was detected by using the Coccinelle software.
>
> ... and that's a wonderful demonstration
On Thu, Jun 16 2016 at 04:08:17 PM, Bjorn Helgaas wrote:
>
> That's a good start, but leads to more questions. For example, it
> doesn't answer the obvious question of why the driver needs to
> enable/disable ASPM from interrupt context.
For power saving reasons we keep ASPM
On Thu, Jun 16 2016 at 04:08:17 PM, Bjorn Helgaas wrote:
>
> That's a good start, but leads to more questions. For example, it
> doesn't answer the obvious question of why the driver needs to
> enable/disable ASPM from interrupt context.
For power saving reasons we keep ASPM L1 enabled, but
On Thu, Jun 16 2016 at 12:20:52 PM, Bjorn Helgaas wrote:
> I noticed drivers/infiniband/hw/hfi1 got moved from staging to
> drivers/ for v4.7. It does a bunch of grubbing around in PCIe ASPM
> configuration, e.g., see drivers/infiniband/hw/hfi1/aspm.h.
>
> I know there have
On Thu, Jun 16 2016 at 12:20:52 PM, Bjorn Helgaas wrote:
> I noticed drivers/infiniband/hw/hfi1 got moved from staging to
> drivers/ for v4.7. It does a bunch of grubbing around in PCIe ASPM
> configuration, e.g., see drivers/infiniband/hw/hfi1/aspm.h.
>
> I know there have been lots of ASPM
On Fri, May 20 2016 at 12:54:51 AM, Mike Danese wrote:
> The compilation emits a warning in function ‘snprintf’,
> inlined from ‘set_cmdline’ at
> ../Documentation/mic/mpssd/mpssd.c:1541:9:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10:
> warning: call to
On Fri, May 20 2016 at 12:54:51 AM, Mike Danese wrote:
> The compilation emits a warning in function ‘snprintf’,
> inlined from ‘set_cmdline’ at
> ../Documentation/mic/mpssd/mpssd.c:1541:9:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10:
> warning: call to
=116651
Reported by: Pengfei Wang <wpengfein...@gmail.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/vop/vop_vringh.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/mic/v
=116651
Reported by: Pengfei Wang
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/vop/vop_vringh.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/mic/vop/vop_vringh.c
b/drivers/misc/mic/vop/vop_vringh.c
index e94c7fb..88e4523 100644
On Sun, Jan 03 2016 at 10:35:26 PM, "Koul, Vinod" wrote:
> On Tue, Dec 22, 2015 at 07:35:23PM -0800, Ashutosh Dixit wrote:
>> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
>> spin_unlock").
>>
>> The above patch is incorrect. T
On Sun, Jan 03 2016 at 10:35:26 PM, "Koul, Vinod" <vinod.k...@intel.com> wrote:
> On Tue, Dec 22, 2015 at 07:35:23PM -0800, Ashutosh Dixit wrote:
>> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
>> spin_unlock").
>>
>>
On Wed, Dec 23 2015 at 12:45:31 AM, Saurabh Sengar
wrote:
> On 23 December 2015 at 09:05, Ashutosh Dixit wrote:
>> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
>> spin_unlock").
>>
>> The above patch is incorrect. There is no
This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
spin_unlock").
The above patch is incorrect. There is nothing wrong with the original
code. The spin_lock is acquired in the "prep" functions and released
in "submit".
Signed-off-by: As
This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
spin_unlock").
The above patch is incorrect. There is nothing wrong with the original
code. The spin_lock is acquired in the "prep" functions and released
in "submit".
Signed-off-by: Ashutosh D
On Wed, Dec 23 2015 at 12:45:31 AM, Saurabh Sengar <saurabh.tr...@gmail.com>
wrote:
> On 23 December 2015 at 09:05, Ashutosh Dixit <ashutosh.di...@intel.com> wrote:
>> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing
>> spin_unlock"
ded in a new cosm_device
member cdev->prev_state.
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/bus/cosm_bus.h | 2 ++
drivers/misc/mic/cosm/cosm_main.c | 13 +
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/misc/mic/bus/cosm
ded in a new cosm_device
member cdev->prev_state.
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/bus/cosm_bus.h | 2 ++
drivers/misc/mic/cosm/cosm_main.c | 13 +
2 files changed, 11 insertio
ded in a new cosm_device
member cdev->prev_state.
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/bus/cosm_bus.h | 2 ++
drivers/misc/mic/cosm/cosm_main.c | 13 +
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/misc/mic/bus/cosm
ded in a new cosm_device
member cdev->prev_state.
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/bus/cosm_bus.h | 2 ++
drivers/misc/mic/cosm/cosm_main.c | 13 +
2 files changed, 11 insertio
On Sun, Oct 04 2015 at 05:33:47 PM, Geliang Tang wrote:
> Handle a failed device_register(), replace kfree() with put_device(),
> which will call mbus_release_dev() or scif_release_dev().
Could you add the same change to cosm_bus.c too in the same path and
resubmit the patch. Thanks.
--
To
On Sun, Oct 04 2015 at 05:33:47 PM, Geliang Tang wrote:
> Handle a failed device_register(), replace kfree() with put_device(),
> which will call mbus_release_dev() or scif_release_dev().
Could you add the same change to cosm_bus.c too in the same path and
resubmit the
On Sat, Oct 10 2015 at 12:14:30 PM, Joe Perches wrote:
> On Sat, 2015-10-10 at 04:46 -0700, Geliang Tang wrote:
>> Use kstrdup instead of kmalloc and strncpy.
>
>> diff --git a/drivers/misc/mic/cosm/cosm_sysfs.c
>> b/drivers/misc/mic/cosm/cosm_sysfs.c
> []
>> @@ -211,18 +211,14 @@
On Sat, Oct 10 2015 at 12:14:30 PM, Joe Perches wrote:
> On Sat, 2015-10-10 at 04:46 -0700, Geliang Tang wrote:
>> Use kstrdup instead of kmalloc and strncpy.
>
>> diff --git a/drivers/misc/mic/cosm/cosm_sysfs.c
>> b/drivers/misc/mic/cosm/cosm_sysfs.c
> []
>> @@ -211,18 +211,14
Fixes randconfig build error reported at
http://www.spinics.net/lists/kernel/msg2092346.html
Reported-by: Jim Davis
Reviewed-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/cosm/cosm_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc
Fixes randconfig build error reported at
http://www.spinics.net/lists/kernel/msg2092346.html
Reported-by: Jim Davis <jim.ep...@gmail.com>
Reviewed-by: Dasaratharaman Chandramouli <dasaratharaman.chandramo...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
. These mappings
are zapped to avoid RMA accesses from user space, if a Coprocessor is
reset.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_mmap.c | 699 ++
1 file changed, 699 insertions(+)
create mode 100644
and updating RMA
specific debugfs hooks.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 1 +
drivers/misc/mic/scif/Makefile| 5 +
drivers/misc/mic/scif/scif_api.c | 33 +--
drivers/misc/mic/scif
operation is used by SCIF APIs which initiate DMAs, CPU copies or
fences to ensure that a window remains valid during a transfer.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rma_list.c | 291
that window are drained. Users can
request synchronous DMA operations as well as tail byte ordering if
required. CPU copies are always performed synchronously.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_dma.c | 1979
the local and the remote node for both the mark/wait or the fence
signal APIs.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Jacek Lawrynowicz
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_fence.c | 771 +
1 file changed,
by COSM rather than maintain its own
device index.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/bus/mic_bus.c | 22 ++
drivers/misc/mic/card/mic_device.c | 88 ++
drivers/misc/mic/card
the
CPU. The user space IOCTL interface has been updated to enable SCIF
registration, RDMA/CPU copies and fence APIs for RDMA synchronization.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
include/linux/scif.h| 234
. The unregistration API
tears down the registration at both self and remote nodes.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rma.c | 1770 ++
1 file changed, 1770 insertions(+)
create mode
-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
Documentation/ABI/testing/sysfs-class-mic.txt | 29 ++-
Documentation/mic/mic_overview.txt| 31 ++-
Documentation/mic/mpssd/mpss | 4 +-
Documentation/mic/mpssd/mpssd.c | 362
via the cosm_hw_ops.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/Makefile | 2 -
drivers/misc/mic/host/Makefile | 1 -
drivers/misc/mic/host/mic_boot.c| 317
. The
scif_window is a data structure which contains all the fields required
to describe a SCIF registered window on self and remote nodes. It
contains an offset which is used as a key to perform SCIF DMAs and CPU
copies between self and remote registered windows.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh
card time to that of the host. Because SCIF messaging cannot be used
in a panic context, the COSM client driver also periodically sends a
heartbeat SCIF message to the host thereby enabling the host to detect
card crashes.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
--
ard crashes (d) send host time
to the card to enable the card to sync its time to the host.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/cosm/cosm_scif_server.c | 405 +++
1 file changed, 405 insertions(+)
create
From: Sudeep Dutt
iova is a library which can be built without IOMMU_SUPPORT
Signed-off-by: Sudeep Dutt
---
drivers/iommu/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index d9da766..71d1c46 100644
---
-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/scif/scif_api.c | 158 +-
drivers/misc/mic/scif/scif_epd.h | 22 ++
drivers/misc/mic/scif/scif_fd.c | 9 +++
drivers/misc/mic/scif/scif_main.h | 2 +
include
in the MIC host driver has now largely been moved to user
space and only a small required OSPM functionality is now present in
the driver.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/cos
driver being probed with the COSM devices.
COSM bus ops, e.g. start, stop, ready, reset, therefore abstract out
common functionality from its specific implementation for individual
generations of MIC products.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
SCIF clients are also included in this patch.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/scif/scif_api.c | 43 +
drivers/misc/mic/scif/scif_main.c | 88 --
drivers/misc/mic/scif/scif_main.h | 5
a
destination address with an 8 byte immediate data value.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Lawrynowicz, Jacek
Signed-off-by: Sudeep Dutt
Signed-off-by: Siva Yerramreddy
---
drivers/dma/mic_x100_dma.c | 39 ++-
include/linux
From: Sakari Ailus
The iova library has use outside the intel-iommu driver, thus make it a
module.
Signed-off-by: Sakari Ailus
Signed-off-by: David Woodhouse
---
drivers/iommu/Kconfig | 2 +-
drivers/iommu/iova.c | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
From: Sakari Ailus
Use EXPORT_SYMBOL_GPL() to export the iova library symbols. The symbols
include:
init_iova_domain();
iova_cache_get();
iova_cache_put();
iova_cache_init();
alloc_iova();
find_iova();
__free_iova();
free_iova();
From: Sakari Ailus
This is necessary to separate intel-iommu from the iova library.
Signed-off-by: Sakari Ailus
Signed-off-by: David Woodhouse
---
drivers/iommu/intel-iommu.c | 6 ++--
drivers/iommu/iova.c| 83 ++---
include/linux/iova.h
ist operations
19) SCIF remote memory map/unmap interface
20) SCIF DMA and CPU copy interface
21) SCIF fence
22) SCIF RMA nodeqp and minor miscellaneous changes
These patches have also been scanned by Fengguang Wu's 0-day
infrastructure and no issues have been reported.
Ashutosh Dixit (9):
m
which enables updating a
destination address with an 8 byte immediate data value.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Signed-off-by: Lawrynowicz, Jacek <jacek.lawrynow...@intel.com>
Signed-off-by: Sudeep Dutt <sudeep
SCIF clients are also included in this patch.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/scif/scif_api.c | 43 +
drivers/misc/mi
;dasaratharaman.chandramo...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/cosm/Makefile | 10 +
drivers/misc/mic/cosm/cosm_debugfs.c | 155
drivers/misc/mic/cosm/cosm_main.c| 388 +
drivers/
;sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/Kconfig| 22 ++-
drivers/misc/mic/bus/Makefile | 1 +
drivers/misc/mic/bus/cosm_bus.c | 141
drivers/misc/mic/bu
-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/scif/scif_api.c | 158 +-
drivers/misc/mic/scif/scif_epd.h | 22 ++
dri
ard crashes (d) send host time
to the card to enable the card to sync its time to the host.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/
From: Sudeep Dutt
iova is a library which can be built without IOMMU_SUPPORT
Signed-off-by: Sudeep Dutt
---
drivers/iommu/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/Kconfig
hooks required for SCIF RMAs and updating RMA
specific debugfs hooks.
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.d...@intel.com>
---
drivers/misc/mic/Kconfig | 1
ist operations
19) SCIF remote memory map/unmap interface
20) SCIF DMA and CPU copy interface
21) SCIF fence
22) SCIF RMA nodeqp and minor miscellaneous changes
These patches have also been scanned by Fengguang Wu's 0-day
infrastructure and no issues have been reported.
Ashutosh Dixit (9):
m
From: Sakari Ailus
This is necessary to separate intel-iommu from the iova library.
Signed-off-by: Sakari Ailus
Signed-off-by: David Woodhouse
---
drivers/iommu/intel-iommu.c | 6 ++--
From: Sakari Ailus
Use EXPORT_SYMBOL_GPL() to export the iova library symbols. The symbols
include:
init_iova_domain();
iova_cache_get();
iova_cache_put();
iova_cache_init();
alloc_iova();
find_iova();
l PCIe latency. These mappings
are zapped to avoid RMA accesses from user space, if a Coprocessor is
reset.
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.d...@intel.com>
---
drivers/misc/mi
From: Sakari Ailus
The iova library has use outside the intel-iommu driver, thus make it a
module.
Signed-off-by: Sakari Ailus
Signed-off-by: David Woodhouse
---
drivers/iommu/Kconfig | 2 +-
il Rao <nikhil@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.d...@intel.com>
---
drivers/misc/mic/scif/scif_rma.h | 464 +++
1 file changed, 464 insertions(+)
create mode 100644 drivers/
via the cosm_hw_ops.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Dasaratharaman Chandramouli
<dasaratharaman.chandramo...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
d
tering windows. The query
operation is used by SCIF APIs which initiate DMAs, CPU copies or
fences to ensure that a window remains valid during a transfer.
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Signed-off-by: Nikhil Rao <nikhil@intel.com>
Signed-off-by: Sud
ce all prior DMAs initiated using that window are drained. Users can
request synchronous DMA operations as well as tail byte ordering if
required. CPU copies are always performed synchronously.
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Reviewed-by: Nikhil Rao <nikhil@intel.
deep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/cosm_client/Makefile | 7 +
drivers/misc/mic/cosm_client/cosm_scif_client.c | 275
2 files changed, 282 insertions(+)
create mode 100644 drivers/misc/mic/
p.d...@intel.com>
Signed-off-by: Dasaratharaman Chandramouli
<dasaratharaman.chandramo...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
Documentation/ABI/testing/sysfs-class-mic.txt | 29 ++-
Documentation/mic/mic_overview.txt| 31 ++-
Documentat
programming fences on
both the local and the remote node for both the mark/wait or the fence
signal APIs.
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynow...@intel.com>
Signed-of
by COSM rather than maintain its own
device index.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.d...@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.di...@intel.com>
---
drivers/misc/mic/bus/mic_bus.c | 22 ++
drivers/misc/mic
pages and access them via the
CPU. The user space IOCTL interface has been updated to enable SCIF
registration, RDMA/CPU copies and fence APIs for RDMA synchronization.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Signed-o
F DMAs, CPU copies and fences. The unregistration API
tears down the registration at both self and remote nodes.
Reviewed-by: Nikhil Rao <nikhil@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.di...@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.d...@intel.com>
---
drivers/
On Tue, Jul 28 2015 at 01:40:19 PM, Andrew Morton
wrote:
> On Mon, 27 Jul 2015 16:57:32 -0700 Ashutosh Dixit
> wrote:
>
>> From: Harish Chegondi
>>
>> This patch converts iova.c into a library, moving it from
>> drivers/iommu/ to lib/, and expor
On Tue, Jul 28 2015 at 01:40:19 PM, Andrew Morton a...@linux-foundation.org
wrote:
On Mon, 27 Jul 2015 16:57:32 -0700 Ashutosh Dixit ashutosh.di...@intel.com
wrote:
From: Harish Chegondi harish.chego...@intel.com
This patch converts iova.c into a library, moving it from
drivers/iommu
card time to that of the host. Because SCIF messaging cannot be used
in a panic context, the COSM client driver also periodically sends a
heartbeat SCIF message to the host thereby enabling the host to detect
card crashes.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
--
by COSM rather than maintain its own
device index.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/bus/mic_bus.c | 22 ++
drivers/misc/mic/card/mic_device.c | 88 ++
drivers/misc/mic/card
. These mappings
are zapped to avoid RMA accesses from user space, if a Coprocessor is
reset.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_mmap.c | 711 ++
1 file changed, 711 insertions(+)
create mode 100644
and updating RMA
specific debugfs hooks.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/Kconfig | 1 +
drivers/misc/mic/scif/Makefile| 5 ++
drivers/misc/mic/scif/scif_api.c | 21 +
drivers/misc/mic/scif
that window are drained. Users can
request synchronous DMA operations as well as tail byte ordering if
required. CPU copies are always performed synchronously.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_dma.c | 1979
the local and the remote node for both the mark/wait or the fence
signal APIs.
Reviewed-by: Ashutosh Dixit
Reviewed-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_fence.c | 773 +
1 file changed, 773 insertions(+)
create mod
operation is used by SCIF APIs which initiate DMAs, CPU copies or
fences to ensure that a window remains valid during a transfer.
Reviewed-by: Ashutosh Dixit
Signed-off-by: Nikhil Rao
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rma_list.c | 291
. The unregistration API
tears down the registration at both self and remote nodes.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
drivers/misc/mic/scif/scif_rma.c | 1761 ++
1 file changed, 1761 insertions(+)
create mode
. The
scif_window is a data structure which contains all the fields required
to describe a SCIF registered window on self and remote nodes. It
contains an offset which is used as a key to perform SCIF DMAs and CPU
copies between self and remote registered windows.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh
to the DMA engine API.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Reviewed-by: Sudeep Dutt
Signed-off-by: Siva Yerramreddy
---
drivers/dma/mic_x100_dma.c | 44 +++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/mic_x100_dma.c
the
CPU. The user space IOCTL interface has been updated to enable SCIF
registration, RDMA/CPU copies and fence APIs for RDMA synchronization.
Reviewed-by: Nikhil Rao
Reviewed-by: Ashutosh Dixit
Signed-off-by: Sudeep Dutt
---
include/linux/scif.h| 232
From: Harish Chegondi
This patch converts iova.c into a library, moving it from
drivers/iommu/ to lib/, and exports its virtual address allocation and
management functions so that other modules can reuse them.
Cc: Joerg Roedel
Reviewed-by: Anil S Keshavamurthy
Reviewed-by: Sudeep Dutt
-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
Documentation/ABI/testing/sysfs-class-mic.txt | 29 ++-
Documentation/mic/mic_overview.txt| 31 ++-
Documentation/mic/mpssd/mpss | 4 +-
Documentation/mic/mpssd/mpssd.c | 362
via the cosm_hw_ops.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/Makefile | 2 -
drivers/misc/mic/host/Makefile | 1 -
drivers/misc/mic/host/mic_boot.c| 317
ard crashes (d) send host time
to the card to enable the card to sync its time to the host.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/cosm/cosm_scif_server.c | 405 +++
1 file changed, 405 insertions(+)
create
in the MIC host driver has now largely been moved to user
space and only a small required OSPM functionality is now present in
the driver.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Dasaratharaman Chandramouli
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/cos
driver being probed with the COSM devices.
COSM bus ops, e.g. start, stop, ready, reset, therefore abstract out
common functionality from its specific implementation for individual
generations of MIC products.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
SCIF clients are also included in this patch.
Reviewed-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/scif/scif_api.c | 44 +
drivers/misc/mic/scif/scif_main.c | 88 --
drivers/misc/mic/scif/scif_main.h | 5
-by: Nikhil Rao
Reviewed-by: Sudeep Dutt
Signed-off-by: Ashutosh Dixit
---
drivers/misc/mic/scif/scif_api.c | 158 +-
drivers/misc/mic/scif/scif_epd.h | 22 ++
drivers/misc/mic/scif/scif_fd.c | 9 +++
drivers/misc/mic/scif/scif_main.h | 2 +
include
patch (patch
10) is being sent to char-misc because of the dependency between that
patch and SCIF patches 12 through 19.
Ashutosh Dixit (9):
misc: mic: SCIF poll
misc: mic: Add support for kernel mode SCIF clients
misc: mic: MIC COSM bus
misc: mic: Coprocessor State Management (COSM) driver
via the cosm_hw_ops.
Reviewed-by: Nikhil Rao nikhil@intel.com
Reviewed-by: Sudeep Dutt sudeep.d...@intel.com
Signed-off-by: Dasaratharaman Chandramouli
dasaratharaman.chandramo...@intel.com
Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com
---
drivers/misc/mic/Makefile | 2
DMAs initiated using that window are drained. Users can
request synchronous DMA operations as well as tail byte ordering if
required. CPU copies are always performed synchronously.
Reviewed-by: Ashutosh Dixit ashutosh.di...@intel.com
Reviewed-by: Nikhil Rao nikhil@intel.com
Signed-off
and the remote node for both the mark/wait or the fence
signal APIs.
Reviewed-by: Ashutosh Dixit ashutosh.di...@intel.com
Reviewed-by: Nikhil Rao nikhil@intel.com
Signed-off-by: Sudeep Dutt sudeep.d...@intel.com
---
drivers/misc/mic/scif/scif_fence.c | 773 +
1 file
SCIF clients are also included in this patch.
Reviewed-by: Nikhil Rao nikhil@intel.com
Reviewed-by: Sudeep Dutt sudeep.d...@intel.com
Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com
---
drivers/misc/mic/scif/scif_api.c | 44 +
drivers/misc/mic/scif/scif_main.c | 88
-by: Nikhil Rao nikhil@intel.com
Reviewed-by: Sudeep Dutt sudeep.d...@intel.com
Signed-off-by: Ashutosh Dixit ashutosh.di...@intel.com
---
drivers/misc/mic/scif/scif_api.c | 158 +-
drivers/misc/mic/scif/scif_epd.h | 22 ++
drivers/misc/mic/scif/scif_fd.c
1 - 100 of 171 matches
Mail list logo