flush_xen_data_tlb_range_va() is clearly bogus since it flushes the tlb, not
the data cache. Perhaps what was meant was flush_xen_dcache(), but the address
was mapped with ioremap_nocache and hence isn't cached in the first place.
Accesses should be via writeq though, so do that.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
return -EFAULT;
}
- release[0] = __pa(init_secondary);
- flush_xen_data_tlb_range_va((vaddr_t)release, sizeof(*release));
+ writeq(__pa(init_secondary), release);
iounmap(release);