s390/zcryt: Handle AP configuration changes
Detect external AP bus configuration changes and request an AP device rescan. Signed-off-by: Holger Dengler <hd@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
745e967a49
commit
dabecb2933
@@ -29,8 +29,10 @@
|
||||
#ifndef _ZCRYPT_API_H_
|
||||
#define _ZCRYPT_API_H_
|
||||
|
||||
#include "ap_bus.h"
|
||||
#include <linux/atomic.h>
|
||||
#include <asm/debug.h>
|
||||
#include <asm/zcrypt.h>
|
||||
#include "ap_bus.h"
|
||||
|
||||
/* deprecated status calls */
|
||||
#define ICAZ90STATUS _IOR(ZCRYPT_IOCTL_MAGIC, 0x10, struct ica_z90_status)
|
||||
@@ -112,8 +114,13 @@ struct zcrypt_device {
|
||||
|
||||
struct ap_message reply; /* Per-device reply structure. */
|
||||
int max_exp_bit_length;
|
||||
|
||||
debug_info_t *dbf_area; /* debugging */
|
||||
};
|
||||
|
||||
/* transport layer rescanning */
|
||||
extern atomic_t zcrypt_rescan_req;
|
||||
|
||||
struct zcrypt_device *zcrypt_device_alloc(size_t);
|
||||
void zcrypt_device_free(struct zcrypt_device *);
|
||||
void zcrypt_device_get(struct zcrypt_device *);
|
||||
|
Reference in New Issue
Block a user