ARM: Disable outer cache before kexec call -V3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/2] ARM: Disable outer cache before kexec call -V3
Any other suggestion?
Thanks
- Andrea
Il 04/08/2010 11.19, Andrea Paterniani ha scritto:
Quoted 79 lines
Il 03/08/2010 19.36, Gadiyar, Anand ha scritto:
Quoted 22 lines
Quoted 21 lines · Andrea Paterniani
Hi,
I have applied your patches to kernel 2.6.35-rc4 running on my
beagleboard.
I'm using kexec-tools-2.0.1.My u-boot bootargs is:
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3rootwait ip=192.168.2.13::255.255.255.0
To restart the system I type:
Quoted 2 lines
sync
kexec -l/boot/zImage--append="console=ttyS2,115200n8root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
ip=192.168.2.13::255.255.255.0"Quoted 1 line
kexec -e
Not every time the system restart.
In some cases no output on the console after the following:
Bye!
Uncompressing Linux... done, booting the kernel.Quoted 5 lines
Quoted 2 lines
Any idea?
Can you try building your kernel with
CONFIG_EARLY_PRINTK, and add the word "earlyprintk" to your bootargs?I built the kernel with (also verified via zcat
/proc/config.gz| grep ... after succesfull kexec):
CONFIG_EARLY_PRINTK=yCONFIG_DEBUG_LL=yI load new kernel zImage via:
kexec -l/boot/zImage--append="earlyprintk console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=192.168.2.13::255.255.255.0"but when kexec fails I got only the following:
Bye!
Uncompressing Linux... done, booting the kernel.What do I miss whith earlyprintk?
Perhaps I did not enough tests, but at the moment it seems that system boot with nfs rootfs followed by kexec with mmc rootfs works. Problems arise with system boot and kexec both with mmc rootfs.
Regards,
- AndreaQuoted 26 lines
Quoted 21 lines
Il 05/07/2010 13.52, Thomas Gleixner ha scritto:
Quoted 19 lines
The following patch series addresses the problem that the kexec code does not disable the outer cache before disabling the inner cache and jumping into the new kernel. This results in random crashes of the new kernel.
Changes since version 2:
- Use
CLEAN_INV_WAYinl2x0_flush_allaccording to Catalin- Rename
outer_cache_disable()toouter_disable()- Added a
BUG_ON()whenl2x0_inv_all()is called with L2 enabled.Thanks,
tglx
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel