]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Add support for ASB_Notify on POWER9
authorChristophe Lombard <clombard@linux.vnet.ibm.com>
Thu, 11 Jan 2018 08:55:25 +0000 (09:55 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jan 2018 12:19:37 +0000 (23:19 +1100)
commitd8d9c256890fc1203428c088e36770edb0256866
tree3e43a06af0f301bf89b3746b82cb2e7bda7f8afc
parent9d94023b6164ff01da1da4ad4e6de5c4bb2fc464
cxl: Add support for ASB_Notify on POWER9

The POWER9 core supports a new feature: ASB_Notify which requires the
support of the Special Purpose Register: TIDR.

The ASB_Notify command, generated by the AFU, will attempt to
wake-up the host thread identified by the particular LPID:PID:TID.

This patch assign a unique TIDR (thread id) for the current thread which
will be used in the process element entry.

Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Philippe Bergheaud <felix@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Reviewed-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c
drivers/misc/cxl/context.c
drivers/misc/cxl/cxl.h
drivers/misc/cxl/cxllib.c
drivers/misc/cxl/file.c
drivers/misc/cxl/native.c
include/uapi/misc/cxl.h