Re: [RFC 03/19] s390/zcrypt: new AP matrix bus

From: Cornelia Huck
Date: Tue Nov 14 2017 - 06:59:43 EST


On Fri, 13 Oct 2017 13:38:48 -0400
Tony Krowiak <akrowiak@xxxxxxxxxxxxxxxxxx> wrote:

> Introduces an AP matrix bus. The sysfs location of the
> AP matrix bus is:
>
> /sys/bus/ap_matrix
>
> The AP matrix bus will create an AP matrix device that will
> hold the AP queues reserved for use by KVM guests.
>
> Signed-off-by: Tony Krowiak <akrowiak@xxxxxxxxxxxxxxxxxx>
> ---
> MAINTAINERS | 8 +++++
> drivers/s390/crypto/Makefile | 4 +-
> drivers/s390/crypto/ap_matrix_bus.c | 52 +++++++++++++++++++++++++++++++++++
> drivers/s390/crypto/ap_matrix_bus.h | 15 ++++++++++
> 4 files changed, 77 insertions(+), 2 deletions(-)
> create mode 100644 drivers/s390/crypto/ap_matrix_bus.c
> create mode 100644 drivers/s390/crypto/ap_matrix_bus.h
>

> diff --git a/drivers/s390/crypto/Makefile b/drivers/s390/crypto/Makefile
> index be36f10..87646ca 100644
> --- a/drivers/s390/crypto/Makefile
> +++ b/drivers/s390/crypto/Makefile
> @@ -2,7 +2,7 @@
> # S/390 crypto devices
> #
>
> -ap-objs := ap_bus.o ap_card.o ap_queue.o
> +ap-objs := ap_bus.o ap_card.o ap_queue.o ap_matrix_bus.o
> obj-$(subst m,y,$(CONFIG_ZCRYPT)) += ap.o
> # zcrypt_api.o and zcrypt_msgtype*.o depend on ap.o
> zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
> @@ -13,4 +13,4 @@ obj-$(CONFIG_ZCRYPT) += zcrypt_pcixcc.o zcrypt_cex2a.o zcrypt_cex4.o
>
> # pkey kernel module
> pkey-objs := pkey_api.o
> -obj-$(CONFIG_PKEY) += pkey.o
> +obj-$(CONFIG_PKEY) += pkey.o

Unrelated change.

> \ No newline at end of file