Skip to content

Fix omap serial early crash during hwmod _setup()

Felipe Balbi linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchFelipe Balbi
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix omap serial early crash during hwmod _setup()
Quoted 20 lines · Rajendra Nayak

This series should fix the issue with the early serial crash seen during hwmod _setup() as reported by [1]

The issue was reported on a am33xx device and was not seen on omap4 or omap5 devices as the hwmod data for both omap4 and omap5 had statically defined HWMOD_INIT_NO_IDLE and HWMOD_INIT_NO_RESET for uart3 which happens to be the debug console used on omap4 panda and omap5 uevm boards.

The series reverts the patch which stubbed out omap_serial_early_init() for DT boot and gets rid of the static flags in omap4 and omap5 hwmod data.

This series along with the patch posted by Felipe [2] should fix the issue reported by [1] completely and boot to prompt on a am33xx device with LL_DEBUG enabled.

I have boot tested this series (along with [2]) on a omap4 panda es and a am335x boneblack.

Quoted 8 lines

[1] http://comments.gmane.org/gmane.linux.ports.arm.omap/100628

[2] http://marc.info/?l=linux-omap&m=137353783912736&w=2

Rajendra Nayak (2):
Revert "ARM: OMAP2+: Fix serial init for device tree based booting"
ARM: OMAP4+: Get rid of the HWMOD_INIT_NO_IDLE and
HWMOD_INIT_NO_RESET flags for uart

boot tested on omap4-panda rev a3. Console still works and it suspends and resumes fine after setting a proper timeout.

Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130711/b7de8f7f/attachment.sig>