Re: [PATCH] sh: intc: sort the prio and sense lists after filling them

From: John Paul Adrian Glaubitz

Date: Sat Oct 03 2026 - 02:53:34 EST


Hi,

On Fri, 2026-10-02 at 23:58 +0200, Karl Mehltretter wrote:
> thanks for testing. A cold reboot is not needed. The reported object was
> allocated by usb_get_configuration(), so this warning is unrelated to the
> INTC patch.

OK, so how do I reproduce the INTC issue?

> I sent a fix for the USB R8A66597 bug and copied you:
>
> https://lore.kernel.org/r/20261002213225.27834-1-kmehltretter@xxxxxxxxx/

Let me check.

> > Are you sure your patch actually fixes this problem?
> >
> > Or do I maybe need a cold reboot?
>
> A cold reboot is not needed.
>
> The INTC allocation remains live after boot, so SLUB does not necessarily
> check its redzone automatically. To check it explicitly after boot, run:
>
> echo 1 > /sys/kernel/slab/kmalloc-32/validate

So, running the validation should trigger the INTC issue on an unpatched kernel?

> Could you please test once with only the USB patch and once with both
> patches, using slub_debug=FZPU and running that command after each boot?

I'll test the USB patch first and see if that fixes the issue when booting
with slub_debug=FZPU. Then test the INTC issue with the command above.

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913