Re: Loongson64 and huge pages

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

 



Hi, Thomas,

On Wed, Dec 8, 2021 at 8:59 AM Thomas Bogendoerfer
<tsbogend@xxxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> [   11.647401] CPU 3 Unable to handle kernel paging request at virtual address 0000000558005801, epc == ffffffff80232838, ra == ffffffff802327ac
> [   11.660049] Oops[#1]:
> [   11.662303] CPU: 3 PID: 348 Comm: libvirtd Not tainted 5.16.0-rc3+ #140
> [   11.668877] Hardware name: Lemote LEMOTE-LS3A4000-7A1000-1w-V0.1-pc/LEMOTE-LS3A4000-7A1000-1w-V01-pc, BIOS Kunlun-A1901-V4.1.4 04/20/2020
> [   11.681153] $ 0   : 0000000000000000 000000007400cce0 000000000000033f 0000000558001811
> [   11.689119] $ 4   : 0000000000800000 0000000558005801 0000000000000000 980000013507c000
> [   11.697081] $ 8   : 0000000000000078 0000000000800000 ffffffffffffffff 9800000004714210
> [   11.705043] $12   : 9800000134fe7cb8 ffffffffffffff7f 9800000004714200 0000000000000040
> [   11.713005] $16   : 980000014ebbcfc0 000000007400cce1 000000ffabffc000 ffffffff81258700
> [   11.720966] $20   : 980000012137f464 980000012137f400 980000013507fea8 980000047cc60000
> [   11.728928] $24   : 0000000000000003 000000ffa3c08fa0
> [   11.736890] $28   : 9800000134fe4000 9800000134fe7c90 980000012137f468 ffffffff802327ac
> [   11.744853] Hi    : 00000000000001c8
> [   11.748399] Lo    : ffffffffc6da0e44
> [   11.751947] epc   : ffffffff80232838 __update_tlb+0xf0/0x258
> [   11.757578] ra    : ffffffff802327ac __update_tlb+0x64/0x258
> [   11.763202] Status: 7400cce2 KX SX UX KERNEL EXL
> [   11.767883] Cause : 10000008 (ExcCode 02)
> [   11.771862] BadVA : 0000000558005801
> [   11.775408] PrId  : 0014c001 (ICT Loongson-3)
> [   11.779733] Modules linked in:
> [   11.782764] Process libvirtd (pid: 348, threadinfo=00000000a73c3d49, task=00000000728cbb42, tls=000000fff0ced7d0)
> [   11.792968] Stack : 980000047cbed700 980000014ebbcfc0 000000ffaa000000 9800000134fe7d40
> [   11.800933]         0000000558001811 ffffffff804a26f8 0000000000000000 584fe00ab628d7e1
> [   11.808894]         0000000000000207 980000013507fea8 ffffffff814f4000 980000014ebbcfc0
> [   11.816856]         ffffffff81260000 0000000000000254 000000007400cce1 0000000000000001
> [   11.824818]         ffffffff813f6860 ffffffff8044e260 000000aaadae8000 980000012137f400
> [   11.832779]         000000000000000b 0000000000100077 980000014ebbcfc0 0000000000000cc0
> [   11.840742]         0000000003feafff 000000ffabffc000 0000000000000254 980000013507fea8
> [   11.848704]         98000001350f0078 0000000000000000 0000000000000000 0000000000000000
> [   11.856667]         0000000000000000 980000012137f464 0000000000000000 584fe00ab628d7e1
> [   11.864629]         9800000134fe7e08 980000014ebbcfc0 0000000000000254 000000ffabffc030
> [   11.872590]         ...
> [   11.875017] Call Trace:
> [   11.877440] [<ffffffff80232838>] __update_tlb+0xf0/0x258
> [   11.882722] [<ffffffff804a26f8>] do_huge_pmd_anonymous_page+0x3c8/0x808
> [   11.889300] [<ffffffff8044e260>] __handle_mm_fault+0xbc0/0xf38
> [   11.895099] [<ffffffff8044e7ec>] handle_mm_fault+0x214/0x2c8
> [   11.900722] [<ffffffff80f24638>] do_page_fault+0x218/0x6a0
> [   11.906176] [<ffffffff8022ae64>] tlb_do_page_fault_0+0x114/0x11c
> [   11.912149]
> [   11.913622] Code: 0067182d  dc630000  00a3282d <dca30000> 10800006  00033a3a  2408ffff  00031e3c  000847bc
> [   11.923325]
> [   11.924837] ---[ end trace bc99cfb1af49f825 ]---
> [   11.929428] note: libvirtd[348] exited with preempt_count 1
>
> is this a known issue ? If I disabled TRANSPARENT_HUGE_PAGE system
> works.
Have you tried some older kernels, such as 5.10/5.15? I have seen that
some MM-related patches be merged in MIPS tree in recent releases, and
maybe this bug is caused by them.

Huacai
>
> Thomas.
>
> --
> Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
> good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux