mbox series

[00/14] accel/ivpu: Changes for 6.14

Message ID 20250107173238.381120-1-maciej.falkowski@linux.intel.com (mailing list archive)
Headers show
Series accel/ivpu: Changes for 6.14 | expand

Message

Maciej Falkowski Jan. 7, 2025, 5:32 p.m. UTC
This patchset contains latest changes for Intel NPU driver
including enabling HWS by default, adding memory utilization,
MMU optimizations, and others.

Jacek Lawrynowicz (1):
  accel/ivpu: Enable HWS by default on all platforms

Karol Wachowski (11):
  accel/ivpu: Separate DB ID and CMDQ ID allocations from CMDQ
    allocation
  accel/ivpu: Add API for command queue create/destroy/submit
  accel/ivpu: Abort all jobs after command queue unregister
  accel/ivpu: Dump only first MMU fault from single context
  accel/ivpu: Move parts of MMU event IRQ handling to thread handler
  accel/ivpu: Fix missing MMU events from reserved SSID
  accel/ivpu: Set command queue management capability based on HWS
  accel/ivpu: Fix locking order in ivpu_cmdq_destroy_ioctl
  accel/ivpu: Fix locking order in ivpu_job_submit
  accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW
  accel/ivpu: Add platform detection for presilicon

Maciej Falkowski (2):
  accel/ivpu: Expose NPU memory utilization info in sysfs
  accel/ivpu: Use workqueue for IRQ handling

 drivers/accel/ivpu/ivpu_drv.c             |  88 ++--
 drivers/accel/ivpu/ivpu_drv.h             |  10 +-
 drivers/accel/ivpu/ivpu_fw.c              |  13 +-
 drivers/accel/ivpu/ivpu_hw.c              |  46 +-
 drivers/accel/ivpu/ivpu_hw.h              |   9 -
 drivers/accel/ivpu/ivpu_hw_btrs.c         |  10 +-
 drivers/accel/ivpu/ivpu_hw_btrs.h         |   1 +
 drivers/accel/ivpu/ivpu_hw_btrs_lnl_reg.h |   1 +
 drivers/accel/ivpu/ivpu_ipc.c             |   7 +-
 drivers/accel/ivpu/ivpu_ipc.h             |   2 +-
 drivers/accel/ivpu/ivpu_job.c             | 508 ++++++++++++++++------
 drivers/accel/ivpu/ivpu_job.h             |   8 +-
 drivers/accel/ivpu/ivpu_mmu.c             | 112 ++++-
 drivers/accel/ivpu/ivpu_mmu.h             |   2 +
 drivers/accel/ivpu/ivpu_mmu_context.c     |  13 -
 drivers/accel/ivpu/ivpu_mmu_context.h     |   2 -
 drivers/accel/ivpu/ivpu_pm.c              |   3 +-
 drivers/accel/ivpu/ivpu_pm.h              |   2 +-
 drivers/accel/ivpu/ivpu_sysfs.c           |  35 +-
 include/uapi/drm/ivpu_accel.h             |  84 ++++
 20 files changed, 661 insertions(+), 295 deletions(-)

Comments

Simona Vetter Jan. 8, 2025, 6:19 p.m. UTC | #1
On Tue, Jan 07, 2025 at 06:32:23PM +0100, Maciej Falkowski wrote:
> This patchset contains latest changes for Intel NPU driver
> including enabling HWS by default, adding memory utilization,
> MMU optimizations, and others.

Note that we generally cut feauture merges around -rc6 for drm subtrees,
so this is cutting it awfully close. But I guess should be ok because big
holidays and all that. In general would be better to send patches as you
go instead of a big dump before the next merge window.
-Sima

> 
> Jacek Lawrynowicz (1):
>   accel/ivpu: Enable HWS by default on all platforms
> 
> Karol Wachowski (11):
>   accel/ivpu: Separate DB ID and CMDQ ID allocations from CMDQ
>     allocation
>   accel/ivpu: Add API for command queue create/destroy/submit
>   accel/ivpu: Abort all jobs after command queue unregister
>   accel/ivpu: Dump only first MMU fault from single context
>   accel/ivpu: Move parts of MMU event IRQ handling to thread handler
>   accel/ivpu: Fix missing MMU events from reserved SSID
>   accel/ivpu: Set command queue management capability based on HWS
>   accel/ivpu: Fix locking order in ivpu_cmdq_destroy_ioctl
>   accel/ivpu: Fix locking order in ivpu_job_submit
>   accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW
>   accel/ivpu: Add platform detection for presilicon
> 
> Maciej Falkowski (2):
>   accel/ivpu: Expose NPU memory utilization info in sysfs
>   accel/ivpu: Use workqueue for IRQ handling
> 
>  drivers/accel/ivpu/ivpu_drv.c             |  88 ++--
>  drivers/accel/ivpu/ivpu_drv.h             |  10 +-
>  drivers/accel/ivpu/ivpu_fw.c              |  13 +-
>  drivers/accel/ivpu/ivpu_hw.c              |  46 +-
>  drivers/accel/ivpu/ivpu_hw.h              |   9 -
>  drivers/accel/ivpu/ivpu_hw_btrs.c         |  10 +-
>  drivers/accel/ivpu/ivpu_hw_btrs.h         |   1 +
>  drivers/accel/ivpu/ivpu_hw_btrs_lnl_reg.h |   1 +
>  drivers/accel/ivpu/ivpu_ipc.c             |   7 +-
>  drivers/accel/ivpu/ivpu_ipc.h             |   2 +-
>  drivers/accel/ivpu/ivpu_job.c             | 508 ++++++++++++++++------
>  drivers/accel/ivpu/ivpu_job.h             |   8 +-
>  drivers/accel/ivpu/ivpu_mmu.c             | 112 ++++-
>  drivers/accel/ivpu/ivpu_mmu.h             |   2 +
>  drivers/accel/ivpu/ivpu_mmu_context.c     |  13 -
>  drivers/accel/ivpu/ivpu_mmu_context.h     |   2 -
>  drivers/accel/ivpu/ivpu_pm.c              |   3 +-
>  drivers/accel/ivpu/ivpu_pm.h              |   2 +-
>  drivers/accel/ivpu/ivpu_sysfs.c           |  35 +-
>  include/uapi/drm/ivpu_accel.h             |  84 ++++
>  20 files changed, 661 insertions(+), 295 deletions(-)
> 
> -- 
> 2.43.0
>
Jacek Lawrynowicz Jan. 9, 2025, 8:14 a.m. UTC | #2
Hi,

On 1/8/2025 7:19 PM, Simona Vetter wrote:
> On Tue, Jan 07, 2025 at 06:32:23PM +0100, Maciej Falkowski wrote:
>> This patchset contains latest changes for Intel NPU driver
>> including enabling HWS by default, adding memory utilization,
>> MMU optimizations, and others.
> 
> Note that we generally cut feauture merges around -rc6 for drm subtrees,
> so this is cutting it awfully close. But I guess should be ok because big
> holidays and all that. In general would be better to send patches as you
> go instead of a big dump before the next merge window.
> -Sima

Yeah, sorry about this. We had a 3 week delay due to holidays.
We will try to post patches weekly this year.

Regards,
Jacek
Jacek Lawrynowicz Jan. 9, 2025, 8:43 a.m. UTC | #3
Applied to drm-misc-next

On 1/7/2025 6:32 PM, Maciej Falkowski wrote:
> This patchset contains latest changes for Intel NPU driver
> including enabling HWS by default, adding memory utilization,
> MMU optimizations, and others.
> 
> Jacek Lawrynowicz (1):
>   accel/ivpu: Enable HWS by default on all platforms
> 
> Karol Wachowski (11):
>   accel/ivpu: Separate DB ID and CMDQ ID allocations from CMDQ
>     allocation
>   accel/ivpu: Add API for command queue create/destroy/submit
>   accel/ivpu: Abort all jobs after command queue unregister
>   accel/ivpu: Dump only first MMU fault from single context
>   accel/ivpu: Move parts of MMU event IRQ handling to thread handler
>   accel/ivpu: Fix missing MMU events from reserved SSID
>   accel/ivpu: Set command queue management capability based on HWS
>   accel/ivpu: Fix locking order in ivpu_cmdq_destroy_ioctl
>   accel/ivpu: Fix locking order in ivpu_job_submit
>   accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW
>   accel/ivpu: Add platform detection for presilicon
> 
> Maciej Falkowski (2):
>   accel/ivpu: Expose NPU memory utilization info in sysfs
>   accel/ivpu: Use workqueue for IRQ handling
> 
>  drivers/accel/ivpu/ivpu_drv.c             |  88 ++--
>  drivers/accel/ivpu/ivpu_drv.h             |  10 +-
>  drivers/accel/ivpu/ivpu_fw.c              |  13 +-
>  drivers/accel/ivpu/ivpu_hw.c              |  46 +-
>  drivers/accel/ivpu/ivpu_hw.h              |   9 -
>  drivers/accel/ivpu/ivpu_hw_btrs.c         |  10 +-
>  drivers/accel/ivpu/ivpu_hw_btrs.h         |   1 +
>  drivers/accel/ivpu/ivpu_hw_btrs_lnl_reg.h |   1 +
>  drivers/accel/ivpu/ivpu_ipc.c             |   7 +-
>  drivers/accel/ivpu/ivpu_ipc.h             |   2 +-
>  drivers/accel/ivpu/ivpu_job.c             | 508 ++++++++++++++++------
>  drivers/accel/ivpu/ivpu_job.h             |   8 +-
>  drivers/accel/ivpu/ivpu_mmu.c             | 112 ++++-
>  drivers/accel/ivpu/ivpu_mmu.h             |   2 +
>  drivers/accel/ivpu/ivpu_mmu_context.c     |  13 -
>  drivers/accel/ivpu/ivpu_mmu_context.h     |   2 -
>  drivers/accel/ivpu/ivpu_pm.c              |   3 +-
>  drivers/accel/ivpu/ivpu_pm.h              |   2 +-
>  drivers/accel/ivpu/ivpu_sysfs.c           |  35 +-
>  include/uapi/drm/ivpu_accel.h             |  84 ++++
>  20 files changed, 661 insertions(+), 295 deletions(-)
>