Zhen Chen 0fd102707d Mali: bifrost: Using Upstream For MT Unmapped Area Topdown-Search
Comes from 03490297.diff in mail "241108: 21:51: ARM support: Inchara: ".

The original patch contains the following information:
{
Subject: [PATCH] [Official] GPUCORE-43479 Using Upstream For MT Unmapped Area Topdown-Search

This commit addresses the unmapped area search not ending its loop
operation issue. The change applies the upstream vm_unmapped_area()
with Maple-Tree (kernel 6.1.x) for search operations and then uses
a kbase specific adjustment loop for revisions to meet some extra
hardware alignment constraints.
}

The "not ending its loop operation issue" is reflected in various RK tests as
a "rcu_sched self-detected stall on CPU" with a call trace within Mali driver.
An instance:
[ 1442.379022] rcu: INFO: rcu_sched self-detected stall on CPU
[ 1442.379028] rcu:     4-....: (14999 ticks this GP) idle=a8b4/1/0x4000000000000000 softirq=152230/152230 fqs=7492
[ 1442.379033]  (t=15000 jiffies g=391269 q=378 ncpus=8)
[ 1442.379038] CPU: 4 PID: 1456 Comm: glmark2-es2-way Not tainted 6.1.99 #406
[ 1442.379041] Hardware name: Rockchip RK3588 EVB7 V11 Board (DT)
[ 1442.379044] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1442.379047] pc : mas_empty_area_rev+0x150/0x540
[ 1442.379054] lr : mas_empty_area_rev+0x198/0x540
[ 1442.379056] sp : ffffffc00f6ebae0
...
[ 1442.379097] Call trace:
[ 1442.379099]  mas_empty_area_rev+0x150/0x540
[ 1442.379102]  kbase_unmapped_area_topdown+0x144/0x264
[ 1442.379107]  kbase_context_get_unmapped_area+0x244/0x2ec
[ 1442.379111]  kbase_get_unmapped_area+0x48/0x70
[ 1442.379116]  get_unmapped_area+0x5c/0x100
[ 1442.379121]  do_mmap+0xe0/0x450
[ 1442.379124]  vm_mmap_pgoff+0xa0/0x150
[ 1442.379128]  ksys_mmap_pgoff+0x9c/0xd0
[ 1442.379132]  __arm64_sys_mmap+0x34/0x44
[ 1442.379136]  invoke_syscall+0x4c/0x114
[ 1442.379141]  el0_svc_common.constprop.0+0x54/0x180
[ 1442.379144]  do_el0_svc+0x20/0x2c
[ 1442.379148]  el0_svc+0x14/0x80
[ 1442.379151]  el0t_64_sync_handler+0xb0/0xb4
[ 1442.379155]  el0t_64_sync+0x158/0x15c
[ 1442.379158]
[ 1442.379158] PC: 0xffffffc009375950:
...

Change-Id: I6c5b1d37cf7f0853282126c23ce779032b7fabe7
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2024-11-11 19:12:38 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2024-10-25 17:51:39 +08:00
2022-09-28 09:02:20 +02:00
2024-07-15 09:23:49 +02:00

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.

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
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%