Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: 陳柏宏 <howard.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>,
	"Tyler Baker"
	<tyler.baker-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"Koan-Sin Tan"
	<freedom.tan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	"Yingjoe Chen"
	<yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>,
	"Eddie Huang (黃智傑)"
	<eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>,
	"Pi-Cheng Chen"
	<pi-cheng.chen-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	linux-arm-kernel
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: MTK mt8173-evb: mainline unstable, and big-endian boot failures
Date: Wed, 27 Jan 2016 17:16:45 -0800	[thread overview]
Message-ID: <7hsi1ilczm.fsf@baylibre.com> (raw)
In-Reply-To: <CAOi56cVDbkAJEDWy3+DV63a=UuD7nqpUu8X7e-OjtWM-4dj_-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> (Kevin Hilman's message of "Wed, 27 Jan 2016 16:55:25 -0800")

Kevin Hilman <khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> writes:

[...]

> It seems to be pretty stable up through v4.4 but
> unreliable/unpredictable in v4.5-rc1 and lots of places in between.
> It's hard to bisect because it doesn't reliably fail, but when it does
> fail to finish booting, it's typically after it reaches a shell, and
> trying to run various simple shell commands fails to complete, like
> this example from next-20160125[2].
>
> To me this suggests possibly an issue with the idle driver where
> characters might be getting lost on the serial console, which causes
> the automated boot scripts to fail because the shell is still waiting
> for the command to be finished.

FWIW, I think I confirmed my suspicion that it's an idle driver issue
because adding 'nohlt' on the cmdline, which forces cpuidle_poll mode
(essentially disabling cpuidle) makes mainline boot quite reliably on my
mt8173-evb board now.

Kevin

  parent reply	other threads:[~2016-01-28  1:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28  0:55 MTK mt8173-evb: mainline unstable, and big-endian boot failures Kevin Hilman
     [not found] ` <CAOi56cVDbkAJEDWy3+DV63a=UuD7nqpUu8X7e-OjtWM-4dj_-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-28  1:16   ` Kevin Hilman [this message]
     [not found]     ` <CAF-23O3ps0Wt_UCmJbArpc5iJJryJKA0k_2qAyNb7op8O=UnAg@mail.gmail.com>
2016-01-28  6:56       ` Eddie Huang
2016-01-30  0:09         ` Kevin Hilman
     [not found]           ` <7hy4b8gc7q.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-02-01  6:49             ` Eddie Huang
2016-02-02  1:17               ` Kevin Hilman
     [not found]                 ` <7hh9hrgbbh.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-02-02  2:17                   ` Fan Chen
2016-02-02 18:46                     ` Kevin Hilman
     [not found]                       ` <7h37tbdk6y.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-02-03  1:38                         ` Fan Chen
2016-02-03  6:44                           ` Kevin Hilman
     [not found] ` <CAF-23O2y7qRB=ZoU8cn2gcX7rjFdXh+rdLXSjF1nnym79Mknug@mail.gmail.com>
     [not found]   ` <CAF-23O2y7qRB=ZoU8cn2gcX7rjFdXh+rdLXSjF1nnym79Mknug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-28  9:37     ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7hsi1ilczm.fsf@baylibre.com \
    --to=khilman-rdvid1duhrbwk0htik3j/w@public.gmane.org \
    --cc=eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
    --cc=freedom.tan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=howard.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=pi-cheng.chen-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=tyler.baker-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox