|
@@ -186,6 +186,8 @@ static u64 hyperv_flush_tlb_others_ex(const struct cpumask *cpus,
|
|
|
|
|
|
flush->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
|
|
flush->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
|
|
nr_bank = cpumask_to_vpset(&(flush->hv_vp_set), cpus);
|
|
nr_bank = cpumask_to_vpset(&(flush->hv_vp_set), cpus);
|
|
|
|
+ if (nr_bank < 0)
|
|
|
|
+ return U64_MAX;
|
|
|
|
|
|
/*
|
|
/*
|
|
* We can flush not more than max_gvas with one hypercall. Flush the
|
|
* We can flush not more than max_gvas with one hypercall. Flush the
|