Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
Scalable System Control & Power Management
via ARM SCMIEvolution & Roadmap
2 © 2019 Arm Limited
Agenda• What is SCMI• Evolution & Roadmap
• High Level Overview• New Features
• The Full Picture• Status & Next Steps
3 © 2019 Arm Limited
What is SCMISystem Control & Management Interface v1.0
• System Controller Management Framework
• Comprises of• Protocols• Transports
• System Controller may be• Microcontroller• Fixed Function
Hardware• Logical Partition
Operating System
Power Domains Sensors
System Controller
System Power Protocol
Performance Domain Protocol
Power Domain Protocol
Sensor Protocol
Mailbox
DoorbelMailbox
DoorbelOther Transport
Mailbox
DoorbelMailbox
DoorbelGeneric Mailbox
PSCI
AP Power AP Performance
System Control and Management Interface (SCMI)
Clocks
Clock Protocol
ACPI / DT
CPUIdle CPUFreq GenPD Clk
4 © 2019 Arm Limited
Evolution & Roadmap – High level view
CY2019Q3 CY2020Q3*Available Future
Released
Adv. Planning
Concept
Mobile
(Hardware Assisted System & Power Control Virtualization^)
(Device based Control & Power Management^)
(Multi-Master Multi-OS SoC designs^)
(Lightweight channels for latency sensitive requests like DVFS)
Para-Virtualization Friendly
Clock Management
Performance Domain Management
System Power Management
Power Domain Management
Sensor Management
Statistics Region Support
Generic Mailbox transport
ACPI compatibility
Notifications
Device Monitoring & Statistics
Agent based Resource Isolation
Reset Domain Management
Device Management
Fast Channels
Pre-Notifications
Enhanced ACPI support via PCC Channel Op-Regions**
* Tentative ^ Requirements from industry partners** No impact to SCMI specification
(System Control logic in isolated world^)
ARM SPCI Transport
QoS Support
Self-Hosted Trace (Coarse Control)
Autonomous Power & Performance Management Control
Self-Hosted Trace Management
(Simplified & flexible device statistics reporting^)
Tran
spor
tsCo
re P
roto
cols
Dep
loym
ent
Infrastructure IoT Automotive
CY2017Q2
SCMI v2.0SCMI v2.0SCMI v1.0 SCMI.nextSCMI v1.0 Final SCMI v2.0 Beta
5 © 2019 Arm Limited
SCMI Roadmap - New FeaturesHardware Assisted Virtualization
Minimal Hypervisor Interference designs
• Resource Manager manages Shared Resources.
• System Controller allows discovery of only those commands and ID’s that are configured for agent.
• Dedicated device assignment to VMs – passthrough mode
• Automotive Software Stacks
System Controller
VM2
Channel1 Channel2 Channel3 Channel4
HYP/VMM VM1 VM3
Configure Resource Isolation
Resource Manager
R1 R2 R3 R4 R5 R6 R7
RESOURCE ISOLATION
Software Running on PEs
Domain1
RESOURCE ISOLATIONDomain2
Shared Resources to
Control/Manage
Channels to access Power
Controller
Agent 1 Agent 2 Agent 3 Agent 4Resource Isolation
6 © 2019 Arm Limited
SCMI Roadmap - New FeaturesThe Device View
*CPU Power Management is still over PSCI
Device advertises• Power State*• Performance levels• Reset States
System Controller• Abstracts and Manages
platform specific details• Creates device attributes
from constituent domains• Manages/Resolves Domain
Dependencies for SCMI Device Management calls
7 © 2019 Arm Limited
SCMI Roadmap - New FeaturesSecure Partition Client Interface based Transport
A Secure Partition (SP) is a Secure world sandbox
• Can host a Trusted OS or a driver stack
• Exports services to Normal world clients and other partitions
SPCI generalizes communication with SPs
• Describes ABIs to access services in a SP• Uses a manifest to describe SP’s resources
– Memory regions, Devices, Interrupts etc
• Enables resource sharing with SPs– Memory, Devices, CPU Cycles
• Secure World resident SCMI Server• Normal world resident sand-boxed SCMI
server• Fixed-Function hardware or
microcontroller based design
SPCI overview SCMI transport over SPCI
Client Partition Sandboxed Power Management & Control Partition
Operating System
SPCI
SPCIDriver
SCMIDriver
SCMI & Support Infrastructure
Isol
atio
n B
ound
ary
AppAppAppAppAppApp
Secure Partition Manager
SCMI ServerSystem & Power Control Mailbox
SPCI
System & Power
Control uC
Physical Channel
Control & PM Logic
Alternate Path
8 © 2019 Arm Limited
The Full PictureSystem Control & Management Interface v2.0
• Reset Domains• Device based
isolation & permission Management
• Device-centric Control & Power Management
• Pre-Notifications• Dedicated Fast
Channels
Device
Operating System
PowerDomains Sensors
Platform Controller
System Power
ProtocolPerformance
Domain ProtocolPower Domain
ProtocolSensor
Protocol
Mailbox
DoorbelMailbox
DoorbelOther Transport
Mailbox
DoorbelMailbox
DoorbelGeneric Mailbox
PSCI
AP Power AP Performance
System Management and Control Interface (SCMI)Device Power
Device Performance
Clocks
Clock Protocol
ACPI / DT
Reset
Reset Domain Protocol
SPCI based SMC Transport
Device Isolation/Permissions Management
Secure Configuration
Entity
New Additions in SCMI 2.0
Device Management
Protocol
CPUIdle CPUFreq GenPD CClk
Device based Power Management & Control
PowerPerformance
Reset
9 © 2019 Arm Limited
Status & Next Steps• Tentative SCMI V2.0 Specification release date: Q3 2019• Performance Domain Fast Channel Support:
• Prototyping on ARM JUNO yields 1-2us avg. turnaround time for posting kernel cpufreq requests on Cortex A-class cores.
• Low-cost lightweight system controller (CortexM3 @50Mhz) can service 6+ independent CPU frequency domains without bottlenecks.
• Device/Resource Isolation• Proof of Concept under planning
• Device Management• Migration Path (Short Term) and Long Term kernel
framework under analysis.• Proof of Concept tentatively targeted at ARM JUNO board.
SCMI
Flexible System Controller
Deployment via FFH, Secure partition or
Microcontroller
Long Term spec. maintenance &
upstream support
Standardised and portable OS
Power Management & System Control
Virtualization friendly
Easier Multi-OS Deployment
10 © 2019 Arm Limited
Useful Links
• SCMI Specification: http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/DEN0056A_System_Control_and_Management_Interface.pdf
• SCP Reference Firmware: https://github.com/ARM-software/SCP-firmware• ARM Trusted Firmware: https://github.com/ARM-software/arm-trusted-firmware• SPCI Specification:
https://connect.arm.com/dropzone/systemarch/DEN0077A%5FSecure%5FPartition%5FInterface%5FSpecification%5F1.0%5FAlpha%5F2.pdf
Thank YouDankeMerci谢谢
ありがとうGracias
Kiitos감사합니다
ध यवाद شكرًاתודה
© 2019 Arm Limited
The Arm trademarks featured in this presentation are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in
the US and/or elsewhere. All rights reserved. All other marks featured may be trademarks of their respective owners.
www.arm.com/company/policies/trademarks