Re: [PATCH] sh: Avoid using IRQ0 on SH3 and SH4

From: Sergey Shtylyov
Date: Sat Jul 08 2023 - 16:56:07 EST


On 7/6/23 8:41 PM, John Paul Adrian Glaubitz wrote:

>> I tried rts7751r2dplus_defconfig with no modifications and the following minimized
>> qemu command line.
>>
>> qemu-system-sh4 -M r2d -kernel arch/sh/boot/zImage -serial null -serial stdio -nographic -monitor null
>>
>> This hangs after "heartbeat: version 0.1.2 loaded", so it doesn't
>> even get to the point where it would try to load a root file system.
>> After reverting this patch, I get
>> ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
>> as expected.
>>
>> I tried with qemu version 6.2, 7.1, 7.2, and 8.0.
>
> I'm curios to hear what Geert and Sergey have to say.

Sorry for a late reaction, I was busy reviewing some PATA patches and a static analyzer
work here, at OMP...

> I hope we don't have to revert this :-(.

I think we should be able to find the root cause soon.
I prolly should learn Qemu some day... :-)

> Adrian

MBR, Sergey