Re: [RFC PATCH 2/2] tty:msm_serial: Do not reset IP if we use bootconsole

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/14 07:32, Srinivas Kandagatla wrote:
> The use case is when we boot the platform with bootconsole enabled. What
> I noticed is that the console gets locked sometimes up before the bootconsole
> is disabled.
>
> As part of console setup in serial driver it resets that hardware which
> is a race condition to bootconsole using the same hardware. This
> patch adds a check to see if there is bootconsole before reseting the hardware.
>
> Am sure there are better ways to solve this, so marking this patch as
> RFC. Any suggestions are welcome.
>
>

Isn't there some way to check and wait for the hardware to be unused
before we reset it?

I recall being able to overcome this "race condition" by removing the
printks in the serial driver setup. Does that work for you?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux