Re: ARM Juno r1 + CONFIG_PROVE_LOCKING=y => boot failure
From: Marek Szyprowski
Date: Fri Oct 11 2019 - 06:21:28 EST
On 11.10.2019 12:05, Sudeep Holla wrote:
> Hi Marek,
> On Fri, Oct 11, 2019 at 11:26:04AM +0200, Marek Szyprowski wrote:
>> Recently I've got access to ARM Juno R1 board and did some tests with
>> current mainline kernel on it. I'm a bit surprised that enabling
>> CONFIG_PROVE_LOCKING causes a boot failure on this board. After enabling
>> this Kconfig option, I get no single message from the kernel, although I
>> have earlycon enabled.
> I don't have Juno R1 but I tried defconfig + CONFIG_PROVE_LOCKING and
> it boots fine.
> So if you disable CONFIG_PROVE_LOCKING(i.e. defconfig) boots fine ?
> Are you using DTB from the mainline ?
Yes, ARM Juno r1 boots fine with pure defconfig and mainline dtb.
However a few minutes ago I found that it boots with
v4.14+PROVE_LOCKING, so I will bisect it and share the results.
>> I've did my test with default defconfig and current linux-next,
>> v5.4-rc1, v5.3 and v4.19. In all cases the result is the same. I'm
>> booting kernel using a precompiled uboot from Linaro release and TFTP
> OK, I use UEFI+GRUB but I don't think that should cause any issue.
>> Is this a known issue? Other ARM64 boards I have access to (Samsung TM2e
>> and RaspberryPi3) boots fine with the same kernel image.
> Not that I am aware of. If you could send me the bootlog with defconfig
> I can take a look and see if I get any clue.
Marek Szyprowski, PhD
Samsung R&D Institute Poland