public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: a.paterniani@swapp-eng•it (Andrea Paterniani)
To: linux-arm-kernel@lists•infradead.org
Subject: [patch 0/2] ARM: Disable outer cache before kexec call -V3
Date: Fri, 06 Aug 2010 08:16:30 +0200	[thread overview]
Message-ID: <4C5BA8BE.9010408@swapp-eng.it> (raw)
In-Reply-To: <4C5930AD.3030701@swapp-eng.it>

Any other suggestion?

Thanks
- Andrea

Il 04/08/2010 11.19, Andrea Paterniani ha scritto:
> Il 03/08/2010 19.36, Gadiyar, Anand ha scritto:
>> Andrea Paterniani wrote:
>>> 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=ext3 
>>> rootwait ip=192.168.2.13::255.255.255.0
>>>
>>> To restart the system I type:
>>> >  sync
>>> >  kexec -l /boot/zImage --append="console=ttyS2,115200n8 
>>> root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait 
>>> ip=192.168.2.13::255.255.255.0"
>>> >  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.
>>>
>>> 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=y
> CONFIG_DEBUG_LL=y
>
> I 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,
> - Andrea
>
>>
>>> Il 05/07/2010 13.52, Thomas Gleixner ha scritto:
>>>> 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_WAY in l2x0_flush_all according to Catalin
>>>>
>>>>    - Rename outer_cache_disable() to outer_disable()
>>>>
>>>>    - Added a  BUG_ON() when l2x0_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
>>
>

-- 

      reply	other threads:[~2010-08-06  6:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 11:52 [patch 0/2] ARM: Disable outer cache before kexec call -V3 Thomas Gleixner
2010-07-05 11:52 ` [patch 1/2] arm: Disable outer (L2) cache in kexec Thomas Gleixner
2010-07-05 12:11   ` Catalin Marinas
2010-07-05 11:52 ` [patch 2/2] arm: Implement l2x0 cache disable functions Thomas Gleixner
2010-07-05 12:13   ` Catalin Marinas
2010-08-03 12:44   ` Linus Walleij
2010-08-03 14:20 ` [patch 0/2] ARM: Disable outer cache before kexec call -V3 Andrea Paterniani
2010-08-03 17:36   ` Gadiyar, Anand
2010-08-04  6:46     ` Andrea Paterniani
2010-08-04  6:50       ` Shilimkar, Santosh
2010-08-04  7:00       ` Baruch Siach
2010-08-04  9:19     ` Andrea Paterniani
2010-08-06  6:16       ` Andrea Paterniani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5BA8BE.9010408@swapp-eng.it \
    --to=a.paterniani@swapp-eng$(echo .)it \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox