Hi Jan, Ralf,
More than a year ago I was working on Jailhouse support for TI AM572x SOC. That time we used v0.8
and everything worked fine. Presently I started to port that support to v0.10 version and found a
lot of new features. The mane "feature" that you removed "mach-..." and introduced "units". Because
am57xx requires to have custom init and cell exit functions I think I need to create am57xx unit.
If you remember, the am57xx had its own:
int mach_init(void),
void mach_cell_exit(struct cell *cell) and
int arch_handle_smc(struct trap_context *ctx)
so, I have to implement the corresponding am57xx_init() and am57xx_cell_exit().
Here is the old mach_cell_exit function, but many of the functions it uses disappeared in the v0.10
version.
void mach_cell_exit(struct cell *cell)
{
unsigned int cpu;
for_each_cpu(cpu, cell->cpu_set) {
per_cpu(cpu)->cpu_on_entry =
mmio_read32(wkupgen_base + OMAP_AUX_CORE_BOOT_0 +
cpu * 4);
per_cpu(cpu)->cpu_on_context = 0;
arch_suspend_cpu(cpu);
arch_reset_cpu(cpu);
}
}
Please could you help me to find a example of similar function for other platforms I can use to
implement the am57xx_cell_exit function. W/o it I cannot bring the second CPU after a cell destroy.
Thanks,
-Vitaly
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/2f1c216b-71a5-5a78-79f5-416b11539d81%40ti.com.
For more options, visit https://groups.google.com/d/optout.