10 Feb, 2016

1 commit

  • This patch modifies the MIC host and card drivers to start using the
    VOP driver. The MIC host and card drivers now implement the VOP bus
    operations and register a VOP device on the VOP bus. MIC driver stack
    documentation is also updated to include the new VOP driver.

    Reviewed-by: Ashutosh Dixit
    Signed-off-by: Sudeep Dutt
    Signed-off-by: Greg Kroah-Hartman

    Sudeep Dutt
     

04 Oct, 2015

1 commit

  • This patch updates the MIC host daemon to work with corresponding
    changes in COSM. Other MIC daemon fixes, cleanups and enhancements as
    are also rolled into this patch. Changes to MIC sysfs ABI which go
    into effect with this patch are also documented.

    Reviewed-by: Sudeep Dutt
    Signed-off-by: Dasaratharaman Chandramouli
    Signed-off-by: Ashutosh Dixit
    Signed-off-by: Greg Kroah-Hartman

    Ashutosh Dixit
     

25 May, 2015

1 commit

  • This patch introduces the SCIF documentation in the header file
    and describes the IOCTL interface for user mode. mic_overview.txt
    is updated with documentation on SCIF and a new document
    describing SCIF in more details is available in scif_overview.txt.

    Reviewed-by: Nikhil Rao
    Reviewed-by: Ashutosh Dixit
    Signed-off-by: Sudeep Dutt
    Signed-off-by: Greg Kroah-Hartman

    Sudeep Dutt
     

12 Jul, 2014

1 commit


06 Oct, 2013

1 commit

  • This patch enables support for OSPM suspend and resume in the MIC
    driver. During a host suspend event, the driver performs an
    orderly shutdown of the cards if they are online. Upon resume, any
    cards that were previously online before suspend are rebooted.
    The driver performs an orderly shutdown of the card primarily to
    ensure that applications in the card are terminated and mounted
    devices are safely un-mounted before the card is powered down in
    the event of an OSPM suspend.

    The driver makes use of the MIC daemon to accomplish OSPM suspend
    and resume. The driver registers a PM notifier per MIC device.
    The devices get notified synchronously during PM_SUSPEND_PREPARE and
    PM_POST_SUSPEND phases.

    During the PM_SUSPEND_PREPARE phase, the driver performs one of the
    following three tasks.
    1) If the card is 'offline', the driver sets the card to a
    'suspended' state and returns.
    2) If the card is 'online', the driver initiates card shutdown by
    setting the card state to suspending. This notifies the MIC
    daemon which invokes shutdown and sets card state to 'suspended'.
    The driver returns after the shutdown is complete.
    3) If the card is already being shutdown, possibly by a host user
    space application, the driver sets the card state to 'suspended'
    and returns after the shutdown is complete.

    During the PM_POST_SUSPEND phase, the driver simply notifies the
    daemon and returns. The daemon boots those cards that were previously
    online during the suspend phase.

    Signed-off-by: Ashutosh Dixit
    Signed-off-by: Nikhil Rao
    Signed-off-by: Harshavardhan R Kharche
    Signed-off-by: Sudeep Dutt
    Signed-off-by: Dasaratharaman Chandramouli
    Signed-off-by: Greg Kroah-Hartman

    Dasaratharaman Chandramouli
     

27 Sep, 2013

1 commit

  • This patch introduces a sample user space daemon which
    implements the virtio device backends on the host. The daemon
    creates/removes/configures virtio device backends by communicating with
    the Intel MIC Host Driver. The virtio devices currently supported are
    virtio net, virtio console and virtio block. Virtio net supports TSO/GSO.
    The daemon also monitors card shutdown status and takes appropriate actions
    like killing the virtio backends and resetting the card upon card shutdown
    and crashes.

    Co-author: Ashutosh Dixit
    Co-author: Sudeep Dutt
    Signed-off-by: Ashutosh Dixit
    Signed-off-by: Caz Yokoyama
    Signed-off-by: Dasaratharaman Chandramouli
    Signed-off-by: Nikhil Rao
    Signed-off-by: Harshavardhan R Kharche
    Signed-off-by: Sudeep Dutt
    Acked-by: Yaozu (Eddie) Dong
    Signed-off-by: Greg Kroah-Hartman

    Caz Yokoyama