objtool warning: "duplicate frame pointer save"

2016-05-25 Thread Linus Torvalds
On Wed, May 25, 2016 at 10:56 AM, Josh Poimboeuf wrote: > > I used to have a STACKTOOL_IGNORE_INSN macro that would tell the tool to > skip warnings for specific instructions in inline asm: > > Here's an example of it how it was used: Ok, looking at that, I'm starting to suspect that it is

objtool warning: "duplicate frame pointer save"

2016-05-25 Thread Josh Poimboeuf
On Wed, May 25, 2016 at 10:14:24AM -0700, Linus Torvalds wrote: > Josh, > my current git version (with gcc 5.3.1) makes objtool warn about > "duplicate frame pointer save" in drivers/gpu/drm/vmwgfx/vmwgfx_msg.c > for both vmw_send_msg() and vmw_host_get_guestinfo(). > > The reason is that

objtool warning: "duplicate frame pointer save"

2016-05-25 Thread Linus Torvalds
Josh, my current git version (with gcc 5.3.1) makes objtool warn about "duplicate frame pointer save" in drivers/gpu/drm/vmwgfx/vmwgfx_msg.c for both vmw_send_msg() and vmw_host_get_guestinfo(). The reason is that VMW_PORT_HB_OUT() uses a magic instruction sequence (a "rep outsb") to communicate