linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16
@ 2018-11-06 15:50 kbuild test robot
  2018-11-08 18:59 ` Alexander Popov
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-11-06 15:50 UTC (permalink / raw)
  To: Alexander Popov; +Cc: kbuild-all, linux-kernel, Kees Cook

[-- Attachment #1: Type: text/plain, Size: 3388 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   163c8d54a997153ee1a1e07fcac087492ad85b37
commit: 10e9ae9fabaf96c8e5227c1cd4827d58b3aa406d gcc-plugins: Add STACKLEAK plugin for tracking the kernel stack
date:   9 weeks ago
config: x86_64-randconfig-u0-11062149 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 10e9ae9fabaf96c8e5227c1cd4827d58b3aa406d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 1 include/linux/cpumask.h:free_cpumask_var
   Cyclomatic Complexity 1 arch/x86/include/asm/topology.h:arch_fix_phys_package_id
   Cyclomatic Complexity 1 include/linux/kasan.h:kasan_kmalloc
   Cyclomatic Complexity 28 include/linux/slab.h:kmalloc_index
   Cyclomatic Complexity 1 include/linux/slab.h:kmem_cache_alloc_trace
   Cyclomatic Complexity 1 include/linux/slab.h:kmalloc_order_trace
   Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 5 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 include/acpi/acpi_bus.h:acpi_driver_data
   Cyclomatic Complexity 1 arch/x86/include/asm/acpi.h:acpi_has_cpu_in_madt
   Cyclomatic Complexity 1 include/linux/acpi.h:invalid_logical_cpuid
   Cyclomatic Complexity 1 include/linux/acpi.h:invalid_phys_cpuid
   Cyclomatic Complexity 1 drivers/acpi/acpi_processor.c:acpi_processor_hotadd_init
   Cyclomatic Complexity 1 drivers/acpi/acpi_processor.c:acpi_processor_container_attach
   Cyclomatic Complexity 7 drivers/acpi/acpi_processor.c:processor_validated_ids_update
   Cyclomatic Complexity 1 drivers/acpi/acpi_processor.c:acpi_processor_check_duplicates
   Cyclomatic Complexity 6 drivers/acpi/acpi_processor.c:acpi_hwp_native_thermal_lvt_osc
   Cyclomatic Complexity 3 include/linux/bitmap.h:bitmap_zero
   Cyclomatic Complexity 1 include/linux/cpumask.h:cpumask_clear
   Cyclomatic Complexity 1 include/linux/cpumask.h:zalloc_cpumask_var
   Cyclomatic Complexity 8 drivers/acpi/acpi_processor.c:acpi_processor_errata_piix4
   Cyclomatic Complexity 2 drivers/acpi/acpi_processor.c:acpi_processor_errata
   Cyclomatic Complexity 6 drivers/acpi/acpi_processor.c:acpi_processor_ids_walk
   Cyclomatic Complexity 2 drivers/acpi/acpi_processor.c:acpi_early_processor_osc
   Cyclomatic Complexity 3 drivers/acpi/acpi_processor.c:acpi_duplicate_processor_id
   Cyclomatic Complexity 17 drivers/acpi/acpi_processor.c:acpi_processor_get_info
   Cyclomatic Complexity 9 drivers/acpi/acpi_processor.c:acpi_processor_add
   Cyclomatic Complexity 1 drivers/acpi/acpi_processor.c:acpi_processor_init
   Cyclomatic Complexity 1 drivers/acpi/acpi_processor.c:_GLOBAL__sub_I_65535_0_acpi_early_processor_osc
>> drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24209 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16
  2018-11-06 15:50 drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16 kbuild test robot
@ 2018-11-08 18:59 ` Alexander Popov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Popov @ 2018-11-08 18:59 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, Kees Cook

On 06.11.2018 18:50, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   163c8d54a997153ee1a1e07fcac087492ad85b37
> commit: 10e9ae9fabaf96c8e5227c1cd4827d58b3aa406d gcc-plugins: Add STACKLEAK plugin for tracking the kernel stack
> date:   9 weeks ago
> config: x86_64-randconfig-u0-11062149 (attached as .config)
> compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
> reproduce:
>         git checkout 10e9ae9fabaf96c8e5227c1cd4827d58b3aa406d
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
>
>>> drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16

Hello!

I have reproduced this problem. It looks like stackleak_cleanup_execute() does
something wrong with RTL which is generated by gcc-5.

I'm working on this.

Best regards,
Alexander


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-08 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 15:50 drivers/acpi/acpi_processor.o: warning: objtool: acpi_duplicate_processor_id()+0x49: stack state mismatch: cfa1=7+8 cfa2=6+16 kbuild test robot
2018-11-08 18:59 ` Alexander Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).