summaryrefslogtreecommitdiffstats
path: root/sys/contrib/rdma
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2016-04-22 06:42:50 +0000
committerskra <skra@FreeBSD.org>2016-04-22 06:42:50 +0000
commit813182b56bd020167efe5b6dfef5c047b370398f (patch)
tree23456631462cebd1b4a26d2eeda25ac4670e4a40 /sys/contrib/rdma
parente05cd97f08c9ba5a5d8b54c489cf8d22a2d89981 (diff)
downloadFreeBSD-src-813182b56bd020167efe5b6dfef5c047b370398f.zip
FreeBSD-src-813182b56bd020167efe5b6dfef5c047b370398f.tar.gz
Fix duplicate TLB entries issue during section promotion/demotion.
Such situation is defined as UNPREDICTABLE by arm arm manual. This patch fixes all explicit TLB fetches which could cause this issue and speculative TLB fetches for sections mapped in user address space. Speculative TLB fetches for sections mapped in kernel address space are not fixed yet as the break-before-make approach must be implemented for kernel mappings too. This means that promoted/demoted section will be unmapped for a while. Either kernel stack the promotion/demotion is being done on or L1 page table(s) which must be modified may be mapped by this section. Thus the fix will not be so simple like for userland mappings. The issue was detectable only on Cortex-A8 platforms and only very rarely. It was reported few times. First, it was by Mikael Urankar in June 2015. He helped to identify the mechanism of this issue, but we were not sure how to fix it correctly until now. PR: 208381 Reported by: Mikael Urankar (mikael.urankar at gmail.com) Reviewed by: kib
Diffstat (limited to 'sys/contrib/rdma')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud