aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorfrank.blaschka@de.ibm.com <frank.blaschka@de.ibm.com>2011-08-07 21:33:56 -0400
committerDavid S. Miller <davem@davemloft.net>2011-08-13 04:10:16 -0400
commit9cb7284f3058d272758ebaaa8f6f924cb99792bc (patch)
treea800cec83dcb89596108bbc75bfc6521c01c2b76 /arch
parent104ea556ee7f40039c9c635d0c267b1fde084a81 (diff)
qdio: support forced signal adapter indications
This patch ensures that signal adapter commands are issued if they are indicated to be required. Signed-off-by: Einar Lueck <elelueck@de.ibm.com> Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/qdio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/s390/include/asm/qdio.h b/arch/s390/include/asm/qdio.h
index 3881e9499e17..21993623da9a 100644
--- a/arch/s390/include/asm/qdio.h
+++ b/arch/s390/include/asm/qdio.h
@@ -279,6 +279,16 @@ struct qdio_outbuf_state {
279 279
280#define CHSC_AC1_INITIATE_INPUTQ 0x80 280#define CHSC_AC1_INITIATE_INPUTQ 0x80
281 281
282
283/* qdio adapter-characteristics-1 flag */
284#define AC1_SIGA_INPUT_NEEDED 0x40 /* process input queues */
285#define AC1_SIGA_OUTPUT_NEEDED 0x20 /* process output queues */
286#define AC1_SIGA_SYNC_NEEDED 0x10 /* ask hypervisor to sync */
287#define AC1_AUTOMATIC_SYNC_ON_THININT 0x08 /* set by hypervisor */
288#define AC1_AUTOMATIC_SYNC_ON_OUT_PCI 0x04 /* set by hypervisor */
289#define AC1_SC_QEBSM_AVAILABLE 0x02 /* available for subchannel */
290#define AC1_SC_QEBSM_ENABLED 0x01 /* enabled for subchannel */
291
282#define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010 292#define CHSC_AC2_DATA_DIV_AVAILABLE 0x0010
283#define CHSC_AC2_DATA_DIV_ENABLED 0x0002 293#define CHSC_AC2_DATA_DIV_ENABLED 0x0002
284 294