treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174
[sfrench/cifs-2.6.git] / arch / arm / kvm / vgic-v3-coproc.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * VGIC system registers handling functions for AArch32 mode
4  */
5
6 #include <linux/kvm.h>
7 #include <linux/kvm_host.h>
8 #include <asm/kvm_emulate.h>
9 #include "vgic.h"
10
11 int vgic_v3_has_cpu_sysregs_attr(struct kvm_vcpu *vcpu, bool is_write, u64 id,
12                                  u64 *reg)
13 {
14         /*
15          * TODO: Implement for AArch32
16          */
17         return -ENXIO;
18 }
19
20 int vgic_v3_cpu_sysregs_uaccess(struct kvm_vcpu *vcpu, bool is_write, u64 id,
21                                 u64 *reg)
22 {
23         /*
24          * TODO: Implement for AArch32
25          */
26         return -ENXIO;
27 }