]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Define differences between doorbells on book3e and book3s
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 14 Nov 2012 18:49:44 +0000 (18:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 04:09:05 +0000 (15:09 +1100)
commit42d02b81f265b77be39262666c888d50cb488fc5
tree057869a84883845ac91f536a683a0b9e9829e45c
parent41c7b401b9c131a53823673a788d73e340ce4d2a
powerpc: Define differences between doorbells on book3e and book3s

There are a few key differences between doorbells on server compared
with embedded that we care about on Linux, namely:

- We have a new msgsndp instruction for directed privileged doorbells.
  msgsnd is used for directed hypervisor doorbells.
- The tag we use in the instruction is the Thread Identification
  Register of the recipient thread (since server doorbells can only
  occur between threads within a single core), and is only 7 bits wide.
- A new message type is introduced for server doorbells (none of the
  existing book3e message types are currently supported on book3s).

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/dbell.h
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/dbell.c