From: Kevin Hilman <khilman@baylibre.com>
To: Artem Lapkin <email2tema@gmail.com>, narmstrong@baylibre.com
Cc: jbrunet@baylibre.com, martin.blumenstingl@googlemail.com,
dri-devel@lists.freedesktop.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
christianshewitt@gmail.com, art@khadas.com, nick@khadas.com,
gouwa@khadas.com
Subject: Re: [PATCH] drm: meson_drv add shutdown function
Date: Mon, 08 Mar 2021 09:30:07 -0800 [thread overview]
Message-ID: <7ho8ft365c.fsf@baylibre.com> (raw)
In-Reply-To: <20210302042202.3728113-1-art@khadas.com>
Artem Lapkin <email2tema@gmail.com> writes:
> Problem: random stucks on reboot stage about 1/20 stuck/reboots
> // debug kernel log
> [ 4.496660] reboot: kernel restart prepare CMD:(null)
> [ 4.498114] meson_ee_pwrc c883c000.system-controller:power-controller: shutdown begin
> [ 4.503949] meson_ee_pwrc c883c000.system-controller:power-controller: shutdown domain 0:VPU...
> ...STUCK...
>
> Solution: add shutdown function to meson_drm driver
> // debug kernel log
> [ 5.231896] reboot: kernel restart prepare CMD:(null)
> [ 5.246135] [drm:meson_drv_shutdown]
> ...
> [ 5.259271] meson_ee_pwrc c883c000.system-controller:power-controller: shutdown begin
> [ 5.274688] meson_ee_pwrc c883c000.system-controller:power-controller: shutdown domain 0:VPU...
> [ 5.338331] reboot: Restarting system
> [ 5.358293] psci: PSCI_0_2_FN_SYSTEM_RESET reboot_mode:0 cmd:(null)
> bl31 reboot reason: 0xd
> bl31 reboot reason: 0x0
> system cmd 1.
> ...REBOOT...
>
> Tested: on VIM1 VIM2 VIM3 VIM3L khadas sbcs - 1000+ successful reboots
> and Odroid boards, WeTek Play2 (GXBB)
>
> Tested-by: Christian Hewitt <christianshewitt@gmail.com>
> Signed-off-by: Artem Lapkin <art@khadas.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2021-03-08 17:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-02 4:22 [PATCH] drm: meson_drv add shutdown function Artem Lapkin
2021-03-08 9:00 ` Neil Armstrong
2021-03-08 17:30 ` Kevin Hilman [this message]
2021-03-09 8:23 ` Neil Armstrong
2021-03-09 17:13 ` Kevin Hilman
2021-03-09 17:22 ` Neil Armstrong
2021-03-09 17:50 ` Kevin Hilman
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=7ho8ft365c.fsf@baylibre.com \
--to=khilman@baylibre.com \
--cc=art@khadas.com \
--cc=christianshewitt@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=email2tema@gmail.com \
--cc=gouwa@khadas.com \
--cc=jbrunet@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=narmstrong@baylibre.com \
--cc=nick@khadas.com \
/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;
as well as URLs for NNTP newsgroup(s).