mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
e70f2f4ac48542dac72c7e437ed7af38bf220de1
This reverts commit 4ac42c4404.
DMA_ATTR_NO_KERNEL_MAPPING is not well supported on apply_to_page_range(),
which causes the following error:
[ 2.268586] nvme nvme0: pci function 0002:21:00.0
[ 2.268649] nvme 0002:21:00.0: enabling device (0000 -> 0002)
[ 2.376361] nvme nvme0: missing or invalid SUBNQN field.
[ 2.378661] Unable to handle kernel paging request at virtual address ffffffc400000000
[ 2.379360] Mem abort info:
[ 2.379616] ESR = 0x96000045
[ 2.379895] Exception class = DABT (current EL), IL = 32 bits
[ 2.380414] SET = 0, FnV = 0
[ 2.380691] EA = 0, S1PTW = 0
[ 2.380970] Data abort info:
[ 2.381237] ISV = 0, ISS = 0x00000045
[ 2.381575] CM = 0, WnR = 1
[ 2.381846] swapper pgtable: 4k pages, 39-bit VAs, pgdp = 000000005a0c0862
[ 2.382446] [ffffffc400000000] pgd=0000000000000000, pud=0000000000000000
[ 2.383049] Internal error: Oops: 96000045 [#1] PREEMPT SMP
[ 2.383546] Modules linked in:
[ 2.383827] Process kworker/u8:0 (pid: 7, stack limit = 0x00000000b285d686)
[ 2.384441] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 4.19.172 #134
[ 2.385017] Hardware name: Rockchip RK3568 EVB1 DDR4 V10 Board (DT)
[ 2.385580] Workqueue: nvme-reset-wq nvme_reset_work
[ 2.386022] pstate: 60c00009 (nZCv daif +PAN +UAO)
[ 2.386453] pc : __dma_clear_pte+0x0/0xc
[ 2.386804] lr : apply_to_page_range+0x1bc/0x274
[ 2.519225]
[ 2.519366] Call trace:
[ 2.519593] __dma_clear_pte+0x0/0xc
[ 2.519908] __dma_alloc+0x240/0x3f0
[ 2.520224] nvme_reset_work+0xaf4/0xf14
[ 2.520575] process_one_work+0x26c/0x438
[ 2.520935] worker_thread+0x260/0x4a8
[ 2.521272] kthread+0x13c/0x14c
[ 2.521564] ret_from_fork+0x10/0x18
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifb10b05af6b9778990cad23e3d45cc440bbecb2f
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%