mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lechner <dlechner@baylibre.com>
To: Jonathan Cameron <jic23@kernel.org>,
	srinivas pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Bert Karwatzki <spasswolf@web.de>,
	linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
	Jiri Kosina <jikos@kernel.org>, Thomas Gleixner <tglx@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [tip: irq/core] genirq: Warn about using IRQF_ONESHOT without a threaded handler
Date: Sun, 1 Mar 2026 17:57:37 -0600	[thread overview]
Message-ID: <bdf054d4-aadf-470c-88c4-26d0cc630fc8@baylibre.com> (raw)
In-Reply-To: <ec6ff19b-f8c8-405b-bfaf-02da522782fd@baylibre.com>

On 3/1/26 5:17 PM, David Lechner wrote:
> On 2/7/26 9:42 AM, Jonathan Cameron wrote:
>> On Tue, 03 Feb 2026 09:29:25 -0800
>> srinivas pandruvada <srinivas.pandruvada@linux.intel.com> wrote:
>>
>>> On Tue, 2026-02-03 at 09:38 +0100, Sebastian Andrzej Siewior wrote:
>>>> On 2026-02-03 00:27:40 [+0100], Bert Karwatzki wrote:  
>>>>>
>>>>> The warning appears because iio_triggered_buffer_setup_ext() (in 
>>>>> drivers/iio/buffer/industrialio-triggered-buffer.c) is called with
>>>>> thread = NULL
>>>>> during the probe of the iio device and calls iio_alloc_pollfunc()
>>>>> (in drivers/iio/industrialio-trigger.c) with thread = NULL and type
>>>>> = IRQF_ONESHOT.
> 
> 
> I noticed this while testing hid-sensor-rotation.
>     

...

> 
> I saw that Jonathan mentioned some other more thorough approaches in
> a later reply, but here is the "quick fix" I came up with.
> 
I later found [1] that has an alternate fix, so no need to reply
about my "solution" here.

[1]: https://lore.kernel.org/linux-iio/20260220224514.471348-1-srinivas.pandruvada@linux.intel.com/

  reply	other threads:[~2026-03-01 23:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12 13:40 [PATCH] " Sebastian Andrzej Siewior
2026-01-12 17:46 ` Laurent Pinchart
2026-01-14 10:29   ` Stefan Klug
2026-01-13  8:58 ` [tip: irq/core] " tip-bot2 for Sebastian Andrzej Siewior
2026-01-13 12:05   ` Sebastian Andrzej Siewior
2026-01-13 15:26     ` Thomas Gleixner
2026-02-02 23:27     ` Bert Karwatzki
2026-02-03  8:38       ` Sebastian Andrzej Siewior
2026-02-03 10:43         ` Bert Karwatzki
2026-02-03 14:58           ` Sebastian Andrzej Siewior
2026-02-07 15:46             ` Jonathan Cameron
2026-02-09  2:00               ` srinivas pandruvada
2026-02-14 15:00                 ` Jonathan Cameron
2026-02-14 15:08                   ` Jonathan Cameron
2026-02-03 17:29         ` srinivas pandruvada
2026-02-07 15:42           ` Jonathan Cameron
2026-03-01 23:17             ` David Lechner
2026-03-01 23:57               ` David Lechner [this message]
2026-03-01 22:45         ` David Lechner

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=bdf054d4-aadf-470c-88c4-26d0cc630fc8@baylibre.com \
    --to=dlechner@baylibre.com \
    --cc=bigeasy@linutronix.de \
    --cc=jic23@kernel.org \
    --cc=jikos@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spasswolf@web.de \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tglx@kernel.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 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®