Re: [PATCH v2 4/8] accel/qaic: Add control path

2023-03-01 Thread Jeffrey Hugo
On 3/1/2023 6:18 AM, Stanislaw Gruszka wrote: On Mon, Feb 06, 2023 at 08:41:41AM -0700, Jeffrey Hugo wrote: +* It turns out several of the iommu drivers don't combine adjacent +* regions, which is really what we expect based on the description of +* dma_map_sgtable(), so

Re: [PATCH v2 4/8] accel/qaic: Add control path

2023-03-01 Thread Stanislaw Gruszka
On Mon, Feb 06, 2023 at 08:41:41AM -0700, Jeffrey Hugo wrote: > + * It turns out several of the iommu drivers don't combine adjacent > + * regions, which is really what we expect based on the description of > + * dma_map_sgtable(), so lets see if that can be done. It makes our > me

[PATCH v2 4/8] accel/qaic: Add control path

2023-02-06 Thread Jeffrey Hugo
Add the control path component that talks to the management processor (QSM) to load workloads onto the AIC100 device. This implements the KMD portion of the NNC protocol over the QAIC_CONTROL MHI channel and the DRM_IOCTL_QAIC_MANAGE IOCTL to userspace. With this functionality, QAIC clients are a