lkml.org 
[lkml]   [2018]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit
    Hi Josh,

    El Fri, Oct 13, 2017 at 03:02:01PM -0500 Josh Poimboeuf ha dit:

    > The ORC unwinder has been stable in testing so far. Give it much wider
    > testing by making it the default in kconfig for x86_64. It's not yet
    > supported for 32-bit, so leave frame pointers as the default there.
    >
    > Suggested-by: Ingo Molnar <mingo@kernel.org>
    > Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
    > ---

    Building an upstream kernel with clang results in plenty of objtool
    warnings like these:

    drivers/gpu/drm/i915/dvo_ch7017.o: warning: objtool: ch7017_get_hw_state()+0x80: return with modified stack frame
    CC drivers/gpu/drm/i915/i915_oa_cflgt2.o
    ...
    CC drivers/gpu/drm/i915/intel_lpe_audio.o
    drivers/gpu/drm/i915/i915_gpu_error.o: warning: objtool: i915_error_printf()+0x6c: return with modified stack frame
    drivers/gpu/drm/i915/intel_display.o: warning: objtool: pipe_config_err()+0xa6: return with modified stack frame

    Bisecting shows that the warnings are generated since the ORC unwinder
    was made the default. Not sure if the issue is on the unwinder side
    or clang.

    Any ideas on what could be the problems?

    Thanks

    Matthias

    \
     
     \ /
      Last update: 2018-03-19 19:57    [W:3.779 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site