Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / arch / arm / kvm / vgic-v3-coproc.c
blobf41abf76366f59740188aec0c9168d562b89d498
1 /*
2 * VGIC system registers handling functions for AArch32 mode
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <linux/kvm.h>
15 #include <linux/kvm_host.h>
16 #include <asm/kvm_emulate.h>
17 #include "vgic.h"
19 int vgic_v3_has_cpu_sysregs_attr(struct kvm_vcpu *vcpu, bool is_write, u64 id,
20 u64 *reg)
23 * TODO: Implement for AArch32
25 return -ENXIO;
28 int vgic_v3_cpu_sysregs_uaccess(struct kvm_vcpu *vcpu, bool is_write, u64 id,
29 u64 *reg)
32 * TODO: Implement for AArch32
34 return -ENXIO;