summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/vgic-v3-coproc.c
blob: ed3b2e4759ce9ee9217fcf077173fb824d7f0854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-License-Identifier: GPL-2.0-only
/*
 * VGIC system registers handling functions for AArch32 mode
 */

#include <linux/kvm.h>
#include <linux/kvm_host.h>
#include <asm/kvm_emulate.h>
#include "vgic.h"

int vgic_v3_has_cpu_sysregs_attr(struct kvm_vcpu *vcpu, bool is_write, u64 id,
				 u64 *reg)
{
	/*
	 * TODO: Implement for AArch32
	 */
	return -ENXIO;
}

int vgic_v3_cpu_sysregs_uaccess(struct kvm_vcpu *vcpu, bool is_write, u64 id,
				u64 *reg)
{
	/*
	 * TODO: Implement for AArch32
	 */
	return -ENXIO;
}