Revert "drm/i915/hwmon: Enable PL1 power limit"
Subsystems (2)
PATCH 1/1 Revert "drm/i915/hwmon: Enable PL1 power limit"
This reverts commit 0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596 ("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert 0349c41b0596.
--- drivers/gpu/drm/i915/i915_hwmon.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/gpu/drm/i915/i915_hwmon.c +0 -5
@@ -687,11 +687,6 @@ hwm_get_preregistration_info(struct drm_i915_private *i915)for_each_gt (gt, i915, i)hwm_energy (&hwmon->ddat_gt[i], &energy); } - -/* Enable PL1 power limit */ -if (i915_mmio_reg_valid (hwmon->rg.pkg_rapl_limit)) -hwm_locked_with_pm_intel_uncore_rmw (ddat, hwmon->rg.pkg_rapl_limit, -PKG_PWR_LIM_1_EN ,PKG_PWR_LIM_1_EN ); }void i915_hwmon_register (struct drm_i915_private *i915)
Signature · 1 line
2.38.0
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.
Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.
pushed to drm-intel-next and removed from drm-intel-fixes.
Thanks for the quick reaction.
Quoted 24 lines
Signed-off-by Ashutosh Dixit <[email protected]>--- drivers/gpu/drm/i915/i915_hwmon.c | 5 ----- 1 file changed, 5 deletions(-)drivers/gpu/drm/i915/i915_hwmon.c +0
-5@@ -687,11 +687,6 @@ hwm_get_preregistration_info(struct drm_i915_private *i915)for_each_gt (gt, i915, i)hwm_energy (&hwmon->ddat_gt[i], &energy); } - -/* Enable PL1 power limit */ -if (i915_mmio_reg_valid (hwmon->rg.pkg_rapl_limit)) -hwm_locked_with_pm_intel_uncore_rmw (ddat, hwmon->rg.pkg_rapl_limit, -PKG_PWR_LIM_1_EN ,PKG_PWR_LIM_1_EN ); }void i915_hwmon_register (struct drm_i915_private *i915)Signature · 1 line
2.38.0
Jani Nikula
maintainerQuoted 10 lines · Rodrigo Vivi
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.
Quoted 8 lines
Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.pushed to drm-intel-next and removed from drm-intel-fixes.
Thanks for the quick reaction.
Please always add Fixes: tags also to reverts.
I suppose we should fix dim to also detect reverts, but I ended up cherry-picking and pushing the original commit out to drm-intel-next-fixes before realizing it's been reverted.
BR,
Jani.
Quoted 25 lines
Quoted 25 lines
Signed-off-by Ashutosh Dixit <[email protected]>--- drivers/gpu/drm/i915/i915_hwmon.c | 5 ----- 1 file changed, 5 deletions(-)drivers/gpu/drm/i915/i915_hwmon.c +0
-5@@ -687,11 +687,6 @@ hwm_get_preregistration_info(struct drm_i915_private *i915)for_each_gt (gt, i915, i)hwm_energy (&hwmon->ddat_gt[i], &energy); } - -/* Enable PL1 power limit */ -if (i915_mmio_reg_valid (hwmon->rg.pkg_rapl_limit)) -hwm_locked_with_pm_intel_uncore_rmw (ddat, hwmon->rg.pkg_rapl_limit, -PKG_PWR_LIM_1_EN ,PKG_PWR_LIM_1_EN ); }void i915_hwmon_register (struct drm_i915_private *i915)Signature · 1 line
2.38.0
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Quoted 19 lines · Jani Nikula
Quoted 17 lines · Rodrigo Vivi
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.pushed to drm-intel-next and removed from drm-intel-fixes.
Quoted 7 lines
Quoted 1 line
Thanks for the quick reaction.
Please always add Fixes: tags also to reverts.
I suppose we should fix dim to also detect reverts, but I ended up cherry-picking and pushing the original commit out to drm-intel-next-fixes before realizing it's been reverted.
Oops, sorry!
Rodrigo Vivi
maintainerQuoted 22 lines · Ashutosh
Quoted 21 lines · Jani Nikula
Quoted 18 lines · Rodrigo Vivi
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.pushed to drm-intel-next and removed from drm-intel-fixes.
Thanks for the quick reaction.
Quoted 7 lines
Quoted 5 lines
Please always add Fixes: tags also to reverts.
I suppose we should fix dim to also detect reverts, but I ended up cherry-picking and pushing the original commit out to drm-intel-next-fixes before realizing it's been reverted.
Oops, sorry!
That's my mistake. I should had thought about this when pushing and removing from the fixes. I just realized yet, when this patch showed up in my -fixes cherry-pick again, but without the revert.
I'm sorry.
Reverted patch reappears!
Jani/Rodrigo,
Original Subject: Re: [Intel-gfx] [PATCH] Revert "drm/i915/hwmon: Enable PL1 power limit"
Quoted 30 lines · Rodrigo Vivi
Quoted 28 lines · Ashutosh
Quoted 26 lines · Jani Nikula
Quoted 10 lines · Rodrigo Vivi
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.Quoted 8 lines
Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.pushed to drm-intel-next and removed from drm-intel-fixes.
Thanks for the quick reaction.
Please always add Fixes: tags also to reverts.
I suppose we should fix dim to also detect reverts, but I ended up cherry-picking and pushing the original commit out to drm-intel-next-fixes before realizing it's been reverted.
Quoted 7 lines
Quoted 1 line
Oops, sorry!
That's my mistake. I should had thought about this when pushing and removing from the fixes. I just realized yet, when this patch showed up in my -fixes cherry-pick again, but without the revert.
I'm sorry.
Not sure if it's related to this, but the reverted patch below has reappeared on drm-tip. Newest on top:
ee892ea83d996 drm/i915/hwmon: Enable PL1 power limit 05d5562e401eb Revert "drm/i915/hwmon: Enable PL1 power limit" 0349c41b05968 drm/i915/hwmon: Enable PL1 power limit
The new patch is:
commit ee892ea83d99610fa33bea612de058e0955eec3a
Author: Ashutosh Dixit <[email protected]> AuthorDate: Fri Feb 3 07:53:09 2023 -0800 Commit: Jani Nikula <[email protected]> CommitDate: Mon Mar 13 11:38:05 2023 +0200
drm/i915/hwmon: Enable PL1 power limit
Sorry I couldn't track which branch did this new patch come from (looks like drm-tip itself?).
This is breaking ATSM again:
https://intel-gfx-ci.01.org/tree/drm-tip/bat-atsm-1.html
so needs to be reverted again and stay reverted. I could send a revert or any of you can also do it.
Thanks.
--
Ashutosh
Re: Reverted patch reappears!
Quoted 64 lines · Ashutosh
Jani/Rodrigo,
Original Subject: Re: [Intel-gfx] [PATCH] Revert "drm/i915/hwmon: Enable PL1 power limit"
Quoted 30 lines · Rodrigo Vivi
Quoted 28 lines · Ashutosh
Quoted 26 lines · Jani Nikula
Quoted 10 lines · Rodrigo Vivi
Quoted 9 lines · Ashutosh Dixit
This reverts commit
0349c41b05968befaffa5fbb7e73d0ee6004f610.
0349c41b0596("drm/i915/hwmon: Enable PL1 power limit") is incorrect and caused a major regression on ATSM. The change enabled the PL1 power limit but FW sets the default value of the PL1 limit to 0 which implies HW now works at minimum power and therefore the lowest effective frequency. This means all workloads now run slower resulting in even GuC FW load operations timing out, rendering ATSM unusable.Quoted 8 lines
Quoted 4 lines
A different solution to the original issue of the PL1 limit being disabled on ATSM is needed but till that is developed, revert
0349c41b0596.pushed to drm-intel-next and removed from drm-intel-fixes.
Thanks for the quick reaction.
Please always add Fixes: tags also to reverts.
I suppose we should fix dim to also detect reverts, but I ended up cherry-picking and pushing the original commit out to drm-intel-next-fixes before realizing it's been reverted.
Quoted 7 lines
Quoted 1 line
Oops, sorry!
That's my mistake. I should had thought about this when pushing and removing from the fixes. I just realized yet, when this patch showed up in my -fixes cherry-pick again, but without the revert.
I'm sorry.
Not sure if it's related to this, but the reverted patch below has reappeared on drm-tip. Newest on top:
ee892ea83d996drm/i915/hwmon: Enable PL1 power limit05d5562e401ebRevert "drm/i915/hwmon: Enable PL1 power limit"0349c41b05968drm/i915/hwmon: Enable PL1 power limitThe new patch is:
commit
ee892ea83d99610fa33bea612de058e0955eec3aAuthor: Ashutosh Dixit <[email protected]> AuthorDate: Fri Feb 3 07:53:09 2023 -0800 Commit: Jani Nikula <[email protected]> CommitDate: Mon Mar 13 11:38:05 2023 +0200drm/i915/hwmon: Enable PL1 power limit
Sorry I couldn't track which branch did this new patch come from (looks like drm-tip itself?).
Quoted 6 lines
This is breaking ATSM again:
https://intel-gfx-ci.01.org/tree/drm-tip/bat-atsm-1.html
so needs to be reverted again and stay reverted. I could send a revert or any of you can also do it.
I have sent out the revert of ee892ea83d996:
https://patchwork.freedesktop.org/series/113793/
ee892ea83d996 is also present in Linus' tree (in v6.3-rc2) so will need to be reverted there too. The previous two commits (the original commit and its revert) are not present in Linus' tree, at least yet.
Thanks.
--
Ashutosh
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Revert "drm/i915/hwmon: Enable PL1 power limit"
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: Revert "drm/i915/hwmon: Enable PL1 power limit"
URL : https://patchwork.freedesktop.org/series/113793/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for Revert "drm/i915/hwmon: Enable PL1 power limit"
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: Revert "drm/i915/hwmon: Enable PL1 power limit"
URL : https://patchwork.freedesktop.org/series/113793/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12716 -> Patchwork_113793v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_113793v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_113793v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/index.html
Participating hosts (36 -> 35)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_113793v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_suspend@basic-s2idle-without-i915:
- fi-rkl-11600: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/fi-rkl-11600/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/fi-rkl-11600/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_113793v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [PASS][3] -> [FAIL][4] ([i915#7229])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/fi-pnv-d510/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/fi-pnv-d510/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0@smem:
- {bat-rpls-1}: [ABORT][5] ([i915#5251] / [i915#6311] / [i915#7359]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/bat-rpls-1/igt@gem_exec_suspend@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/bat-rpls-1/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-glk-j4005: [DMESG-FAIL][7] ([i915#5334]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/fi-glk-j4005/igt@i915_selftest@live@gt_heartbeat.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/fi-glk-j4005/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@migrate:
- {bat-adlp-6}: [DMESG-FAIL][9] ([i915#7699]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/bat-adlp-6/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/bat-adlp-6/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- {bat-rpls-2}: [ABORT][11] ([i915#7982]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/bat-rpls-2/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank@b-vga1:
- fi-pnv-d510: [FAIL][13] ([i915#2122]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12716/fi-pnv-d510/igt@kms_flip@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/fi-pnv-d510/igt@kms_flip@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5251]: https://gitlab.freedesktop.org/drm/intel/issues/5251
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7359]: https://gitlab.freedesktop.org/drm/intel/issues/7359
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* Linux: CI_DRM_12716 -> Patchwork_113793v1
CI-20190529: 20190529
CI_DRM_12716: c1d382b53c093bd2aa035e962bfc081711f056b3 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7153: f47f859f13376958a2bd199423b1f0ff53dddbe0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_113793v1: c1d382b53c093bd2aa035e962bfc081711f056b3 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113793v1/index.html