summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_psci.h
diff options
context:
space:
mode:
authorMarc Zyngier2012-12-12 19:52:05 +0100
committerMarc Zyngier2013-06-12 17:40:32 +0200
commitdcd2e40c1e1cce302498d16d095b0f8a30326f74 (patch)
tree4cfe34f1c08aa77a4ba14e0c4d38b3c8b044e79c /arch/arm64/include/asm/kvm_psci.h
parentarm64: KVM: Plug the arch timer (diff)
downloadkernel-qcow2-linux-dcd2e40c1e1cce302498d16d095b0f8a30326f74.tar.gz
kernel-qcow2-linux-dcd2e40c1e1cce302498d16d095b0f8a30326f74.tar.xz
kernel-qcow2-linux-dcd2e40c1e1cce302498d16d095b0f8a30326f74.zip
arm64: KVM: PSCI implementation
Wire the PSCI backend into the exit handling code. Reviewed-by: Christopher Covington <cov@codeaurora.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_psci.h')
-rw-r--r--arch/arm64/include/asm/kvm_psci.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_psci.h b/arch/arm64/include/asm/kvm_psci.h
new file mode 100644
index 000000000000..e301a4816355
--- /dev/null
+++ b/arch/arm64/include/asm/kvm_psci.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2012,2013 - ARM Ltd
+ * Author: Marc Zyngier <marc.zyngier@arm.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __ARM64_KVM_PSCI_H__
+#define __ARM64_KVM_PSCI_H__
+
+bool kvm_psci_call(struct kvm_vcpu *vcpu);
+
+#endif /* __ARM64_KVM_PSCI_H__ */