Fix some race condition on arm64

* move barrier() to architecture depended region
* add barrier() in issue_ipi, kprintf, map_virtual
* enable the workaround for cavium thunderx
This commit is contained in:
Takayuki Okamoto
2017-09-25 17:47:01 +09:00
committed by Hannes Weisbach
parent 4f2b4aa402
commit 3bd0137c25
8 changed files with 25 additions and 7 deletions

View File

@@ -1617,6 +1617,7 @@ void *ihk_mc_map_virtual(unsigned long phys, int npages,
return NULL;
}
}
barrier();
return (char *)p + offset;
}