Skip to content
Snippets Groups Projects
Commit 5bdba9a6 authored by Tulio Magno Quites Machado Filho's avatar Tulio Magno Quites Machado Filho
Browse files

pmem: Fix data cache flush on ppc64


The dcbst instruction doesn't flush a cache block correctly because it
doesn't mark that block as clean on Power 9, see Manual "POWER9
Processor User’s Manual" page 66.
Replace dcbst with dcbf in order to fix this issue. This change requires
to replace lwsync with a hwsync too in order to cover for the usage of
dcbf.

Adopt the best practices according to the POWER ISA 3.1.

Fix bug #4843.

Signed-off-by: default avatarTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
parent 5cbe5607
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment