summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-04-24 14:15:54 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:43:44 +1000
commita6b3964ad71a61bb7c61d80a60bea7d42187b2eb (patch)
tree48d64f39de11d958f2de430be59571a0695e733b /arch/powerpc/sysdev/dart_iommu.c
parent7af76c5f23abc7afedf449e7d2960f463cbc4097 (diff)
downloadtalos-obmc-linux-a6b3964ad71a61bb7c61d80a60bea7d42187b2eb.tar.gz
talos-obmc-linux-a6b3964ad71a61bb7c61d80a60bea7d42187b2eb.zip
powerpc/64s: Add barrier_nospec
A no-op form of ori (or immediate of 0 into r31 and the result stored in r31) has been re-tasked as a speculation barrier. The instruction only acts as a barrier on newer machines with appropriate firmware support. On older CPUs it remains a harmless no-op. Implement barrier_nospec using this instruction. mpe: The semantics of the instruction are believed to be that it prevents execution of subsequent instructions until preceding branches have been fully resolved and are no longer executing speculatively. There is no further documentation available at this time. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud