Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dhruva Gole <d-gole@ti.com>
To: Markus Schneider-Pargmann <msp@baylibre.com>
Cc: Nishanth Menon <nm@ti.com>, Tero Kristo <kristo@kernel.org>,
	"Santosh Shilimkar" <ssantosh@kernel.org>,
	Vibhore Vardhan <vibhore@ti.com>,
	"Kevin Hilman" <khilman@baylibre.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, Georgi Vlaev <g-vlaev@ti.com>
Subject: Re: [PATCH v11 1/4] firmware: ti_sci: Add support for querying the firmware caps
Date: Fri, 30 Aug 2024 09:59:58 +0530	[thread overview]
Message-ID: <20240830042958.33d35pfos7uv4wqb@lcpd911> (raw)
In-Reply-To: <20240829201606.1407773-2-msp@baylibre.com>

On Aug 29, 2024 at 22:16:02 +0200, Markus Schneider-Pargmann wrote:
> From: Georgi Vlaev <g-vlaev@ti.com>
> 
> Add support for the TISCI_MSG_QUERY_FW_CAPS message, used to retrieve
> the firmware capabilities of the currently running system firmware. The
> message belongs to the TISCI general core message API [1] and is
> available in SysFW version 08.04.03 and above. Currently, the message is
> supported on devices with split architecture of the system firmware (DM
> + TIFS) like AM62x. Old revisions or not yet supported platforms will
> NACK this request.
> 
> We're using this message locally in ti_sci.c to get the low power
> features of the FW/SoC. As there's no other kernel consumers yet, this
> is not added to struct ti_sci_core_ops.
> 
> Sysfw version >= 10.00.04 support LPM_DM_MANAGED capability [2], where
> Device Mgr firmware now manages which low power mode is chosen. Going
> forward, this is the default configuration supported for TI AM62 family
> of devices. The state chosen by the DM can be influenced by sending
> constraints using the new LPM constraint APIs.
> 
> [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html
> [2] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-msg-query-fw-caps
> 
> Signed-off-by: Georgi Vlaev <g-vlaev@ti.com>
> [vibhore@ti.com: Support for LPM_DM_MANAGED mode]
> Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> Tested-by: Dhruva Gole <d-gole@ti.com>
> Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
> ---
>  drivers/firmware/ti_sci.c | 74 ++++++++++++++++++++++++++++++++++++++-
>  drivers/firmware/ti_sci.h | 22 ++++++++++++
>  2 files changed, 95 insertions(+), 1 deletion(-)
> 

[..snip..]

No remaining concerns,
Acked-by: Dhruva Gole <d-gole@ti.com>

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated


  reply	other threads:[~2024-08-30  4:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 20:16 [PATCH v11 0/4] firmware: ti_sci: Introduce system suspend support Markus Schneider-Pargmann
2024-08-29 20:16 ` [PATCH v11 1/4] firmware: ti_sci: Add support for querying the firmware caps Markus Schneider-Pargmann
2024-08-30  4:29   ` Dhruva Gole [this message]
2024-08-29 20:16 ` [PATCH v11 2/4] firmware: ti_sci: Add system suspend and resume call Markus Schneider-Pargmann
2024-08-29 20:16 ` [PATCH v11 3/4] firmware: ti_sci: Introduce Power Management Ops Markus Schneider-Pargmann
2024-08-30  4:35   ` Dhruva Gole
2024-08-29 20:16 ` [PATCH v11 4/4] firmware: ti_sci: add CPU latency constraint management Markus Schneider-Pargmann
2024-09-03  0:54   ` Nathan Chancellor
2024-09-03 12:45     ` Nishanth Menon
2024-09-03 15:23       ` Markus Schneider-Pargmann
2024-09-01 20:30 ` [PATCH v11 0/4] firmware: ti_sci: Introduce system suspend support Nishanth Menon

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=20240830042958.33d35pfos7uv4wqb@lcpd911 \
    --to=d-gole@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=khilman@baylibre.com \
    --cc=kristo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=msp@baylibre.com \
    --cc=nm@ti.com \
    --cc=ssantosh@kernel.org \
    --cc=vibhore@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox