]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Remove unused values in bare-metal environment.
authorChristophe Lombard <clombard@linux.vnet.ibm.com>
Fri, 7 Apr 2017 14:11:54 +0000 (16:11 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 13 Apr 2017 13:34:28 +0000 (23:34 +1000)
commitbf022bb698517c1a0ffc2182dd321cb96e8a7717
tree49566665ba60779bff5cf242a6e58fde0c09b487
parent7be3c82b7c046d9d0ee7e092470712558f10374d
cxl: Remove unused values in bare-metal environment.

The two previously fields pid and tid, located in the structure
cxl_irq_info, are only used in the guest environment. To avoid confusion,
it's not necessary to fill the fields in the bare-metal environment.
Pid_tid is now renamed to 'reserved' to avoid undefined behavior on
bare-metal. The PSL Process and Thread Identification Register
(CXL_PSL_PID_TID_An) is only used when attaching a dedicated process
for PSL8 only. This register goes away in CAIA2.

Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/cxl.h
drivers/misc/cxl/hcalls.c
drivers/misc/cxl/native.c