CONFIG_NEON=y causes platform lockups with certain application/platform combinations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-fsl-imx51 (Ubuntu) |
Fix Released
|
High
|
Bryan Wu | ||
Karmic |
Fix Released
|
Medium
|
Tim Gardner | ||
Lucid |
Fix Released
|
High
|
Bryan Wu | ||
uboot-imx (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Karmic |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
Observed for example running ffplay to decode H.264 video on Babbage 2.0
This needs to be worked around by a separate kernel image for the affected platforms, or the ability to enable or disable CONFIG_NEON at boot.
Note that the principal problem here is the reporting of neon in the auxv AT_HWCAP word and /proc/cpuinfo which may mislead userspace apps into using NEON.
The NEON context-switching code enabled by CONFIG_NEON should not itself cause problems.
TEST CASE
=======
1) Download the neon-checker.tar.gz attachment
2) Build this with the following:
$ gcc -g -march=armv7 -mfpu=neon -o neon-check neon-check.s
$ gcc -g -march=armv7 -mfpu=neon -o neon-probe neon-probe.s
3) Run each of neon-check and neon-probe
$ ./neon-check &
$ ./neon-probe &
Result if bug is present:
neon-check will exit immediately with SIGILL or print error messages
Result if bug is addressed:
both programs run without error endlessly
(this can be considered satisfied aftern an hour or so for SRU verification purposes)
visibility: | public → private |
Changed in linux-fsl-imx51 (Ubuntu): | |
assignee: | nobody → Bryan Wu (cooloney) |
visibility: | private → public |
Changed in uboot-imx (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in linux-fsl-imx51 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in linux-fsl-imx51 (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: patch |
description: | updated |
tags: |
added: verification-failed removed: verification-needed |
@Dave,
I just simply disabled the NEON in fsl-imx51 kernel now. The git tree is here: kernel. ubuntu. com/git? p=roc/ubuntu- lucid.git; a=shortlog; h=refs/ heads/lp507416
http://
And please download the kernel package here to do some test on your hardware: people. canonical. com/~roc/ kernel/ lp507416/
http://
Thanks,
-Bryan