All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Hugo <quic_jhugo@quicinc.com>
To: <dafna@fastmail.com>, <ogabbay@kernel.org>, <airlied@gmail.com>,
	<daniel@ffwll.ch>, <jacek.lawrynowicz@linux.intel.com>,
	<stanislaw.gruszka@linux.intel.com>,
	<dri-devel@lists.freedesktop.org>
Cc: <quic_pkanojiy@quicinc.com>, <quic_carlv@quicinc.com>,
	<quic_ajitpals@quicinc.com>, <linux-doc@vger.kernel.org>,
	<linux-arm-msm@vger.kernel.org>,
	Jeffrey Hugo <quic_jhugo@quicinc.com>
Subject: [PATCH v3 0/8] QAIC accel driver
Date: Mon, 6 Mar 2023 14:33:55 -0700	[thread overview]
Message-ID: <1678138443-2760-1-git-send-email-quic_jhugo@quicinc.com> (raw)

This series introduces a driver under the accel subsystem (QAIC -
Qualcomm AIC) for the Qualcomm Cloud AI 100 product (AIC100).  AIC100 is
a PCIe adapter card that hosts a dedicated machine learning inference
accelerator.

Depends on "accel: Build sub-directories based on config options" found at
https://lore.kernel.org/all/20230301162508.3963484-1-stanislaw.gruszka@linux.intel.com/

The previous version (v2) can be found at:
https://lore.kernel.org/all/1675698105-19025-1-git-send-email-quic_jhugo@quicinc.com/

v3:
-Various style updates and word smithing
-Remove unused function declarations
-Drop iommu workaround for sg lists and outdated reserve_pages()
-Remove unnecessary includes
-Refactor qaic_pci_probe()
-Use FIELD_PREP for ENCODE_SEM
-Gate qaic subdirectory on the kconfig symbol
-Add dri-devel@lists.freedesktop.org to MAINTAINERS entry
-Rename copy_sgt()
-Correct guard macro for qaic.h and cplusplus macro
-Add comment in qaic_mhi_remove
-Fix qaic_open use after free
-Use devm allocs in qaic_mhi_register_controller()
-Remove partition device ioctl.

v2:
-Addressed comments from RFC
-Reduced the code to the core minimum by dropping telemetery, etc
-Conversion to accel subsystem
-Dropped versioning
-Add mhi_qaic_cntl component
-Restructure the documentation
-Pull in a few fixes from the downstream tree

Jeffrey Hugo (7):
  accel/qaic: Add documentation for AIC100 accelerator driver
  accel/qaic: Add uapi and core driver file
  accel/qaic: Add MHI controller
  accel/qaic: Add control path
  accel/qaic: Add datapath
  accel/qaic: Add qaic driver to the build system
  MAINTAINERS: Add entry for QAIC driver

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Add mhi_qaic_cntl

 Documentation/accel/index.rst       |    1 +
 Documentation/accel/qaic/aic100.rst |  501 ++++++++++
 Documentation/accel/qaic/index.rst  |   13 +
 Documentation/accel/qaic/qaic.rst   |  169 ++++
 MAINTAINERS                         |    9 +
 drivers/accel/Kconfig               |    1 +
 drivers/accel/Makefile              |    1 +
 drivers/accel/qaic/Kconfig          |   23 +
 drivers/accel/qaic/Makefile         |   13 +
 drivers/accel/qaic/mhi_controller.c |  563 +++++++++++
 drivers/accel/qaic/mhi_controller.h |   16 +
 drivers/accel/qaic/mhi_qaic_ctrl.c  |  581 +++++++++++
 drivers/accel/qaic/mhi_qaic_ctrl.h  |   11 +
 drivers/accel/qaic/qaic.h           |  282 ++++++
 drivers/accel/qaic/qaic_control.c   | 1496 ++++++++++++++++++++++++++++
 drivers/accel/qaic/qaic_data.c      | 1878 +++++++++++++++++++++++++++++++++++
 drivers/accel/qaic/qaic_drv.c       |  648 ++++++++++++
 include/uapi/drm/qaic_accel.h       |  397 ++++++++
 18 files changed, 6603 insertions(+)
 create mode 100644 Documentation/accel/qaic/aic100.rst
 create mode 100644 Documentation/accel/qaic/index.rst
 create mode 100644 Documentation/accel/qaic/qaic.rst
 create mode 100644 drivers/accel/qaic/Kconfig
 create mode 100644 drivers/accel/qaic/Makefile
 create mode 100644 drivers/accel/qaic/mhi_controller.c
 create mode 100644 drivers/accel/qaic/mhi_controller.h
 create mode 100644 drivers/accel/qaic/mhi_qaic_ctrl.c
 create mode 100644 drivers/accel/qaic/mhi_qaic_ctrl.h
 create mode 100644 drivers/accel/qaic/qaic.h
 create mode 100644 drivers/accel/qaic/qaic_control.c
 create mode 100644 drivers/accel/qaic/qaic_data.c
 create mode 100644 drivers/accel/qaic/qaic_drv.c
 create mode 100644 include/uapi/drm/qaic_accel.h

-- 
2.7.4


WARNING: multiple messages have this Message-ID (diff)
From: Jeffrey Hugo <quic_jhugo@quicinc.com>
To: <dafna@fastmail.com>, <ogabbay@kernel.org>, <airlied@gmail.com>,
	<daniel@ffwll.ch>, <jacek.lawrynowicz@linux.intel.com>,
	<stanislaw.gruszka@linux.intel.com>,
	<dri-devel@lists.freedesktop.org>
Cc: Jeffrey Hugo <quic_jhugo@quicinc.com>,
	linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	quic_ajitpals@quicinc.com, quic_pkanojiy@quicinc.com,
	quic_carlv@quicinc.com
Subject: [PATCH v3 0/8] QAIC accel driver
Date: Mon, 6 Mar 2023 14:33:55 -0700	[thread overview]
Message-ID: <1678138443-2760-1-git-send-email-quic_jhugo@quicinc.com> (raw)

This series introduces a driver under the accel subsystem (QAIC -
Qualcomm AIC) for the Qualcomm Cloud AI 100 product (AIC100).  AIC100 is
a PCIe adapter card that hosts a dedicated machine learning inference
accelerator.

Depends on "accel: Build sub-directories based on config options" found at
https://lore.kernel.org/all/20230301162508.3963484-1-stanislaw.gruszka@linux.intel.com/

The previous version (v2) can be found at:
https://lore.kernel.org/all/1675698105-19025-1-git-send-email-quic_jhugo@quicinc.com/

v3:
-Various style updates and word smithing
-Remove unused function declarations
-Drop iommu workaround for sg lists and outdated reserve_pages()
-Remove unnecessary includes
-Refactor qaic_pci_probe()
-Use FIELD_PREP for ENCODE_SEM
-Gate qaic subdirectory on the kconfig symbol
-Add dri-devel@lists.freedesktop.org to MAINTAINERS entry
-Rename copy_sgt()
-Correct guard macro for qaic.h and cplusplus macro
-Add comment in qaic_mhi_remove
-Fix qaic_open use after free
-Use devm allocs in qaic_mhi_register_controller()
-Remove partition device ioctl.

v2:
-Addressed comments from RFC
-Reduced the code to the core minimum by dropping telemetery, etc
-Conversion to accel subsystem
-Dropped versioning
-Add mhi_qaic_cntl component
-Restructure the documentation
-Pull in a few fixes from the downstream tree

Jeffrey Hugo (7):
  accel/qaic: Add documentation for AIC100 accelerator driver
  accel/qaic: Add uapi and core driver file
  accel/qaic: Add MHI controller
  accel/qaic: Add control path
  accel/qaic: Add datapath
  accel/qaic: Add qaic driver to the build system
  MAINTAINERS: Add entry for QAIC driver

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Add mhi_qaic_cntl

 Documentation/accel/index.rst       |    1 +
 Documentation/accel/qaic/aic100.rst |  501 ++++++++++
 Documentation/accel/qaic/index.rst  |   13 +
 Documentation/accel/qaic/qaic.rst   |  169 ++++
 MAINTAINERS                         |    9 +
 drivers/accel/Kconfig               |    1 +
 drivers/accel/Makefile              |    1 +
 drivers/accel/qaic/Kconfig          |   23 +
 drivers/accel/qaic/Makefile         |   13 +
 drivers/accel/qaic/mhi_controller.c |  563 +++++++++++
 drivers/accel/qaic/mhi_controller.h |   16 +
 drivers/accel/qaic/mhi_qaic_ctrl.c  |  581 +++++++++++
 drivers/accel/qaic/mhi_qaic_ctrl.h  |   11 +
 drivers/accel/qaic/qaic.h           |  282 ++++++
 drivers/accel/qaic/qaic_control.c   | 1496 ++++++++++++++++++++++++++++
 drivers/accel/qaic/qaic_data.c      | 1878 +++++++++++++++++++++++++++++++++++
 drivers/accel/qaic/qaic_drv.c       |  648 ++++++++++++
 include/uapi/drm/qaic_accel.h       |  397 ++++++++
 18 files changed, 6603 insertions(+)
 create mode 100644 Documentation/accel/qaic/aic100.rst
 create mode 100644 Documentation/accel/qaic/index.rst
 create mode 100644 Documentation/accel/qaic/qaic.rst
 create mode 100644 drivers/accel/qaic/Kconfig
 create mode 100644 drivers/accel/qaic/Makefile
 create mode 100644 drivers/accel/qaic/mhi_controller.c
 create mode 100644 drivers/accel/qaic/mhi_controller.h
 create mode 100644 drivers/accel/qaic/mhi_qaic_ctrl.c
 create mode 100644 drivers/accel/qaic/mhi_qaic_ctrl.h
 create mode 100644 drivers/accel/qaic/qaic.h
 create mode 100644 drivers/accel/qaic/qaic_control.c
 create mode 100644 drivers/accel/qaic/qaic_data.c
 create mode 100644 drivers/accel/qaic/qaic_drv.c
 create mode 100644 include/uapi/drm/qaic_accel.h

-- 
2.7.4


             reply	other threads:[~2023-03-06 21:35 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 21:33 Jeffrey Hugo [this message]
2023-03-06 21:33 ` [PATCH v3 0/8] QAIC accel driver Jeffrey Hugo
2023-03-06 21:33 ` [PATCH v3 1/8] accel/qaic: Add documentation for AIC100 accelerator driver Jeffrey Hugo
2023-03-06 21:33   ` Jeffrey Hugo
2023-03-13 12:47   ` Jacek Lawrynowicz
2023-03-13 12:47     ` Jacek Lawrynowicz
2023-03-06 21:33 ` [PATCH v3 2/8] accel/qaic: Add uapi and core driver file Jeffrey Hugo
2023-03-06 21:33   ` Jeffrey Hugo
2023-03-13 13:21   ` Jacek Lawrynowicz
2023-03-13 13:21     ` Jacek Lawrynowicz
2023-03-13 17:37     ` Jeffrey Hugo
2023-03-13 17:37       ` Jeffrey Hugo
2023-03-14  9:55       ` Jacek Lawrynowicz
2023-03-14  9:55         ` Jacek Lawrynowicz
2023-03-14 15:41         ` Jeffrey Hugo
2023-03-14 15:41           ` Jeffrey Hugo
2023-03-06 21:33 ` [PATCH v3 3/8] accel/qaic: Add MHI controller Jeffrey Hugo
2023-03-06 21:33   ` Jeffrey Hugo
2023-03-13 13:39   ` Jacek Lawrynowicz
2023-03-13 13:39     ` Jacek Lawrynowicz
2023-03-13 17:45     ` Jeffrey Hugo
2023-03-13 17:45       ` Jeffrey Hugo
2023-03-06 21:33 ` [PATCH v3 4/8] accel/qaic: Add control path Jeffrey Hugo
2023-03-06 21:33   ` Jeffrey Hugo
2023-03-14 10:29   ` Jacek Lawrynowicz
2023-03-14 10:29     ` Jacek Lawrynowicz
2023-03-14 17:26     ` Jeffrey Hugo
2023-03-14 17:26       ` Jeffrey Hugo
2023-03-15 21:50       ` Jeffrey Hugo
2023-03-15 21:50         ` Jeffrey Hugo
2023-03-06 21:34 ` [PATCH v3 5/8] accel/qaic: Add datapath Jeffrey Hugo
2023-03-06 21:34   ` Jeffrey Hugo
2023-03-14 10:58   ` Jacek Lawrynowicz
2023-03-14 10:58     ` Jacek Lawrynowicz
2023-03-14 17:48     ` Jeffrey Hugo
2023-03-14 17:48       ` Jeffrey Hugo
2023-03-06 21:34 ` [PATCH v3 6/8] accel/qaic: Add mhi_qaic_cntl Jeffrey Hugo
2023-03-06 21:34   ` Jeffrey Hugo
2023-03-14 12:19   ` Jacek Lawrynowicz
2023-03-14 12:19     ` Jacek Lawrynowicz
2023-03-14 18:26     ` Jeffrey Hugo
2023-03-14 18:26       ` Jeffrey Hugo
2023-03-06 21:34 ` [PATCH v3 7/8] accel/qaic: Add qaic driver to the build system Jeffrey Hugo
2023-03-06 21:34   ` Jeffrey Hugo
2023-03-13 13:25   ` Jacek Lawrynowicz
2023-03-13 13:25     ` Jacek Lawrynowicz
2023-03-06 21:34 ` [PATCH v3 8/8] MAINTAINERS: Add entry for QAIC driver Jeffrey Hugo
2023-03-06 21:34   ` Jeffrey Hugo
2023-03-14  9:59   ` Jacek Lawrynowicz
2023-03-14  9:59     ` Jacek Lawrynowicz
2023-03-14 16:02     ` Jeffrey Hugo
2023-03-14 16:02       ` Jeffrey Hugo
2023-03-16 17:04     ` Jeffrey Hugo
2023-03-16 17:04       ` Jeffrey Hugo
2023-03-17 14:04       ` Maxime Ripard
2023-03-17 14:04         ` Maxime Ripard
2023-03-17 15:46         ` Jeffrey Hugo
2023-03-17 15:46           ` Jeffrey Hugo
2023-03-20  7:03           ` Oded Gabbay
2023-03-20  7:03             ` Oded Gabbay
2023-03-10 10:02 ` [PATCH v3 0/8] QAIC accel driver Stanislaw Gruszka
2023-03-10 10:02   ` Stanislaw Gruszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678138443-2760-1-git-send-email-quic_jhugo@quicinc.com \
    --to=quic_jhugo@quicinc.com \
    --cc=airlied@gmail.com \
    --cc=dafna@fastmail.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jacek.lawrynowicz@linux.intel.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=ogabbay@kernel.org \
    --cc=quic_ajitpals@quicinc.com \
    --cc=quic_carlv@quicinc.com \
    --cc=quic_pkanojiy@quicinc.com \
    --cc=stanislaw.gruszka@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.