All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/8] arm: k3: Allow for exclusive and shared device requests
@ 2019-05-22  4:27 Lokesh Vutla
  2019-05-22  4:27 ` [U-Boot] [PATCH 1/8] firmware: ti_sci: Allow for device shared and exclusive requests Lokesh Vutla
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Lokesh Vutla @ 2019-05-22  4:27 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-05-22  4:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22  4:27 [U-Boot] [PATCH 0/8] arm: k3: Allow for exclusive and shared device requests Lokesh Vutla
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

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.