<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Yup confirmed...</p>
<p><br>
</p>
<p></p>
<div>[root@fx6 linux]# git bisect good</div>
<div>da00756f75422b04befae381e7e48d0cacf299f3 is the first bad commit</div>
<div>commit da00756f75422b04befae381e7e48d0cacf299f3</div>
<div>Author: Christian König <christian.koenig@amd.com></div>
<div>Date:   Wed Oct 5 16:09:32 2016 +0200</div>
<div><br>
</div>
<div>    drm/amdgpu: move align_mask and nop into ring funcs as well</div>
<div>    </div>
<div>    They are constant as well.</div>
<div>    </div>
<div>    Signed-off-by: Christian König <christian.koenig@amd.com></div>
<div>    Reviewed-by: Alex Deucher <alexander.deucher@amd.com></div>
<div><br>
</div>
<div>:040000 040000 a8f2ca9290985991b3cc37cbeb902f060573fdbb 2309b176a1d4ff9e59eaf25688b5db6eb9759dd0 M      drivers</div>
<div><br>
</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of StDenis, Tom <Tom.StDenis@amd.com><br>
<b>Sent:</b> Tuesday, October 11, 2016 09:20<br>
<b>To:</b> Andy Furniss; amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Deucher, Alexander<br>
<b>Subject:</b> Re: [PATCH 4/4] drm/amdgpu: used cached gca values for vi_read_register</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Andy,</p>
<p><br>
</p>
<p>Ha, I'm 1 step away (that was my last bad commit) from determining that.  I'll finish up for formality sake but I suspect that is the bad one.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Tom</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Andy Furniss <adf.lists@gmail.com><br>
<b>Sent:</b> Tuesday, October 11, 2016 09:10<br>
<b>To:</b> StDenis, Tom; amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Deucher, Alexander<br>
<b>Subject:</b> Re: [PATCH 4/4] drm/amdgpu: used cached gca values for vi_read_register</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">StDenis, Tom wrote:<br>
> Actually NAK that, I don't have the cache patch internally.  So my Tonga crash is something else.<br>
<br>
Yes, seems the boot fail starts with the tip commit =<br>
<br>
drm/amdgpu: move align_mask and nop into ring funcs as well<br>
They are constant as well.<br>
<br>
Will also reply to that patch.<br>
<br>
><br>
><br>
> Tom<br>
><br>
><br>
> ________________________________<br>
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of StDenis, Tom <Tom.StDenis@amd.com><br>
> Sent: Tuesday, October 11, 2016 08:11<br>
> To: Andy Furniss; amd-gfx@lists.freedesktop.org<br>
> Cc: Deucher, Alexander<br>
> Subject: Re: [PATCH 4/4] drm/amdgpu: used cached gca values for vi_read_register<br>
><br>
><br>
> Yup, my Tonga system dies on modprobe with the tip of stg-4.7 this morning.<br>
><br>
><br>
> Tom<br>
><br>
><br>
> ________________________________<br>
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Andy Furniss <adf.lists@gmail.com><br>
> Sent: Tuesday, October 11, 2016 08:07<br>
> To: Alex Deucher; amd-gfx@lists.freedesktop.org<br>
> Cc: Deucher, Alexander<br>
> Subject: Re: [PATCH 4/4] drm/amdgpu: used cached gca values for vi_read_register<br>
><br>
> Alex Deucher wrote:<br>
>> Using the cached values has less latency for bare metal and SR-IOV,<br>
>> and prevents reading back bogus values if the engine is powergated.<br>
><br>
> I can't startx since this on r9285.<br>
><br>
> Seems there are further issues later in current 4.9-wip = I die on<br>
> driver load, will see if that's related or one of Christians patches later.<br>
><br>
> Also anyone on list have shutdown/reboot issues - I can't for the past<br>
> few 4.9-wips (I did tag on to someone elses bug, but that's gone quiet).<br>
><br>
> One thing at a time this commit for me, boots into fbcon OK but then<br>
> segfaults -<br>
><br>
> [    19.694] (II) AIGLX: Loaded and initialized radeonsi<br>
> [    19.694] (II) GLX: Initialized DRI2 GL provider for screen 0<br>
> [    19.694] (EE)<br>
> [    19.694] (EE) Backtrace:<br>
> [    19.717] (EE) 0: /usr/libexec/Xorg (OsSigHandler+0x29) [0x5853b9]<br>
> [    19.726] (EE) 1: /lib/libc.so.6 (killpg+0x40) [0x7f97e86cb68f]<br>
> [    19.756] (EE) 2: /usr/lib/dri/radeonsi_dri.so<br>
> (amdgpu_surface_init+0x486) [0x7f97e1a40746]<br>
> [    19.757] (EE) 3: /usr/lib/dri/radeonsi_dri.so<br>
> (r600_texture_create_object+0xd7) [0x7f97e1a5dfe7]<br>
> [    19.759] (EE) 4: /usr/lib/dri/radeonsi_dri.so<br>
> (r600_texture_create+0x75) [0x7f97e1a5ea15]<br>
> [    19.771] (EE) 5: /usr/lib/dri/radeonsi_dri.so<br>
> (st_texture_create+0x5b) [0x7f97e178af1b]<br>
> [    19.773] (EE) 6: /usr/lib/dri/radeonsi_dri.so<br>
> (guess_and_alloc_texture+0x1ac) [0x7f97e173ae9c]<br>
> [    19.774] (EE) 7: /usr/lib/dri/radeonsi_dri.so<br>
> (st_AllocTextureImageBuffer+0x3a4) [0x7f97e173b3d4]<br>
> [    19.775] (EE) 8: /usr/lib/dri/radeonsi_dri.so (st_TexImage+0x6c)<br>
> [0x7f97e173f9ac]<br>
> [    19.786] (EE) 9: /usr/lib/dri/radeonsi_dri.so<br>
> (_mesa_get_fallback_texture+0x193) [0x7f97e16cb763]<br>
> [    19.786] (EE) 10: /usr/lib/dri/radeonsi_dri.so<br>
> (_mesa_update_texture+0x1a7) [0x7f97e16d1c37]<br>
> [    19.787] (EE) 11: /usr/lib/dri/radeonsi_dri.so<br>
> (_mesa_update_state_locked+0x683) [0x7f97e16b00e3]<br>
> [    19.787] (EE) 12: /usr/lib/dri/radeonsi_dri.so<br>
> (_mesa_update_state+0x11) [0x7f97e16b0441]<br>
> [    19.787] (EE) 13: /usr/lib/dri/radeonsi_dri.so<br>
> (_mesa_EGLImageTargetTexture2DOES+0x168) [0x7f97e16c5c88]<br>
> [    19.802] (EE) 14: /usr/lib/xorg/modules/libglamoregl.so<br>
> (glamor_create_texture_from_image+0xaa) [0x7f97d93bf89a]<br>
> [    19.803] (EE) 15: /usr/lib/xorg/modules/libglamoregl.so<br>
> (glamor_egl_create_textured_pixmap+0x12d) [0x7f97d93bfafd]<br>
> [    19.803] (EE) 16: /usr/lib/xorg/modules/libglamoregl.so<br>
> (glamor_egl_create_textured_screen+0x33) [0x7f97d93bfc23]<br>
> [    19.811] (EE) 17: /usr/lib/xorg/modules/drivers/amdgpu_drv.so<br>
> (amdgpu_glamor_create_screen_resources+0x67) [0x7f97e2ea7cf7]<br>
> [    19.812] (EE) 18: /usr/lib/xorg/modules/drivers/amdgpu_drv.so<br>
> (AMDGPUCreateScreenResources_KMS+0x27e) [0x7f97e2e9fe3e]<br>
> [    19.813] (EE) 19: /usr/libexec/Xorg<br>
> (xf86CrtcCreateScreenResources+0x2e) [0x4a3b7e]<br>
> [    19.814] (EE) 20: /usr/libexec/Xorg (dix_main+0x26e) [0x438ebe]<br>
> [    19.815] (EE) 21: /lib/libc.so.6 (__libc_start_main+0xf0)<br>
> [0x7f97e86b85e0]<br>
> [    19.816] (EE) 22: /usr/libexec/Xorg (_start+0x29) [0x424659]<br>
> [    19.816] (EE)<br>
> [    19.816] (EE) Segmentation fault at address 0x4023321cc<br>
> [    19.816] (EE)<br>
> Fatal server error:<br>
> [    19.816] (EE) Caught signal 11 (Segmentation fault). Server aborting<br>
> _______________________________________________<br>
> amd-gfx mailing list<br>
> amd-gfx@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" id="LPlnk683572" previewremoved="true">
https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
<div id="LPBorder_GT_14761919710690.7909482946435269" style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px">
<table id="LPContainer_14761919710650.21217846862968748" cellspacing="0" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td id="TextCell_14761919710670.6703100046398087" colspan="2" style="vertical-align: top; padding: 0px; display: table-cell; position: relative;">
<div id="LPRemovePreviewContainer_14761919710670.9148237221026945"></div>
<div id="LPTitle_14761919710670.5541633888025892" style="top:0px; color:rgb(59,87,119); font-weight:normal; font-size:21px; font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height:21px">
<a id="LPUrlAnchor_14761919710680.020901425608859103" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" target="_blank" style="text-decoration:none">amd-gfx Info Page - lists.freedesktop.org</a></div>
<div id="LPMetadata_14761919710680.9158180300381105" style="margin:10px 0px 16px; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
lists.freedesktop.org</div>
<div id="LPDescription_14761919710680.6459750253713015" style="display:block; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
To see the collection of prior postings to the list, visit the amd-gfx Archives. Using amd-gfx: To post a message to all the list members, send email ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
> amd-gfx Info Page - lists.freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/amd-gfx><br>
> lists.freedesktop.org<br>
> To see the collection of prior postings to the list, visit the amd-gfx Archives. Using amd-gfx: To post a message to all the list members, send email ...<br>
><br>
><br>
><br>
><br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>