<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Shirish,<br>
<br>
looks like somebody is calling fork() while a TTM BO is illegally
mapped with the wrong file mapping.<br>
<br>
What application is this and what does this application tries to
do with the kernel driver?<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 13.11.2017 um 11:56 schrieb S, Shirish:<br>
</div>
<blockquote type="cite"
cite="mid:BN6PR12MB18263DDA2445C8076C035A71F22B0@BN6PR12MB1826.namprd12.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I find the below WARN_ON() message while
rendering on eDP in ST platform with
<a
href="https://cgit.freedesktop.org/%7Eairlied/linux/log/?h=drm-next-amd-dc-staging"
moz-do-not-send="true">
https://cgit.freedesktop.org/~airlied/linux/log/?h=drm-next-amd-dc-staging</a>
branch:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159552] WARNING:
CPU: 1 PID: 899 at
/mnt/host/source/src/third_party/kernel/v4.12/drivers/gpu/drm/ttm/ttm_bo_<o:p></o:p></p>
<p class="MsoNormal">vm.c:287 ttm_bo_vm_open+0x2b/0x38<o:p></o:p></p>
<p class="MsoNormal">[ 344.159552] Modules linked in: ccm cmac
rfcomm uinput rtsx_pci_sdmmc xt_nat lzo lzo_compress
ath10k_pci ath10k_co<o:p></o:p></p>
<p class="MsoNormal">re i2c_piix4 mac80211 zram bridge
designware_i2s stp ath rtsx_pci llc acpi_als ipt_MASQUERADE
nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat fuse
xt_mark cfg8<o:p></o:p></p>
<p class="MsoNormal">0211 ip6table_filter iio_trig_sysfs
cros_ec_sensors industrialio_triggered_buffer kfifo_buf
cros_ec_sensors_core industrialio ax88179_178a usbnet mii
btusb btrtl btb<o:p></o:p></p>
<p class="MsoNormal">cm btintel bluetooth ecdh_generic joydev
uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2
videobuf2_core<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159594] CPU: 1 PID:
899 Comm: TaskSchedulerSi Tainted: G W
4.14.0-00021-g4448b9a68413 #467<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159595] Hardware
name: Google Kahlee/Kahlee, BIOS Google_Kahlee.10122.0.0
11/10/2017<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159597] task:
ffff967e1f750000 task.stack: ffffa4aa00d78000<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159600] RIP:
0010:ttm_bo_vm_open+0x2b/0x38<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159602] RSP:
0018:ffffa4aa00d7bdb0 EFLAGS: 00010202<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159605] RAX:
ffff967d6505e858 RBX: ffff967da2415100 RCX: ffff967e2a3b2830<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159606] RDX:
ffff967da679bb40 RSI: ffff967e29f39510 RDI: ffff967d653682e0<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159608] RBP:
ffffa4aa00d7bdb0 R08: ffffffff87932194 R09: 0000000000000000<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159610] R10:
000000000001e1b1 R11: 000000000001e168 R12: ffff967da6789d00<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159611] R13:
ffff967e274e3b80 R14: ffff967d653682e0 R15: 0000000000000000<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159614] FS:
00007ddd0559a700(0000) GS:ffff967e2ed00000(0000)
knlGS:0000000000000000<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159616] CS: 0010
DS: 0000 ES: 0000 CR0: 0000000080050033<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159618] CR2:
0000162eb0bebb18 CR3: 000000012133e000 CR4: 00000000001406e0<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159619] Call Trace:<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159623]
copy_process.part.49+0xf47/0x186e<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159627]
_do_fork+0xcd/0x2d1<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159631] ?
__might_fault+0x35/0x37<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159634] ?
_copy_to_user+0x5e/0x6b<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159637]
SyS_clone+0x19/0x1b<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159639]
do_syscall_64+0x52/0x61<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159642]
entry_SYSCALL64_slow_path+0x25/0x25<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159644] RIP:
0033:0x7ddd1224be3a<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159646] RSP:
002b:00007ddd05598ce0 EFLAGS: 00000246 ORIG_RAX:
0000000000000038<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159649] RAX:
ffffffffffffffda RBX: 00007ddd05598ce0 RCX: 00007ddd1224be3a<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159651] RDX:
0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159652] RBP:
00007ddd05598d50 R08: 00000000000002e0 R09: 0000000000000383<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159654] R10:
00007ddd0559a9d0 R11: 0000000000000246 R12: 0000000000000000<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159656] R13:
00007ddd05598d00 R14: 00007ddd05598f01 R15: 0000162eb3b438a0<o:p></o:p></p>
<p class="MsoNormal">WARNING kernel: [ 344.159658] Code: 0f 1f
44 00 00 55 48 8b 87 a8 00 00 00 48 8b 97 a0 00 00 00 48 89 e5
48 8b 48 08 48 8b b2 30 01<o:p></o:p></p>
<p class="MsoNormal">00 00 48 39 b1 68 08 00 00 74 02 <0f>
ff 48 8d 78 30 e8 59 ff ff ff 5d c3 0f 1f 44 00 00 55 48 89<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anybody know the fix for it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Shirish S<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>