From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
To: Song Hui <hui.song_1@nxp.com>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: linux-rt-users@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
"Steven Rostedt (VMware)" <rostedt@goodmis.org>,
Esben Haabendal <esben@geanix.com>
Subject: commit 3d5bfbd97163 versus -rt
Date: Tue, 15 Jun 2021 14:35:27 +0200 [thread overview]
Message-ID: <5afbc89e-dbc4-3f47-4e61-63a77165aaec@prevas.dk> (raw)
Hi
Booting 5.10.41-rt42 with CONFIG_PREEMPT_RT=y gives this splat:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 29 at kernel/irq/handle.c:159
__handle_irq_event_percpu+0x1ec/0x27c
irq 66 handler irq_default_primary_handler+0x0/0x1c enabled interrupts
Modules linked in:
CPU: 0 PID: 29 Comm: irq/45-gpio-cas Not tainted
5.10.41-rt42-00001-g3ce830134091 #495
Hardware name: Freescale LS1021A
Backtrace:
[<806ad420>] (dump_backtrace) from [<806ad7c4>] (show_stack+0x20/0x24)
r7:80abad04 r6:60070013 r5:00000000 r4:80abad04
[<806ad7a4>] (show_stack) from [<806b0a94>] (dump_stack+0x88/0xa4)
[<806b0a0c>] (dump_stack) from [<8011d424>] (__warn+0xd4/0x100)
r7:80e3fe14 r6:00000000 r5:00000009 r4:80170c48
[<8011d350>] (__warn) from [<806ade3c>] (warn_slowpath_fmt+0x88/0xcc)
r9:ffffe000 r8:807e5943 r7:00000009 r6:80170c48 r5:0000009f r4:807e596a
[<806addb8>] (warn_slowpath_fmt) from [<80170c48>]
(__handle_irq_event_percpu+0x1ec/0x27c)
r8:80e3fe80 r7:80fff800 r6:00000042 r5:00000002 r4:80ea2000
[<80170a5c>] (__handle_irq_event_percpu) from [<80170d38>]
(handle_irq_event_percpu+0x60/0xc0)
r10:80ae2508 r9:80171c48 r8:80e3e000 r7:80e282e4 r6:00000000 r5:80fff800
r4:00000000
[<80170cd8>] (handle_irq_event_percpu) from [<80170e2c>]
(handle_irq_event+0x94/0xb8)
r7:80e282e4 r6:80fff878 r5:80fff818 r4:80fff800
[<80170d98>] (handle_irq_event) from [<801761a4>]
(handle_edge_irq+0xec/0x10c)
r7:80e282e4 r6:80fff878 r5:80fff818 r4:80fff800
[<801760b8>] (handle_edge_irq) from [<8016fbb8>]
(generic_handle_irq+0x38/0x48)
r7:80e282e4 r6:ffffe000 r5:80e3a640 r4:0000000c
[<8016fb80>] (generic_handle_irq) from [<8043e98c>]
(mpc8xxx_gpio_irq_cascade+0xac/0xd0)
[<8043e8e0>] (mpc8xxx_gpio_irq_cascade) from [<80171c80>]
(irq_forced_thread_fn+0x38/0x8c)
r5:80e282c0 r4:80deda00
[<80171c48>] (irq_forced_thread_fn) from [<80171eb4>]
(irq_thread+0x11c/0x238)
r7:80e282e4 r6:ffffe000 r5:80e282c0 r4:80deda00
[<80171d98>] (irq_thread) from [<8013d9bc>] (kthread+0x18c/0x19c)
r10:80e121c0 r9:80e282c0 r8:80171d98 r7:80d15bf4 r6:80e28300 r5:80e3e000
r4:80e28340
[<8013d830>] (kthread) from [<80100130>] (ret_from_fork+0x14/0x24)
Exception stack(0x80e3ffb0 to 0x80e3fff8)
ffa0: 00000000 00000000 00000000
00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8013d830
r4:80e28300 r3:80e121c0
---[ end trace 0000000000000002 ]---
Reverting commit 3d5bfbd9716318b1ca5c38488aa69f64d38a9aa5 (gpio:
mpc8xxx: change the gpio interrupt flags.) makes it go away, as does
disabling CONFIG_PREEMPT_RT or simply booting a vanilla v5.10.42 (where
that option exists but cannot be selected).
This seems to be the kind of thing where an -rt expert can immediately
see what's wrong and how to fix it. Ideas anyone?
Thanks,
Rasmus
next reply other threads:[~2021-06-15 12:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 12:35 Rasmus Villemoes [this message]
2021-06-15 15:33 ` commit 3d5bfbd97163 versus -rt Steven Rostedt
2021-06-15 15:57 ` Rasmus Villemoes
2021-06-15 16:24 ` Rasmus Villemoes
2021-06-15 17:09 ` Steven Rostedt
2021-06-16 8:00 ` Oleksandr Natalenko
2021-06-18 20:04 ` Thomas Gleixner
2021-06-21 7:54 ` Rasmus Villemoes
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=5afbc89e-dbc4-3f47-4e61-63a77165aaec@prevas.dk \
--to=rasmus.villemoes@prevas.dk \
--cc=bgolaszewski@baylibre.com \
--cc=esben@geanix.com \
--cc=hui.song_1@nxp.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=vladimir.oltean@nxp.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 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.