All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Opaniuk <igor.opaniuk@foundries.io>
To: u-boot@lists.denx.de
Subject: [RFC PATCH v1 0/3] psci: add support for SYSTEM_RESET2 and PSCI_FEATURES
Date: Tue, 30 Mar 2021 22:17:19 +0300	[thread overview]
Message-ID: <20210330191722.1126160-1-igor.opaniuk@gmail.com> (raw)

From: Igor Opaniuk <igor.opaniuk@foundries.io>

This adds support for:
* PSCI_FEATURES, introduced in PSCI 1.0. This provides API
that allows discovering whether a specific PSCI function is implemented
and its features.
* SYSTEM_RESET2, introduced in PSCI 1.1, which extends existing
SYSTEM_RESET. It provides support for vendor-specific resets, providing
reset_type as an additional param.

Also PSCI sysreset driver is refactored to use new API.

CI: https://dev.azure.com/igoropaniuk/u-boot/_build/results?buildId=16&view=results

Igor Opaniuk (3):
  psci: add v1.0/v1.1 definitions from Linux
  psci: add features/reset2 support
  sysreset: psci: use psci driver exported functions

 drivers/firmware/psci.c          | 70 ++++++++++++++++++++++++++++++++
 drivers/sysreset/sysreset_psci.c |  8 +---
 include/linux/psci.h             | 31 ++++++++++++++
 3 files changed, 103 insertions(+), 6 deletions(-)

-- 
2.25.1

             reply	other threads:[~2021-03-30 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 19:17 Igor Opaniuk [this message]
2021-03-30 19:17 ` [RFC PATCH v1 1/3] psci: add v1.0/v1.1 definitions from Linux Igor Opaniuk
2021-03-30 19:17 ` [RFC PATCH v1 2/3] psci: add features/reset2 support Igor Opaniuk
2021-03-30 19:17 ` [RFC PATCH v1 3/3] sysreset: psci: use psci driver exported functions Igor Opaniuk

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=20210330191722.1126160-1-igor.opaniuk@gmail.com \
    --to=igor.opaniuk@foundries.io \
    --cc=u-boot@lists.denx.de \
    /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.