[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8a81b3d-b005-4b6f-991b-c31cdb5513e5@roeck-us.net>
Date: Sun, 4 Aug 2024 20:28:48 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, stable@...r.kernel.org
Cc: patches@...ts.linux.dev, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org, shuah@...nel.org,
patches@...nelci.org, lkft-triage@...ts.linaro.org, pavel@...x.de,
jonathanh@...dia.com, f.fainelli@...il.com, sudipm.mukherjee@...il.com,
srw@...dewatkins.net, rwarsow@....de, conor@...nel.org,
allen.lkml@...il.com, broonie@...nel.org,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Helge Deller <deller@....de>, Parisc List <linux-parisc@...r.kernel.org>
Subject: Re: [PATCH 6.10 000/809] 6.10.3-rc3 review
On 8/4/24 11:36, Guenter Roeck wrote:
> Hi,
>
> On 7/31/24 03:03, Greg Kroah-Hartman wrote:
>> This is the start of the stable review cycle for the 6.10.3 release.
>> There are 809 patches in this series, all will be posted as a response
>> to this one. If anyone has any issues with these being applied, please
>> let me know.
>>
>> Responses should be made by Fri, 02 Aug 2024 09:47:47 +0000.
>> Anything received after that time might be too late.
>>
> [ ... ]
>
>> Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>> genirq: Set IRQF_COND_ONESHOT in request_irq()
>>
>
> With this patch in v6.10.3, all my parisc64 qemu tests get stuck with repeated error messages
>
> [ 0.000000] =============================================================================
> [ 0.000000] BUG kmem_cache_node (Not tainted): objects 21 > max 16
> [ 0.000000] -----------------------------------------------------------------------------
>
> This never stops until the emulation aborts.
>
> Reverting this patch fixes the problem for me.
>
> I noticed a similar problem in the mainline kernel but it is either spurious there
> or the problem has been fixed.
>
As a follow-up, the patch below (on top of v6.10.3) "fixes" the problem for me.
I guess that suggests some kind of race condition.
Added Helge and the parisc mailing list to Cc:. Sorry, I forgot that earlier.
Guenter
---
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index dd53298ef1a5..53a0f654ab56 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -8,6 +8,7 @@
#define pr_fmt(fmt) "genirq: " fmt
+#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/kthread.h>
#include <linux/module.h>
@@ -2156,6 +2157,8 @@ int request_threaded_irq(unsigned int irq, irq_handler_t handler,
struct irq_desc *desc;
int retval;
+ udelay(1);
+
if (irq == IRQ_NOTCONNECTED)
return -ENOTCONN;
Powered by blists - more mailing lists