hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm64/kvm/vgic-sys-reg-v3.c
....@@ -1,21 +1,13 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * VGIC system registers handling functions for AArch64 mode
3
- *
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.
7
- *
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.
124 */
135
146 #include <linux/irqchip/arm-gic-v3.h>
157 #include <linux/kvm.h>
168 #include <linux/kvm_host.h>
179 #include <asm/kvm_emulate.h>
18
-#include "vgic.h"
10
+#include "vgic/vgic.h"
1911 #include "sys_regs.h"
2012
2113 static bool access_gic_ctlr(struct kvm_vcpu *vcpu, struct sys_reg_params *p,
....@@ -276,8 +268,6 @@
276268
277269 params.regval = *reg;
278270 params.is_write = is_write;
279
- params.is_aarch32 = false;
280
- params.is_32bit = false;
281271
282272 if (find_reg_by_id(sysreg, &params, gic_v3_icc_reg_descs,
283273 ARRAY_SIZE(gic_v3_icc_reg_descs)))
....@@ -296,8 +286,6 @@
296286 if (is_write)
297287 params.regval = *reg;
298288 params.is_write = is_write;
299
- params.is_aarch32 = false;
300
- params.is_32bit = false;
301289
302290 r = find_reg_by_id(sysreg, &params, gic_v3_icc_reg_descs,
303291 ARRAY_SIZE(gic_v3_icc_reg_descs));