[PATCHv1 for soc 4/5] arm: Add v7_invalidate_l1 to cache-v7.S

Santosh Shilimkar santosh.shilimkar at ti.com
Fri Jan 25 12:47:48 EST 2013


On Friday 25 January 2013 09:50 PM, Dinh Nguyen wrote:
> Hi Santosh,
>
> On Fri, 2013-01-25 at 13:43 +0530, Santosh Shilimkar wrote:
>> On Friday 25 January 2013 06:30 AM, dinguyen at altera.com wrote:
>>> From: Dinh Nguyen <dinguyen at altera.com>
>>>
>>> mach-socfpga is another platform that needs to use
>>> v7_invalidate_l1 to bringup additional cores. There was a comment that
>>> the ideal place for v7_invalidate_l1 should be in arm/mm/cache-v7.S
>>>
>>> Signed-off-by: Dinh Nguyen <dinguyen at altera.com>
>>> Cc: Arnd Bergmann <arnd at arndb.de>
>>> Cc: Russell King <linux at arm.linux.org.uk>
>>> Cc: Olof Johansson <olof at lixom.net>
>>> Cc: Thomas Gleixner <tglx at linutronix.de>
>>> Cc: Rob Herring <rob.herring at calxeda.com>
>>> Cc: Sascha Hauer <kernel at pengutronix.de>
>>> Cc: Simon Horman <horms at verge.net.au>
>>> Cc: Magnus Damm <magnus.damm at gmail.com>
>>> Cc: Stephen Warren <swarren at wwwdotorg.org>
>>> Cc: Pavel Machek <pavel at denx.de>
>>> ---
>>>    arch/arm/mach-imx/headsmp.S      |   47 -------------------------------------
>>>    arch/arm/mach-shmobile/headsmp.S |   48 --------------------------------------
>>>    arch/arm/mach-tegra/headsmp.S    |   43 ----------------------------------
>>>    arch/arm/mm/cache-v7.S           |   47 +++++++++++++++++++++++++++++++++++++
>>>    4 files changed, 47 insertions(+), 138 deletions(-)
>>>
>> Does yor kernel skips the decompresser. Am just curious about
>> what you describe above since you should see the issue already
>> at decompresser. Your boot loader is expected to clean and
>> invalidating the caches before jumping into the kernel.
>
> This is for bringing up the 2nd core after the main CPU is already
> alive. Indeed, I did see this issue when the main CPU was coming up and
> have changed the bootloader to clean and invalidate the caches.
>
Ahh. I understand it now.

Regards
Santosh




More information about the linux-arm-kernel mailing list