Re: OMAP34xx

Tony Lindgren
2012-02-05T01:33:58Z

* Grazvydas Ignotas <notasas@gmail.com> [120204 12:37]:
> On Sat, Feb 4, 2012 at 10:34 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > Another problem oopses the kernel at boot in the voltage domain code,
> > which I suspect this has never been boot tested on OMAP34xx CPUs:
> >
> > omap_vc_init_channel: PMIC info requried to configure vc forvdd_core not populated.Hence cannot initialize vc
> > Unable to handle kernel NULL pointer dereference at virtual address 00000000
> > pgd = c0004000
> > [00000000] *pgd=00000000
> > Internal error: Oops: 5 [#1] PREEMPT
> > Modules linked in:
> > CPU: 0    Not tainted  (3.3.0-rc2+ #204)
> > PC is at omap_vp_init+0x5c/0x15c
> > LR is at omap_vp_init+0x58/0x15c
>
> I've got hit by this too, and it also seems to be DT related, because
> if you don't select CONFIG_USE_OF, you lose TWL4030_CORE, which
> results in omap_vp errors and NULL dereference. TWL4030_CORE was made
> to depend on IRQ_DOMAIN, and that is selected by USE_OF or ARM_GIC. I
> guess everyone here builds with USE_OF, but maybe ARCH_OMAP3 should
> select ARM_GIC?

Thanks for tracking this down. We should not select GIC for omap3 as it
does not have it. Instead we should select IRQ_DOMAIN, there's patch
"[PATCH v4 1/4] ARM: kconfig: always select IRQ_DOMAIN" posted that
does that for all ARMs.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html