mbox series

[SRU,N,0/3] Fix unresponsive system in specific workloads

Message ID 20240819124334.2182643-1-aaron.ma@canonical.com
Headers show
Series Fix unresponsive system in specific workloads | expand

Message

Aaron Ma Aug. 19, 2024, 12:43 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2076361

[Impact]
To encode some video files with ffmpeg, and the system becomes completely
unresponsive for as long as the process executes.

[Fix]
Enable Wa_14019159160 and  Wa_16019325821 for MTL.

[Test]
Tested on hardware, the system works fine when run the same script to
encode.

[Where problems could occur]
It may break intel i915 driver.

John Harrison (3):
  drm/i915: Enable Wa_16019325821
  drm/i915/guc: Add support for w/a KLVs
  drm/i915/guc: Enable Wa_14019159160

 drivers/gpu/drm/i915/gt/gen8_engine_cs.c      | 22 +++--
 drivers/gpu/drm/i915/gt/intel_engine_types.h  |  8 +-
 .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |  1 +
 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h |  7 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  5 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c    | 89 ++++++++++++++++++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  6 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |  8 +-
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  8 +-
 10 files changed, 141 insertions(+), 15 deletions(-)

Comments

Manuel Diewald Aug. 22, 2024, 9:05 a.m. UTC | #1
On Mon, Aug 19, 2024 at 08:43:31PM +0800, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/2076361
> 
> [Impact]
> To encode some video files with ffmpeg, and the system becomes completely
> unresponsive for as long as the process executes.
> 
> [Fix]
> Enable Wa_14019159160 and  Wa_16019325821 for MTL.
> 
> [Test]
> Tested on hardware, the system works fine when run the same script to
> encode.
> 
> [Where problems could occur]
> It may break intel i915 driver.
> 
> John Harrison (3):
>   drm/i915: Enable Wa_16019325821
>   drm/i915/guc: Add support for w/a KLVs
>   drm/i915/guc: Enable Wa_14019159160
> 
>  drivers/gpu/drm/i915/gt/gen8_engine_cs.c      | 22 +++--
>  drivers/gpu/drm/i915/gt/intel_engine_types.h  |  8 +-
>  .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |  1 +
>  drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h |  7 ++
>  drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  5 ++
>  drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 +
>  drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c    | 89 ++++++++++++++++++-
>  drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  6 ++
>  drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |  8 +-
>  .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  8 +-
>  10 files changed, 141 insertions(+), 15 deletions(-)
> 
> -- 
> 2.43.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Thibault Ferrante Aug. 22, 2024, 12:34 p.m. UTC | #2
On 19-08-2024 14:43, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/2076361
> 
> [Impact]
> To encode some video files with ffmpeg, and the system becomes completely
> unresponsive for as long as the process executes.
> 
> [Fix]
> Enable Wa_14019159160 and  Wa_16019325821 for MTL.
> 
> [Test]
> Tested on hardware, the system works fine when run the same script to
> encode.
> 
> [Where problems could occur]
> It may break intel i915 driver.
> 
> John Harrison (3):
>    drm/i915: Enable Wa_16019325821
>    drm/i915/guc: Add support for w/a KLVs
>    drm/i915/guc: Enable Wa_14019159160
> 
>   drivers/gpu/drm/i915/gt/gen8_engine_cs.c      | 22 +++--
>   drivers/gpu/drm/i915/gt/intel_engine_types.h  |  8 +-
>   .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |  1 +
>   drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h |  7 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  5 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 +
>   drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c    | 89 ++++++++++++++++++-
>   drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  6 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |  8 +-
>   .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  8 +-
>   10 files changed, 141 insertions(+), 15 deletions(-)
> 

Acked-by: Thibault Ferrante <thibault.ferrante@canonical.com>

--
Thibault
Roxana Nicolescu Aug. 26, 2024, 7:19 a.m. UTC | #3
On 19/08/2024 14:43, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/2076361
>
> [Impact]
> To encode some video files with ffmpeg, and the system becomes completely
> unresponsive for as long as the process executes.
>
> [Fix]
> Enable Wa_14019159160 and  Wa_16019325821 for MTL.
>
> [Test]
> Tested on hardware, the system works fine when run the same script to
> encode.
>
> [Where problems could occur]
> It may break intel i915 driver.
>
> John Harrison (3):
>    drm/i915: Enable Wa_16019325821
>    drm/i915/guc: Add support for w/a KLVs
>    drm/i915/guc: Enable Wa_14019159160
>
>   drivers/gpu/drm/i915/gt/gen8_engine_cs.c      | 22 +++--
>   drivers/gpu/drm/i915/gt/intel_engine_types.h  |  8 +-
>   .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |  1 +
>   drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h |  7 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  5 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 +
>   drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c    | 89 ++++++++++++++++++-
>   drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  6 ++
>   drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |  8 +-
>   .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  8 +-
>   10 files changed, 141 insertions(+), 15 deletions(-)
>
Applied to noble:linux master-next branch. Thanks!