OSDN Git Service

s390/cio: Provide Endpoint-Security Mode per CU
authorVineeth Vijayan <vneethv@linux.ibm.com>
Thu, 8 Oct 2020 13:13:28 +0000 (15:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:37 +0000 (08:14 -0700)
commit4cd6094d9d609f73694783553df72572e302a5e9
tree7e2e780ede0f98b238bf9772d18631460f47d0e6
parent8b8b0915ba8daef9b4320d6dc75a2ec14e1fe2df
s390/cio: Provide Endpoint-Security Mode per CU

Add an interface in the CIO layer to retrieve the information about the
Endpoint-Security Mode (ESM) of the specified CU. The ESM values are
defined as 0-None, 1-Authenticated or 2, 3-Encrypted.

[vneethv@linux.ibm.com: cleaned-up and modified description]

Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/s390/include/asm/cio.h
drivers/s390/cio/chsc.c