powerpc: Introduce msgsnd/doorbell barrier primitives
authorNicholas Piggin <npiggin@gmail.com>
Thu, 13 Apr 2017 10:16:22 +0000 (20:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 13 Apr 2017 13:34:33 +0000 (23:34 +1000)
commitb87ac0218355a83abb899a0022bb2e5252879fc0
tree2163874a33e22901d42faeceba3b99e1d25eab05
parentb866cc2199d6a6cdcefe4acfe4cfca3ac3c6d38e
powerpc: Introduce msgsnd/doorbell barrier primitives

POWER9 changes requirements and adds new instructions for
synchronization.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/dbell.h
arch/powerpc/include/asm/smp.h
arch/powerpc/kernel/dbell.c
arch/powerpc/kernel/smp.c