From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/8] arm: k3: Allow for exclusive and shared device requests
Date: Tue, 21 May 2019 23:27:05 -0500 [thread overview]
Message-ID: <20190522042713.14102-1-lokeshvutla@ti.com> (raw)
Sysfw provides an option for requesting exclusive access for a
device using the flags MSG_FLAG_DEVICE_EXCLUSIVE. If this flag is
not used, the device is meant to be shared across hosts. Once a device
is requested from a host with this flag set, any request to this
device from a different host will be nacked by sysfw.
Current tisci firmware and pm drivers always requests for device with
exclusive permissions set. But this is not be true for certain devices
that are expcted to be shared across different host contexts.
So add support for getting the shared or exclusive permissions from DT
and request firmware accordingly.
Same bindings are acked in kernel: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=103447
Also this series adds support for shutting down cores so that R5 cores
can be shutdown right after jumping to ATF.
Andreas Dannenberg (2):
firmware: ti_sci: Add processor shutdown API method
armv7R: K3: am654: Shut down R5 core after ATF startup on A53
Lokesh Vutla (6):
firmware: ti_sci: Allow for device shared and exclusive requests
power-domain: Add private data to power domain
dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared
access
power: domain: ti_sci_power_domains: Add support for exclusive and
shared access
armv7R: dts: k3-am654: Update power-domains property for each node
cmd: remoteproc: Add support for initializing devices individually
arch/arm/dts/k3-am65-wakeup.dtsi | 2 +-
arch/arm/dts/k3-am65.dtsi | 1 +
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 +-
arch/arm/dts/k3-am654-ddr.dtsi | 4 +-
arch/arm/dts/k3-am654-r5-base-board.dts | 8 +-
arch/arm/mach-k3/am6_init.c | 62 +++++
arch/arm/mach-k3/common.c | 6 +-
arch/arm/mach-k3/include/mach/sys_proto.h | 1 +
cmd/remoteproc.c | 23 +-
.../power/ti,sci-pm-domain.txt | 11 +-
drivers/firmware/ti_sci.c | 216 +++++++++++++++++-
drivers/firmware/ti_sci.h | 50 ++++
drivers/power/domain/ti-sci-power-domain.c | 31 ++-
include/dt-bindings/soc/ti,sci_pm_domain.h | 9 +
include/linux/soc/ti/ti_sci_protocol.h | 7 +
include/power-domain.h | 15 +-
16 files changed, 411 insertions(+), 37 deletions(-)
create mode 100644 include/dt-bindings/soc/ti,sci_pm_domain.h
--
2.17.1
next reply other threads:[~2019-05-22 4:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-22 4:27 Lokesh Vutla [this message]
2019-05-22 4:27 ` [U-Boot] [PATCH 1/8] firmware: ti_sci: Allow for device shared and exclusive requests Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 2/8] firmware: ti_sci: Add processor shutdown API method Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 3/8] armv7R: K3: am654: Shut down R5 core after ATF startup on A53 Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 4/8] power-domain: Add private data to power domain Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 5/8] dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 6/8] power: domain: ti_sci_power_domains: " Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 7/8] armv7R: dts: k3-am654: Update power-domains property for each node Lokesh Vutla
2019-05-22 4:27 ` [U-Boot] [PATCH 8/8] cmd: remoteproc: Add support for initializing devices individually Lokesh Vutla
2019-05-22 4:29 ` Lokesh Vutla
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=20190522042713.14102-1-lokeshvutla@ti.com \
--to=lokeshvutla@ti.com \
--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.