Skip to contentSkip to conversation

drivers/gpu/drm/i915/gvt/opregion.o: warning: objtool: intel_vgpu_emulate_opregion_request()+0xbe: can't find jump dest instruction at .text+0x6dd

PATCH Nick Desaulniers 3 participants 5 messages Aug 12, 2019 – Aug 15, 2019 1 message not in the archive Stable branch

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 21 lines · kbuild test robot

CC: [email protected]
TO: Daniel Borkmann <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
head:   3ffe1e79c174b2093f7ee3df589a7705572c9620
commit: e28951100515c9fd8f8d4b06ed96576e3527ad82 [8386/9999] x86/retpolines: Disable switch jump tables when retpolines are enabled
config: x86_64-rhel-7.6 (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 45a3fd206fb06f77a08968c99a8172cbf2ccdd0f)
reproduce:
        git checkout e28951100515c9fd8f8d4b06ed96576e3527ad82
        # save the attached .config to linux build tree
        make ARCH=x86_64

If you fix the issue, kindly add following tag

All warnings (new ones prefixed by >>):

Quoted 7 lines

In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:

   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:290:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^

Was there another patch that fixes this that should have been backported to stable (4.14) along with this?

Quoted 38 lines

include/linux/compiler-gcc.h:106:37: note: expanded from macro '__deprecated'

   #define __deprecated    __attribute__((deprecated))
                                          ^
   include/drm/drm_gem.h:247:20: note: previous definition is here
   static inline void drm_gem_object_reference(struct drm_gem_object *obj)
                      ^
   In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:
   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:300:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^
   include/linux/compiler-gcc.h:106:37: note: expanded from macro '__deprecated'
   #define __deprecated    __attribute__((deprecated))
                                          ^
   include/drm/drm_gem.h:285:20: note: previous definition is here
   static inline void drm_gem_object_unreference(struct drm_gem_object *obj)
                      ^
   In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:
   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:303:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^
   include/linux/compiler-gcc.h:106:37: note: expanded from macro '__deprecated'
   #define __deprecated    __attribute__((deprecated))
                                          ^

include/drm/drm_gem.h:273:1: note: previous definition is here drm_gem_object_unreference_unlocked(struct drm_gem_object *obj) ^
3 warnings generated.

Quoted 1 line
Quoted 1 line

drivers/gpu/drm/i915/gvt/opregion.o: warning: objtool: intel_vgpu_emulate_opregion_request()+0xbe: can't find jump dest instruction at .text+0x6dd

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Signature · 2 lines
Thanks,
~Nick Desaulniers
maintainer
#2 lore raw
Quoted 30 lines · Nick Desaulniers
Quoted 21 lines · kbuild test robot

CC: [email protected]
TO: Daniel Borkmann <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
head:   3ffe1e79c174b2093f7ee3df589a7705572c9620
commit: e28951100515c9fd8f8d4b06ed96576e3527ad82 [8386/9999] x86/retpolines: Disable switch jump tables when retpolines are enabled
config: x86_64-rhel-7.6 (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 45a3fd206fb06f77a08968c99a8172cbf2ccdd0f)
reproduce:
        git checkout e28951100515c9fd8f8d4b06ed96576e3527ad82
        # save the attached .config to linux build tree
        make ARCH=x86_64

If you fix the issue, kindly add following tag

All warnings (new ones prefixed by >>):

Quoted 7 lines

In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:

   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:290:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^
Quoted 2 lines

Was there another patch that fixes this that should have been backported to stable (4.14) along with this?

If this is an issue on the latest 4.14.y tree, please let me know. Look at how far back this commit is before getting worried :)

thanks,

greg k-h

#3 lore raw
Quoted 32 lines · Greg KH
Quoted 30 lines · Nick Desaulniers
Quoted 28 lines · kbuild test robot

CC: [email protected]
TO: Daniel Borkmann <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
head:   3ffe1e79c174b2093f7ee3df589a7705572c9620
commit: e28951100515c9fd8f8d4b06ed96576e3527ad82 [8386/9999] x86/retpolines: Disable switch jump tables when retpolines are enabled
config: x86_64-rhel-7.6 (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 45a3fd206fb06f77a08968c99a8172cbf2ccdd0f)
reproduce:
        git checkout e28951100515c9fd8f8d4b06ed96576e3527ad82
        # save the attached .config to linux build tree
        make ARCH=x86_64

If you fix the issue, kindly add following tag

All warnings (new ones prefixed by >>):

In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:

   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:290:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^
Quoted 5 lines
Quoted 2 lines

Was there another patch that fixes this that should have been backported to stable (4.14) along with this?

If this is an issue on the latest 4.14.y tree, please let me know. Look at how far back this commit is before getting worried :)

patch 8386/9999 ???!!! Were there exactly 9999 patches backported, or does git stop reporting after 4 digits? "4 digits ought to be enough for anyone!" (except GKH, it would seem ;) ).

Signature · 2 lines
Thanks,
~Nick Desaulniers
maintainer
#4 lore raw
Quoted 36 lines · Nick Desaulniers
Quoted 35 lines · Greg KH
Quoted 32 lines · Nick Desaulniers
Quoted 21 lines · kbuild test robot

CC: [email protected]
TO: Daniel Borkmann <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
head:   3ffe1e79c174b2093f7ee3df589a7705572c9620
commit: e28951100515c9fd8f8d4b06ed96576e3527ad82 [8386/9999] x86/retpolines: Disable switch jump tables when retpolines are enabled
config: x86_64-rhel-7.6 (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 45a3fd206fb06f77a08968c99a8172cbf2ccdd0f)
reproduce:
        git checkout e28951100515c9fd8f8d4b06ed96576e3527ad82
        # save the attached .config to linux build tree
        make ARCH=x86_64

If you fix the issue, kindly add following tag

All warnings (new ones prefixed by >>):

Quoted 7 lines

In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:

   In file included from drivers/gpu/drm/i915/i915_drv.h:61:
   In file included from drivers/gpu/drm/i915/intel_uc.h:31:
   In file included from drivers/gpu/drm/i915/i915_vma.h:34:
   drivers/gpu/drm/i915/i915_gem_object.h:290:1: warning: attribute declaration must precede definition [-Wignored-attributes]
   __deprecated
   ^

Was there another patch that fixes this that should have been backported to stable (4.14) along with this?

Quoted 6 lines
Quoted 2 lines

If this is an issue on the latest 4.14.y tree, please let me know. Look at how far back this commit is before getting worried :)

patch 8386/9999 ???!!! Were there exactly 9999 patches backported, or does git stop reporting after 4 digits? "4 digits ought to be enough for anyone!" (except GKH, it would seem ;) ).

I blame kbuild, every once in a while when it adds something new to its system it goes off and does crazy things like this...

#5 lore raw
Quoted 33 lines · Greg KH
Quoted 32 lines · Nick Desaulniers
Quoted 31 lines · Greg KH
Quoted 30 lines · Nick Desaulniers
Quoted 20 lines · kbuild test robot

CC: [email protected]
TO: Daniel Borkmann <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Thomas Gleixner <[email protected]>

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
head:   3ffe1e79c174b2093f7ee3df589a7705572c9620
commit: e28951100515c9fd8f8d4b06ed96576e3527ad82 [8386/9999] x86/retpolines: Disable switch jump tables when retpolines are enabled
config: x86_64-rhel-7.6 (attached as .config)
compiler: clang version 10.0.0 (git://gitmirror/llvm_project 45a3fd206fb06f77a08968c99a8172cbf2ccdd0f)
reproduce:
         git checkout e28951100515c9fd8f8d4b06ed96576e3527ad82
         # save the attached .config to linux build tree
         make ARCH=x86_64

If you fix the issue, kindly add following tag

All warnings (new ones prefixed by >>):

Quoted 7 lines

In file included from drivers/gpu/drm/i915/gvt/opregion.c:25:
In file included from drivers/gpu/drm/i915/i915_drv.h:61:
In file included from drivers/gpu/drm/i915/intel_uc.h:31:
In file included from drivers/gpu/drm/i915/i915_vma.h:34:
drivers/gpu/drm/i915/i915_gem_object.h:290:1: warning: attribute declaration must precede definition [-Wignored-attributes] __deprecated
^

Was there another patch that fixes this that should have been backported to stable (4.14) along with this?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

If this is an issue on the latest 4.14.y tree, please let me know. Look at how far back this commit is before getting worried :)

patch 8386/9999 ???!!! Were there exactly 9999 patches backported, or does git stop reporting after 4 digits? "4 digits ought to be enough for anyone!" (except GKH, it would seem ;) ).

I blame kbuild, every once in a while when it adds something new to its system it goes off and does crazy things like this...

Hi,

Sorry for causing the misunderstanding, kbuild bot sets bisect range to 0..9999 in some special cases.

Best Regards,
Rong Chen