aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarkos Chandras <[email protected]>2015-01-26 09:40:36 +0000
committerRalf Baechle <[email protected]>2015-02-16 10:55:26 +0100
commitfde3538a8a711aedf1173ecb2d45aed868f51c97 (patch)
treee3a4c51518bcdc9ea6760eeff69299adde6752a8 /lib/cpu-notifier-error-inject.c
parent461d1597ffad7a826f8aaa63ab0727c37b632e34 (diff)
MIPS: asm: pgtable: Prevent HTW race when updating PTEs
Whenever we modify a page table entry, we need to ensure that the HTW will not fetch a stable entry. And for that to happen we need to ensure that HTW is stopped before we modify the said entry otherwise the HTW may already be in the process of reading that entry and fetching the old information. As a result of which, we replace the htw_reset() calls with htw_{stop,start} in more appropriate places. This also removes the remaining users of htw_reset() and as a result we drop that macro Signed-off-by: Markos Chandras <[email protected]> Cc: <[email protected]> # 3.17+ Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/9116/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions