All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Karthik Poosa <karthik.poosa@intel.com>
Cc: <intel-xe@lists.freedesktop.org>, <anshuman.gupta@intel.com>,
	<badal.nilawar@intel.com>, <raag.jadav@intel.com>,
	<riana.tauro@intel.com>, <sk.anirban@intel.com>,
	<mallesh.koujalagi@intel.com>, <soham.purkait@intel.com>,
	<ravi.kishore.koppuravuri@intel.com>
Subject: Re: [PATCH v3 0/2] Expose power1_cap_max
Date: Thu, 26 Nov 2026 13:12:40 -0500	[thread overview]
Message-ID: <awh2mJ_DuK2eI3a7@intel.com> (raw)
In-Reply-To: <20261126055530.1629019-1-karthik.poosa@intel.com>

On Thu, Nov 26, 2026 at 11:25:28AM +0530, Karthik Poosa wrote:
> This series adds a power<i>_cap_max attribute and improves how mailbox
> power limits are handled when a boot-time limit read fails.
> 
> Patch 1 adds a read-only power<i>_cap_max attribute for the card and
> package channels. It reports the PL2 limit that firmware sets at boot,
> which is the highest value userspace can write to power<i>_cap.
> 
> Patch 2 always sets the mailbox power, energy and time units. Before,
> they stayed 0 if any boot-time limit read failed, so power was reported
> incorrectly. It also bases power_max/power_cap visibility on the boot
> limits. That way, an attribute whose boot read failed can no longer be
> written, which would have set a 0 limit.
> 
> v1: https://patchwork.freedesktop.org/series/179047/
> 
> v2:
> - Update KernelVersion to 7.5 in Xe hwmon documentation. (Rodrigo)
> - Add patch 2 to address review comments from Sashiko.
> 
> v3:
>  - Address minor nit comment from Mallesh.
>  - Make patch 2 as first patch in series. (Rodrigo)

Thank you, pushed to drm-xe-next.

> 
> Karthik Poosa (2):
>   drm/xe/hwmon: Improve mailbox power limit init and visibility
>   drm/xe/hwmon: Expose powerX_cap_max
> 
>  .../ABI/testing/sysfs-driver-intel-xe-hwmon   | 25 +++++++++++++++++
>  drivers/gpu/drm/xe/xe_hwmon.c                 | 27 +++++++++++++------
>  2 files changed, 44 insertions(+), 8 deletions(-)
> 
> -- 
> 2.34.1
> 

      parent reply	other threads:[~2026-11-26 18:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  5:55 [PATCH v3 0/2] Expose power1_cap_max Karthik Poosa
2026-11-26  5:55 ` [PATCH v3 1/2] drm/xe/hwmon: Improve mailbox power limit init and visibility Karthik Poosa
2026-11-26  5:58   ` Mallesh, Koujalagi
2026-11-26  5:55 ` [PATCH v3 2/2] drm/xe/hwmon: Expose powerX_cap_max Karthik Poosa
2026-11-26  6:03 ` ✓ CI.KUnit: success for Expose power1_cap_max (rev4) Patchwork
2026-11-26  6:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-26 12:12 ` ✓ Xe.CI.FULL: " Patchwork
2026-11-26 18:12 ` Rodrigo Vivi [this message]

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=awh2mJ_DuK2eI3a7@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=karthik.poosa@intel.com \
    --cc=mallesh.koujalagi@intel.com \
    --cc=raag.jadav@intel.com \
    --cc=ravi.kishore.koppuravuri@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=sk.anirban@intel.com \
    --cc=soham.purkait@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.