-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus-2' of git://git.linaro.org/people/rmk/linux-arm
Pull ARM updates (part two) from Russell King: - breakpoint and perf updates from Will Deacon. - hypervisor boot mode updates from Will. - support for Power State Coordination Interface via the Hypervisor - core ARM support for KVM * 'for-linus-2' of git://git.linaro.org/people/rmk/linux-arm: (32 commits) KVM: ARM: Add maintainer entry for KVM/ARM KVM: ARM: Power State Coordination Interface implementation KVM: ARM: Handle I/O aborts KVM: ARM: Handle guest faults in KVM KVM: ARM: VFP userspace interface KVM: ARM: Demux CCSIDR in the userspace API KVM: ARM: User space API for getting/setting co-proc registers KVM: ARM: Emulation framework and CP15 emulation KVM: ARM: World-switch implementation KVM: ARM: Inject IRQs and FIQs from userspace KVM: ARM: Memory virtualization setup KVM: ARM: Hypervisor initialization KVM: ARM: Initial skeleton to compile KVM support ARM: Section based HYP idmap ARM: Add page table and page defines needed by KVM ARM: perf: simplify __hw_perf_event_init err handling ARM: perf: remove unnecessary checks for idx < 0 ARM: perf: handle armpmu_register failing ARM: perf: don't pretend to support counting of L1I writes ARM: perf: remove redundant NULL check on cpu_pmu ...
- Loading branch information
Showing
57 changed files
with
7,029 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
* Power State Coordination Interface (PSCI) | ||
|
||
Firmware implementing the PSCI functions described in ARM document number | ||
ARM DEN 0022A ("Power State Coordination Interface System Software on ARM | ||
processors") can be used by Linux to initiate various CPU-centric power | ||
operations. | ||
|
||
Issue A of the specification describes functions for CPU suspend, hotplug | ||
and migration of secure software. | ||
|
||
Functions are invoked by trapping to the privilege level of the PSCI | ||
firmware (specified as part of the binding below) and passing arguments | ||
in a manner similar to that specified by AAPCS: | ||
|
||
r0 => 32-bit Function ID / return value | ||
{r1 - r3} => Parameters | ||
|
||
Note that the immediate field of the trapping instruction must be set | ||
to #0. | ||
|
||
|
||
Main node required properties: | ||
|
||
- compatible : Must be "arm,psci" | ||
|
||
- method : The method of calling the PSCI firmware. Permitted | ||
values are: | ||
|
||
"smc" : SMC #0, with the register assignments specified | ||
in this binding. | ||
|
||
"hvc" : HVC #0, with the register assignments specified | ||
in this binding. | ||
|
||
Main node optional properties: | ||
|
||
- cpu_suspend : Function ID for CPU_SUSPEND operation | ||
|
||
- cpu_off : Function ID for CPU_OFF operation | ||
|
||
- cpu_on : Function ID for CPU_ON operation | ||
|
||
- migrate : Function ID for MIGRATE operation | ||
|
||
|
||
Example: | ||
|
||
psci { | ||
compatible = "arm,psci"; | ||
method = "smc"; | ||
cpu_suspend = <0x95c10000>; | ||
cpu_off = <0x95c10001>; | ||
cpu_on = <0x95c10002>; | ||
migrate = <0x95c10003>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.