lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 24 Jun 2020 13:32:45 +0300
From:   Daniel Baluta <daniel.baluta@....nxp.com>
To:     khilman@...nel.org, ulf.hansson@...aro.org,
        linux-pm@...r.kernel.org, rjw@...ysocki.net
Cc:     linux-kernel@...r.kernel.org, kernel@...gutronix.de,
        alsa-devel@...a-project.org, linux-imx@....com
Subject: [PATCH v3 0/2] Introduce multi PM domains helpers

From: Daniel Baluta <daniel.baluta@....com>

i.MX8QXP/i.MX8QM has IPs that need multiple power domains to be up
in order to work. In order to help drivers, we introduce multi PM
domains helpers that are able to activate/deactivate multi PM domains.

First patch introduces the helpers and second patch demonstrates how
a driver can use them instead of hardcoding the PM domains handling.

Changes since v2:
»       - fix kernel test robot reported issues (missing static inline
	for newly introduced functions in headers and arguments
	swapped for devm_kzalloc).

Changes since v1: (addressed Ranjani's comments)
»       - enhanced description for dev_multi_pm_attach return value
»       - renamed exit_unroll_pm label to exit_detach_pm

Ideally would be to have patch 1/2 merged via power tree and then I
will submit again patch 2/2 on sound tree.

Daniel Baluta (2):
  PM / domains: Introduce multi PM domains helpers
  ASoC: SOF: Use multi PM domains helpers

 drivers/base/power/common.c | 93 +++++++++++++++++++++++++++++++++++++
 include/linux/pm_domain.h   | 19 ++++++++
 sound/soc/sof/imx/imx8.c    | 60 ++++--------------------
 3 files changed, 121 insertions(+), 51 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ