* arm cortex a9, smp bootup requirement
@ 2012-07-06 9:08 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2012-07-06 9:08 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
can someone correct me about smp boot requirement for Linux?
We are fixing ARM zynq smp bootup code and would like to be sure
that out bootup code is correct.
I have found some requirements from standalone boot up code
which is invalidate dcache, icache, branch predictor array
and flush TLB.
I have found in secondary_start_kernel that TLB are flushed
by local_flush_tlb_all function.
But haven't found any cache invalidation calling.
I think it is required and we could be added to platform_secondary_init.
Or is it requirement which has to be fulfil by bootloader before
secondary_startup is called?
We have the option to reset specific cpu in the system and cpu
starts from 0x0 with cache off and in non-virtual mode
where we place simple jump trampoline to the secondary_startup
function. If cache invalidation is required by Linux we can extend this code
to do it.
Jumping trampoline is:
0x0: ldr r0, [8]
0x4: mov pc, r0
0x8: jump address
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 2+ messages in thread
* arm cortex a9, smp bootup requirement
@ 2012-07-06 9:08 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2012-07-06 9:08 UTC (permalink / raw)
To: LKML, linux-arm, Russell King; +Cc: John Linn, John Williams
Hi,
can someone correct me about smp boot requirement for Linux?
We are fixing ARM zynq smp bootup code and would like to be sure
that out bootup code is correct.
I have found some requirements from standalone boot up code
which is invalidate dcache, icache, branch predictor array
and flush TLB.
I have found in secondary_start_kernel that TLB are flushed
by local_flush_tlb_all function.
But haven't found any cache invalidation calling.
I think it is required and we could be added to platform_secondary_init.
Or is it requirement which has to be fulfil by bootloader before
secondary_startup is called?
We have the option to reset specific cpu in the system and cpu
starts from 0x0 with cache off and in non-virtual mode
where we place simple jump trampoline to the secondary_startup
function. If cache invalidation is required by Linux we can extend this code
to do it.
Jumping trampoline is:
0x0: ldr r0, [8]
0x4: mov pc, r0
0x8: jump address
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-06 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 9:08 arm cortex a9, smp bootup requirement Michal Simek
2012-07-06 9:08 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.