From: Finn Thain <fthain@telegraphics.com.au>
To: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Michael Schmitz <schmitzmic@gmail.com>,
Ondrej Zary <linux@rainbow-software.org>,
<linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 12/12] scsi/ncr5380: Suppress unhelpful "interrupt without IRQ bit" message
Date: Tue, 4 Oct 2016 01:40:51 -0400 (EDT) [thread overview]
Message-ID: <a20eaee4b35f4daf6b89cf9c6f47bd4989b9703d.1475559357.git.fthain@telegraphics.com.au> (raw)
In-Reply-To: <cover.1475559357.git.fthain@telegraphics.com.au>
If a NCR5380 host instance ends up on a shared interrupt line then
this printk will be a problem. It is already a problem on some Mac
models: when testing mac_scsi on a PowerBook 180 I found that PDMA
transfers (but not PIO transfers) cause the message to be logged.
These spurious interrupts don't appear to come from the DRQ signal from
the 5380. And they don't happen at all on the Mac LC III. A comment in
the NetBSD source code mentions this mystery. Testing seems to show
that we can safely ignore these interrupts.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
---
drivers/scsi/NCR5380.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
index d479e11..03d3d1b 100644
--- a/drivers/scsi/NCR5380.c
+++ b/drivers/scsi/NCR5380.c
@@ -995,7 +995,7 @@ static irqreturn_t __maybe_unused NCR5380_intr(int irq, void *dev_id)
}
handled = 1;
} else {
- shost_printk(KERN_NOTICE, instance, "interrupt without IRQ bit\n");
+ dsprintk(NDEBUG_INTR, instance, "interrupt without IRQ bit\n");
#ifdef SUN3_SCSI_VME
dregs->csr |= CSR_DMA_ENABLE;
#endif
--
2.7.3
next prev parent reply other threads:[~2016-10-04 5:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 5:40 [PATCH 00/12] Fixes, cleanup and g_NCR5380_mmio/g_NCR5380 merger Finn Thain
2016-10-04 5:40 ` [PATCH 05/12] scsi/ncr5380: Increase register polling limit Finn Thain
2016-10-04 5:40 ` [PATCH 10/12] scsi/ncr5380: Expedite register polling Finn Thain
2016-10-04 5:40 ` [PATCH 02/12] scsi/cumana_1: Remove unused cumanascsi_setup() function Finn Thain
2016-10-04 5:40 ` [PATCH 03/12] scsi/atari_scsi: Make device register accessors re-enterant Finn Thain
2016-10-04 5:40 ` [PATCH 09/12] scsi/ncr5380: Pass hostdata pointer to register polling routines Finn Thain
2016-10-04 5:40 ` [PATCH 01/12] scsi/g_NCR5380: Merge g_NCR5380 and g_NCR5380_mmio drivers Finn Thain
2016-10-04 5:40 ` [PATCH 07/12] scsi/ncr5380: Store IO ports and addresses in host private data Finn Thain
2016-10-04 5:40 ` [PATCH 08/12] scsi/ncr5380: Use correct types for device register accessors Finn Thain
2016-10-04 5:40 ` [PATCH 11/12] scsi/ncr5380: Use correct types for DMA routines Finn Thain
2016-10-04 5:40 ` [PATCH 06/12] scsi/ncr5380: Improve hostdata struct member alignment and cache-ability Finn Thain
2016-10-04 5:40 ` [PATCH 04/12] scsi/ncr5380: Simplify register polling limit Finn Thain
2016-10-04 5:40 ` Finn Thain [this message]
2016-10-04 8:23 ` [PATCH 00/12] Fixes, cleanup and g_NCR5380_mmio/g_NCR5380 merger Hannes Reinecke
2016-10-05 19:57 ` Ondrej Zary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a20eaee4b35f4daf6b89cf9c6f47bd4989b9703d.1475559357.git.fthain@telegraphics.com.au \
--to=fthain@telegraphics.com.au \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@rainbow-software.org \
--cc=martin.petersen@oracle.com \
--cc=schmitzmic@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®