The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Neil Armstrong <narmstrong@neotion.com>
Cc: "Hans J. Koch" <hjk@linutronix.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] uio: add ioctl callback
Date: Wed, 12 Nov 2008 08:10:09 -0800	[thread overview]
Message-ID: <20081112161009.GA6272@suse.de> (raw)
In-Reply-To: <491AFD7C.8090607@neotion.com>

On Wed, Nov 12, 2008 at 04:59:56PM +0100, Neil Armstrong wrote:
> Hi Hans,
> 
> We need an ioctl callback because we need to query some values only
> available when the irq handler is running.
> For example, we have 3 types of reasons why the irq is triggered and
> these bits are no more available when the irq is cleared.
> 
> The cleanest way to have this very specific information is to have a
> dirty old ioctl returning this data.

Do you also have a patch for your UIO driver that implements this
functionality?

I really don't think we want to add an ioctl callback, perhaps you could
just use a sysfs file for this?

thanks,

greg k-h

  reply	other threads:[~2008-11-12 16:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 15:40 [PATCH] uio: add ioctl callback Neil Armstrong
2008-11-12 15:49 ` Hans J. Koch
2008-11-12 15:59   ` Neil Armstrong
2008-11-12 16:10     ` Greg KH [this message]
2008-11-12 16:23     ` Hans J. Koch
2008-11-12 16:43       ` Neil Armstrong

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=20081112161009.GA6272@suse.de \
    --to=gregkh@suse.de \
    --cc=hjk@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=narmstrong@neotion.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