Re: 4.7 kernel panic with EXYNOS_IOMMU

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

 



Hi Marian,


On 2016-08-03 12:00, Marian Mihailescu wrote:
Thanks for the reply, Marek.
Can you give me a repository where I can find the commits? I want to
try them on my kernel tree.

Everything is already in linux-next repo:
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git

All related patches have been merged in commit
8fe9c8b750ca294882b163100817f97866990481.


On Wed, Aug 3, 2016 at 5:01 PM, Marek Szyprowski
<m.szyprowski@xxxxxxxxxxx> wrote:
Hi Marian,

On 2016-08-03 08:40, Marian Mihailescu wrote:

http://paste.debian.net/786704

[   19.053848] exynos-sysmmu 11200000.sysmmu:: PAGE FAULT occurred at
0x51000000 (page table base: 0x6eb04000)
[   19.053854] exynos-sysmmu 11200000.sysmmu::  Lv1 entry: 0x6e81b001
[   19.053909] ------------[ cut here ]------------
[   19.053915] kernel BUG at drivers/iommu/exynos-iommu.c:410!
[   19.053920] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[   19.053951] Modules linked in: s5p_mfc exynos_gsc v4l2_mem2mem
v4l2_common videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev
videobuf2_core
[   19.053959] CPU: 0 PID: 336 Comm: setfont Not tainted 4.7.0-1 #2
[   19.053963] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
[   19.053968] task: c24e1900 ti: e3838000 task.ti: e3838000
[   19.053980] PC is at exynos_sysmmu_irq+0x1f4/0x210
[   19.053985] LR is at exynos_sysmmu_irq+0x100/0x210
[   19.053990] pc : [<c03eaa38>]    lr : [<c03ea944>]    psr: 600e0193
[   19.053990] sp : e3839a50  ip : ee870f80  fp : 00000510
[   19.053994] r10: 00000000  r9 : 0000001c  r8 : ee86adb0
[   19.053998] r7 : ee86ad90  r6 : 51000000  r5 : 00000000  r4 : c074a838
[   19.054003] r3 : 6e81b001  r2 : 00000000  r1 : 6e81b001  r0 : 00000036
[   19.054009] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
Segment none
[   19.054013] Control: 10c5387d  Table: 6d9a806a  DAC: 00000051
[   19.054017] Process setfont (pid: 336, stack limit = 0xe3838210)
the same config, but without EXYNOS_IOMMU boots fine.

This is a known issue - a page fault from MFC driver, which needs special
handling
of IOMMU. It exists since adding DT support to Exynos IOMMU driver in v4.2
(earlier
Exynos IOMMU wasn't even initialized due to lack of DT support). This is one
of the
reasons, why Exynos IOMMU is not enabled yet in exynos_defconfig.

Proper support for IOMMU in MFC driver will be available in v4.8-rc1
(patches are
already queued for merging).

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland

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



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux