Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2019-07-19 10:39:36 +0200
committerPetr Tesarik <ptesarik@suse.cz>2019-07-19 14:09:50 +0200
commite09c4ce64d1352f87c725f0bc7dd30452ab8f67c (patch)
treeb29a45bb1fe31c6c9bbf2a7028784da8825a60e1
parentb2ff29fe599fe4ec0fecb78b59895f9d135ad4b3 (diff)
kABI: mask changes made by basic protected virtualization
support (jsc#SLE-6197 FATE#327012 bsc#1140559 LTC#173150). suse-commit: 449a5bc2b704c0518e74a0149e146cc5bf5e431c
-rw-r--r--drivers/s390/cio/device.c2
-rw-r--r--drivers/s390/cio/io_sch.h10
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index 9b26551ff273..388ca5ca5ec6 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -25,7 +25,9 @@
#include <linux/timer.h>
#include <linux/kernel_stat.h>
#include <linux/sched/signal.h>
+#ifndef __GENKSYMS__
#include <linux/dma-mapping.h>
+#endif
#include <asm/ccwdev.h>
#include <asm/cio.h>
diff --git a/drivers/s390/cio/io_sch.h b/drivers/s390/cio/io_sch.h
index cd076d049bb7..1645130f7017 100644
--- a/drivers/s390/cio/io_sch.h
+++ b/drivers/s390/cio/io_sch.h
@@ -165,7 +165,15 @@ struct ccw_device_private {
} __attribute__((packed)) flags;
unsigned long intparm; /* user interruption parameter */
struct qdio_irq *qdio_data;
+#ifdef __GENKSYMS__
+ struct irb irb; /* device status */
+#endif
int async_kill_io_rc;
+#ifdef __GENKSYMS__
+ struct senseid senseid; /* SenseID info */
+ struct pgid pgid[8]; /* path group IDs per chpid*/
+ struct ccw1 iccws[2]; /* ccws for SNID/SID/SPGID commands */
+#endif
struct work_struct todo_work;
enum cdev_todo todo;
wait_queue_head_t wait_q;
@@ -174,8 +182,10 @@ struct ccw_device_private {
struct list_head cmb_list; /* list of measured devices */
u64 cmb_start_time; /* clock value of cmb reset */
void *cmb_wait; /* deferred cmb enable/disable */
+#ifndef __GENKSYMS__
struct gen_pool *dma_pool;
struct ccw_device_dma_area *dma_area;
+#endif
enum interruption_class int_class;
};