|
@@ -81,6 +81,17 @@ static int target_smt_mode;
|
|
|
module_param(target_smt_mode, int, S_IRUGO | S_IWUSR);
|
|
|
MODULE_PARM_DESC(target_smt_mode, "Target threads per core (0 = max)");
|
|
|
|
|
|
+#ifdef CONFIG_KVM_XICS
|
|
|
+static struct kernel_param_ops module_param_ops = {
|
|
|
+ .set = param_set_int,
|
|
|
+ .get = param_get_int,
|
|
|
+};
|
|
|
+
|
|
|
+module_param_cb(h_ipi_redirect, &module_param_ops, &h_ipi_redirect,
|
|
|
+ S_IRUGO | S_IWUSR);
|
|
|
+MODULE_PARM_DESC(h_ipi_redirect, "Redirect H_IPI wakeup to a free host core");
|
|
|
+#endif
|
|
|
+
|
|
|
static void kvmppc_end_cede(struct kvm_vcpu *vcpu);
|
|
|
static int kvmppc_hv_setup_htab_rma(struct kvm_vcpu *vcpu);
|
|
|
|