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

From: Josh Poimboeuf
Date: Mon Feb 10 2020 - 12:26:18 EST


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