lkml.org 
[lkml]   [2020]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: Tree for Feb 7 (objtool warning)
On Mon, Feb 10, 2020 at 11:29:51AM +0100, Peter Zijlstra wrote:
> On Fri, Feb 07, 2020 at 08:17:25AM -0800, Randy Dunlap wrote:
> > on x86_64:
> >
> > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: i915_gem_execbuffer2_ioctl()+0x6c7: call to gen8_canonical_addr() with UACCESS enabled
>
> > CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> > CONFIG_64BIT=y
>
> That's just really sad, stupid compiler.
>
> Something like so I suppose...

This looks familiar... here's the approach we decided on before, before
I subsequently dropped the ball:

https://lkml.kernel.org/r/20190923141657.p6kpqro3q4p4umwi@treble

--
Josh

\
 
 \ /
  Last update: 2020-02-10 18:26    [W:0.069 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site