Re: linux-next: Tree for Feb 7 (objtool warning)

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

 



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




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux