Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324069
b: refs/heads/master
c: 2e73c2c
h: refs/heads/master
i:
  324067: ca42ab1
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Sep 26, 2012
1 parent b3763f9 commit 519ca67
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eadb86ab80545d04a0ee576e92ba4447621cdb02
refs/heads/master: 2e73c2cf78f797f3ff299ca39b210bceb40ab804
1 change: 1 addition & 0 deletions trunk/arch/s390/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ enum interruption_class {
IOINT_CLW,
IOINT_CTC,
IOINT_APB,
IOINT_ADM,
IOINT_CSC,
NMI_NMI,
NR_IRQS,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static const struct irq_class intrclass_names[] = {
{.name = "CLW", .desc = "[I/O] CLAW" },
{.name = "CTC", .desc = "[I/O] CTC" },
{.name = "APB", .desc = "[I/O] AP Bus" },
{.name = "ADM", .desc = "[I/O] EADM Subchannel" },
{.name = "CSC", .desc = "[I/O] CHSC Subchannel" },
{.name = "NMI", .desc = "[NMI] Machine Check" },
};
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/s390/cio/eadm_sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Author(s): Sebastian Ott <sebott@linux.vnet.ibm.com>
*/

#include <linux/kernel_stat.h>
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#include <linux/device.h>
Expand Down Expand Up @@ -138,6 +139,8 @@ static void eadm_subchannel_irq(struct subchannel *sch)
EADM_LOG(6, "irq");
EADM_LOG_HEX(6, irb, sizeof(*irb));

kstat_cpu(smp_processor_id()).irqs[IOINT_ADM]++;

if ((scsw->stctl & (SCSW_STCTL_ALERT_STATUS | SCSW_STCTL_STATUS_PEND))
&& scsw->eswf == 1 && irb->esw.eadm.erw.r)
error = -EIO;
Expand Down

0 comments on commit 519ca67

Please sign in to comment.