All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Trying to debug interrupt flood after unbind
Date: Tue, 31 May 2016 13:14:24 -0700	[thread overview]
Message-ID: <20160531201424.GA23248@kroah.com> (raw)
In-Reply-To: <BN1PR04MB5517DE49CE13839F958FEF3A6460@BN1PR04MB551.namprd04.prod.outlook.com>

On Tue, May 31, 2016 at 06:41:24PM +0000, Rob Groner wrote:
> I am trying to load a driver for an Exar serial chip, but that chip is gobbled
> up by the 8250 driver on boot.

Why does the in-kernel driver not support this chip?  Do you have a
pointer to the Exar source anywhere?

> So, I use the ?unbind? command in /sys/bus/pci/
> drivers/serial to remove the device from the clutches of 8250.  Based on
> cobbled together google searches, I use the following to unbind it (assuming
> the address in /sys/bus/pci/drivers/serial is 0000:04:00.0.

That's a huge hammer, are you sure that's the best way to do this?  Why
not just add your device to a blacklist in the 8250 driver?

> So, as near as I can tell, when the Exar driver is inserted, an interrupt flood
> occurs, and the Exar driver (the only interrupt handler on that IRQ) does not
> respond to any of them.  I put in some debug code and verified that the Exar
> interrupt handler is called? but the handler just returns with an IRQ_NONE
> value.

Sounds like a bug in the Exar driver, why isn't it handling the
interrupt properly?

thanks,

greg k-h

  reply	other threads:[~2016-05-31 20:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-31 18:41 Trying to debug interrupt flood after unbind Rob Groner
2016-05-31 20:14 ` Greg KH [this message]
2016-05-31 20:38   ` Rob Groner
2016-06-02  9:38     ` Sudip Mukherjee
2016-06-02 15:02       ` Rob Groner

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=20160531201424.GA23248@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.