Message ID | 1616665147-32084-3-git-send-email-pmorel@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Testing SSCH, CSCH and HSCH for errors | expand |
On Thu, 25 Mar 2021 10:39:01 +0100 Pierre Morel <pmorel@linux.ibm.com> wrote: > We need the SCSW definitions to test clear and halt subchannel. > > Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> > --- > lib/s390x/css.h | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/lib/s390x/css.h b/lib/s390x/css.h > index b0de3a3..0058355 100644 > --- a/lib/s390x/css.h > +++ b/lib/s390x/css.h > @@ -67,6 +67,29 @@ struct scsw { > #define SCSW_SC_PRIMARY 0x00000004 > #define SCSW_SC_INTERMEDIATE 0x00000008 > #define SCSW_SC_ALERT 0x00000010 > +#define SCSW_AC_SUSPENDED 0x00000020 > +#define SCSW_AC_DEVICE_ACTIVE 0x00000040 > +#define SCSW_AC_SUBCH_ACTIVE 0x00000080 > +#define SCSW_AC_CLEAR_PEND 0x00000100 > +#define SCSW_AC_HALT_PEND 0x00000200 > +#define SCSW_AC_START_PEND 0x00000400 > +#define SCSW_AC_RESUME_PEND 0x00000800 > +#define SCSW_FC_CLEAR 0x00001000 > +#define SCSW_FC_HALT 0x00002000 > +#define SCSW_FC_START 0x00004000 > +#define SCSW_QDIO_RESERVED 0x00008000 > +#define SCSW_PATH_NON_OP 0x00010000 > +#define SCSW_EXTENDED_CTRL 0x00020000 > +#define SCSW_ZERO_COND 0x00040000 > +#define SCSW_SUPPRESS_SUSP_INT 0x00080000 > +#define SCSW_IRB_FMT_CTRL 0x00100000 > +#define SCSW_INITIAL_IRQ_STATUS 0x00200000 > +#define SCSW_PREFETCH 0x00400000 > +#define SCSW_CCW_FORMAT 0x00800000 > +#define SCSW_DEFERED_CC 0x03000000 > +#define SCSW_ESW_FORMAT 0x04000000 > +#define SCSW_SUSPEND_CTRL 0x08000000 > +#define SCSW_KEY 0xf0000000 > uint32_t ctrl; > uint32_t ccw_addr; > #define SCSW_DEVS_DEV_END 0x04
On 3/25/21 4:00 PM, Claudio Imbrenda wrote: > On Thu, 25 Mar 2021 10:39:01 +0100 > Pierre Morel <pmorel@linux.ibm.com> wrote: > >> We need the SCSW definitions to test clear and halt subchannel. >> >> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> > > Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> > >> --- Thanks, Pierre >
On 25/03/2021 10.39, Pierre Morel wrote: > We need the SCSW definitions to test clear and halt subchannel. > > Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> > --- > lib/s390x/css.h | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Reviewed-by: Thomas Huth <thuth@redhat.com>
On 3/29/21 10:09 AM, Thomas Huth wrote: > On 25/03/2021 10.39, Pierre Morel wrote: >> We need the SCSW definitions to test clear and halt subchannel. >> >> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> >> --- >> lib/s390x/css.h | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) > > Reviewed-by: Thomas Huth <thuth@redhat.com> > Thanks, Pierre
On Thu, 25 Mar 2021 10:39:01 +0100 Pierre Morel <pmorel@linux.ibm.com> wrote: > We need the SCSW definitions to test clear and halt subchannel. > > Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> > --- > lib/s390x/css.h | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Reviewed-by: Cornelia Huck <cohuck@redhat.com>
On 3/30/21 1:49 PM, Cornelia Huck wrote: > On Thu, 25 Mar 2021 10:39:01 +0100 > Pierre Morel <pmorel@linux.ibm.com> wrote: > >> We need the SCSW definitions to test clear and halt subchannel. >> >> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> >> --- >> lib/s390x/css.h | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) > > Reviewed-by: Cornelia Huck <cohuck@redhat.com> > Thanks, Pierre
diff --git a/lib/s390x/css.h b/lib/s390x/css.h index b0de3a3..0058355 100644 --- a/lib/s390x/css.h +++ b/lib/s390x/css.h @@ -67,6 +67,29 @@ struct scsw { #define SCSW_SC_PRIMARY 0x00000004 #define SCSW_SC_INTERMEDIATE 0x00000008 #define SCSW_SC_ALERT 0x00000010 +#define SCSW_AC_SUSPENDED 0x00000020 +#define SCSW_AC_DEVICE_ACTIVE 0x00000040 +#define SCSW_AC_SUBCH_ACTIVE 0x00000080 +#define SCSW_AC_CLEAR_PEND 0x00000100 +#define SCSW_AC_HALT_PEND 0x00000200 +#define SCSW_AC_START_PEND 0x00000400 +#define SCSW_AC_RESUME_PEND 0x00000800 +#define SCSW_FC_CLEAR 0x00001000 +#define SCSW_FC_HALT 0x00002000 +#define SCSW_FC_START 0x00004000 +#define SCSW_QDIO_RESERVED 0x00008000 +#define SCSW_PATH_NON_OP 0x00010000 +#define SCSW_EXTENDED_CTRL 0x00020000 +#define SCSW_ZERO_COND 0x00040000 +#define SCSW_SUPPRESS_SUSP_INT 0x00080000 +#define SCSW_IRB_FMT_CTRL 0x00100000 +#define SCSW_INITIAL_IRQ_STATUS 0x00200000 +#define SCSW_PREFETCH 0x00400000 +#define SCSW_CCW_FORMAT 0x00800000 +#define SCSW_DEFERED_CC 0x03000000 +#define SCSW_ESW_FORMAT 0x04000000 +#define SCSW_SUSPEND_CTRL 0x08000000 +#define SCSW_KEY 0xf0000000 uint32_t ctrl; uint32_t ccw_addr; #define SCSW_DEVS_DEV_END 0x04
We need the SCSW definitions to test clear and halt subchannel. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> --- lib/s390x/css.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)