[PATCH 1/2] ARM: vexpress: Check master site in daughterboard's sysctl operations
Jon Medhurst (Tixy)
tixy at linaro.org
Tue Jun 12 09:02:37 EDT 2012
On Tue, 2012-06-12 at 09:58 +0100, Jon Medhurst (Tixy) wrote:
> On Fri, 2012-06-08 at 13:50 +0100, Pawel Moll wrote:
> > With recent enough motherboard firmware, core tile can be fitted
> > in either of the two daughterboard sites. The non-DT tile code for
> > V2P-CA9 did not check that when configuring DVI output nor setting
> > CLCD pixel clock.
> >
> > Fixed now, providing "get master site" API in motherboard's code.
> >
> > Signed-off-by: Pawel Moll <pawel.moll at arm.com>
>
> This patch makes an Ubuntu boot always hang for me, about the time it
> would switch to GUI mode, it's not very consistent unfortunately.
I've found the cause of the problem, v2m_get_master_site() is marked
__init but is used by the non __init function ct_ca9x4_clcd_enable(). So
when Ubuntu GUI startup messes with the display it ends up calling into
freed memory.
Dropping __init from ct_ca9x4_clcd_enable() fixes my boot failures.
--
Tixy
More information about the linux-arm-kernel
mailing list