From: Michael Schmitz <schmitzmic@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>, Finn Thain <fthain@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
linux-m68k@lists.linux-m68k.org
Subject: Re: spinlock recursion when running q800 emulation in qemu
Date: Tue, 5 Mar 2024 14:06:45 +1300 [thread overview]
Message-ID: <29677f11-5e2f-4928-854d-b62a758e9fed@gmail.com> (raw)
In-Reply-To: <6ba36077-004c-427a-a641-e30e550235cb@roeck-us.net>
Hi Guenter,
On 5/03/24 13:58, Guenter Roeck wrote:
> On 3/4/24 16:47, Michael Schmitz wrote:
>> Hi Guenter,
>>
>> On 5/03/24 13:33, Finn Thain wrote:
>>> On Mon, 4 Mar 2024, Guenter Roeck wrote:
>>>
>>>> when running the q800 qemu emulation, am seeing random "spinlock
>>>> recursion" messages every few test runs. Some examples are below. This
>>>> is not a new problem, but it keeps popping up.
>>>>
>>> You have to enable CONFIG_DEBUG_SPINLOCK to see it. I have logs from 10
>>> years ago that show it. Those logs have the VIA timer driver in the
>>> backtrace, like yours. That was v3.17 running on a PowerBook 180.
>>>
>>>> Is this a potential problem or just noise ?
>>> Maybe the locking validation is not compatible with nested
>>> interrupts (?)
>> Seeing as m68k is the only architecture that allows nesting of
>> interrupts, I'd rate that as quite likely. At least that's how I
>> understood the situation a few years back when that weird access past
>> end of RAM during interrupt accounting bug was discussed.
>>> Does "spinlock recursion" show up in Aranym as well? I would check for
>>> that myself but I don't have a reproducer.
>>
>> If you can give me a hint on what kind of workload that happens at,
>> I'd be happy to run something similar (if not the same) on my 030
>> hardware.
>>
>> I've never set CONFIG_DEBUG_SPINLOCK, so would have missed these
>> messages, too.
>>
>
> No workload in my case, just boot into the qemu q800 emulation.
>
> Looking into statistics, for example at
> https://kerneltests.org/builders/qemu-m68k-master,
> it is seen every ~5-10 boot attempts.
I can certainly do that ...
Cheers,
Michael
>
> Guenter
>
next prev parent reply other threads:[~2024-03-05 1:06 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 17:58 spinlock recursion when running q800 emulation in qemu Guenter Roeck
2024-03-05 0:33 ` Finn Thain
2024-03-05 0:48 ` Michael Schmitz
[not found] ` <fcb506f2-523d-4efc-ae3d-fe3c79c6f09e@gmail.com>
2024-03-05 0:58 ` Guenter Roeck
2024-03-05 1:06 ` Michael Schmitz [this message]
2024-03-06 7:14 ` Michael Schmitz
2024-03-06 8:30 ` Brad Boyer
2024-03-06 23:13 ` Finn Thain
2024-03-06 23:46 ` Guenter Roeck
2024-03-07 23:35 ` Finn Thain
2024-03-06 23:42 ` Michael Schmitz
2024-03-06 23:52 ` Finn Thain
2024-03-08 0:20 ` Michael Schmitz
2024-03-08 0:56 ` Finn Thain
2024-03-08 8:06 ` Michael Schmitz
2024-03-08 9:15 ` Finn Thain
2024-03-08 9:33 ` Finn Thain
2024-03-08 20:14 ` Michael Schmitz
2024-03-09 5:02 ` Finn Thain
2024-03-09 20:56 ` Michael Schmitz
2024-03-09 22:18 ` Finn Thain
2024-03-11 7:06 ` Michael Schmitz
2024-03-11 8:35 ` Finn Thain
2024-03-12 0:51 ` Michael Schmitz
2024-03-12 7:59 ` Geert Uytterhoeven
2024-03-12 20:14 ` Michael Schmitz
2024-03-13 0:16 ` Michael Schmitz
2024-03-13 4:39 ` Preemption (was: Re: spinlock recursion when running q800 emulation in qemu) Michael Schmitz
2024-03-13 4:40 ` spinlock recursion when running q800 emulation in qemu Finn Thain
2024-03-13 5:34 ` Michael Schmitz
2024-03-14 0:59 ` Michael Schmitz
2024-03-15 4:32 ` Michael Schmitz
2024-03-15 7:24 ` Finn Thain
2024-03-18 6:24 ` Michael Schmitz
2024-03-18 9:31 ` Finn Thain
2024-03-20 1:00 ` Michael Schmitz
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=29677f11-5e2f-4928-854d-b62a758e9fed@gmail.com \
--to=schmitzmic@gmail.com \
--cc=fthain@linux-m68k.org \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux@roeck-us.net \
/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