Re: regression in dcn linked to -msse2

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

 




From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of StDenis, Tom <Tom.StDenis@xxxxxxx>
Sent: Tuesday, January 29, 2019 8:44:03 AM
To: Wentland, Harry; amd-gfx mailing list
Cc: Deucher, Alexander
Subject: regression in dcn linked to -msse2
 
Testing with the new 5.0.0-rc1 amd-staging-drm-next branch results in
this commit causing the attached lockup on init with my Raven + Polaris
system:

10117450735c7a7c0858095fb46a860e7037cb9a is the first bad commit
commit 10117450735c7a7c0858095fb46a860e7037cb9a
Author: ndesaulniers@xxxxxxxxxx <ndesaulniers@xxxxxxxxxx>
Date:   Thu Jan 24 16:52:59 2019 -0800

     drm/amd/display: add -msse2 to prevent Clang from emitting libcalls
to undefined SW FP routines

     arch/x86/Makefile disables SSE and SSE2 for the whole kernel.  The
     AMDGPU drivers modified in this patch re-enable SSE but not SSE2.  Turn
     on SSE2 to support emitting double precision floating point
instructions
     rather than calls to non-existent (usually available from gcc_s or
     compiler_rt) floating point helper routines.

     Link:
https://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html
     Link: https://github.com/ClangBuiltLinux/linux/issues/327
     Cc: stable@xxxxxxxxxxxxxxx # 4.19
     Reported-by: S, Shirish <Shirish.S@xxxxxxx>
     Reported-by: Matthias Kaehlcke <mka@xxxxxxxxxx>
     Suggested-by: James Y Knight <jyknight@xxxxxxxxxx>
     Suggested-by: Nathan Chancellor <natechancellor@xxxxxxxxx>
     Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
     Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>
     Tested-by:  Matthias Kaehlcke <mka@xxxxxxxxxxxx>
     Tested-by: Nathan Chancellor <natechancellor@xxxxxxxxx>
     Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx>
     Signed-off-by: Harry Wentland <harry.wentland@xxxxxxx>
     Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>

:040000 040000 39f89ea177b8a69a3a2aa098aef8b1a7e58056b9
71edb262be0608ffae0996253f47492b2e714b5c M      drivers


Cheers,
Tom
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux