[lkml]   [2020]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] MIPS: Replace setup_irq() by request_irq()
On Thu, Mar 05, 2020 at 05:27:53PM +0530, afzal mohammed wrote:
> request_irq() is preferred over setup_irq(). Invocations of setup_irq()
> occur after memory allocators are ready.
> Per tglx[1], setup_irq() existed in olden days when allocators were not
> ready by the time early interrupts were initialized.
> Hence replace setup_irq() by request_irq().
> remove_irq() has been replaced by free_irq() as well.
> There were build error's during previous version, couple of which was
> reported by kbuild test robot <> of which one was reported
> by Thomas Bogendoerfer <> as well. There were a
> few more issues including build errors, those also have been fixed.
> [1]
> Signed-off-by: afzal mohammed <>

This patch regresses booting malta_defconfig with both GCC and clang
with this rootfs and QEMU 4.2.0:

$ timeout 2m qemu-system-mipsel -machine malta -cpu 24Kf -initrd rootfs.cpio -kernel vmlinux -m 512m -display none -serial mon:stdio

just hangs. I have not done further debugging past the initial bisect.


 \ /
  Last update: 2020-03-11 06:31    [W:0.117 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site