From: Krzysztof Kozlowski <krzk@kernel.org>
To: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
Marek Szyprowski <m.szyprowski@samsung.com>,
linux-samsung-soc@vger.kernel.org, Vinod Koul <vkoul@kernel.org>
Subject: dmaengine: pl330 rare NULL pointer dereference in pl330_tasklet
Date: Sat, 31 Oct 2020 20:01:24 +0100 [thread overview]
Message-ID: <20201031190124.GA486187@kozik-lap> (raw)
Hi all,
I hit quite rare issue with pl330 DMA driver, difficult to reproduce
(actually failed to do so):
Happened during early reboot
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target RPC Port Mapper.
Stopping OpenSSH Daemonti[ 75.447904] 8<--- cut here ---
[ 75.449506] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
...
[ 75.690850] [<c0902f70>] (pl330_tasklet) from [<c034d460>] (tasklet_action_common+0x88/0x1f4)
[ 75.699340] [<c034d460>] (tasklet_action_common) from [<c03013f8>] (__do_softirq+0x108/0x428)
[ 75.707850] [<c03013f8>] (__do_softirq) from [<c034dadc>] (run_ksoftirqd+0x2c/0x4c)
[ 75.715486] [<c034dadc>] (run_ksoftirqd) from [<c036fbfc>] (smpboot_thread_fn+0x13c/0x24c)
[ 75.723693] [<c036fbfc>] (smpboot_thread_fn) from [<c036c18c>] (kthread+0x13c/0x16c)
[ 75.731390] [<c036c18c>] (kthread) from [<c03001a8>] (ret_from_fork+0x14/0x2c)
Full log:
https://krzk.eu/#/builders/20/builds/954/steps/22/logs/serial0
1. Arch ARM Linux
2. multi_v7_defconfig
3. Odroid HC1, ARMv7, octa-core (Cortex-A7+A15), Exynos5422 SoC
4. systemd, boot up with static IP set in kernel command line
5. No swap
6. Kernel, DTB and initramfs are downloaded with TFTP
7. NFS root (NFS client) mounted from a NFSv4 server
Since I was not able to reproduce it, obviously I did not run bisect. If
anyone has ideas, please share.
Best regards,
Krzysztof
next reply other threads:[~2020-10-31 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20201031190133eucas1p2a90b3a7a1e39f4e778e288bb11a3ff9d@eucas1p2.samsung.com>
2020-10-31 19:01 ` Krzysztof Kozlowski [this message]
2020-11-02 7:38 ` dmaengine: pl330 rare NULL pointer dereference in pl330_tasklet Marek Szyprowski
2020-11-02 8:41 ` Krzysztof Kozlowski
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=20201031190124.GA486187@kozik-lap \
--to=krzk@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=vkoul@kernel.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;
as well as URLs for NNTP newsgroup(s).