[PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING

kbuild test robot lkp at intel.com
Thu Feb 11 03:13:50 AEDT 2016


Hi Christophe,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc3 next-20160210]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc32-provide-VIRT_CPU_ACCOUNTING/20160210-230049
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   In file included from arch/powerpc/kernel/head_64.S:180:0:
>> arch/powerpc/kernel/exceptions-64s.S:776:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x100, system_reset, system_reset_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:778:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0x500, hardware_interrupt, do_IRQ)
    ^
   arch/powerpc/kernel/exceptions-64s.S:779:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0x900, decrementer, timer_interrupt)
    ^
   arch/powerpc/kernel/exceptions-64s.S:780:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x980, hdecrementer, hdec_interrupt)
    ^
   arch/powerpc/kernel/exceptions-64s.S:782:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0xa00, doorbell_super, doorbell_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:786:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xb00, trap_0b, unknown_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:787:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xd00, single_step, single_step_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:788:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xe00, trap_0e, unknown_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:789:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xe40, emulation_assist, emulation_assist_interrupt)
    ^
   arch/powerpc/kernel/exceptions-64s.S:790:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0xe60, hmi_exception, handle_hmi_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:792:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0xe80, h_doorbell, doorbell_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:796:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON_ASYNC(0xf00, performance_monitor, performance_monitor_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:797:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1300, instruction_breakpoint, instruction_breakpoint_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:798:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1502, denorm, unknown_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:800:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1700, altivec_assist, altivec_assist_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:805:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1200, cbe_system_error, cbe_system_error_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:806:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1600, cbe_maintenance, cbe_maintenance_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:807:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0x1800, cbe_thermal, cbe_thermal_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:980:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x300, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:995:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0xe00, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1005:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x400, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1013:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xe20, h_instr_storage, unknown_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:1091:42: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x200, PACA_EXMC)
                                             ^
   arch/powerpc/kernel/exceptions-64s.S:1110:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x600, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1124:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x700, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1134:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x800, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1164:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0xf20, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1199:43: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0xf40, PACA_EXGEN)
                                              ^
   arch/powerpc/kernel/exceptions-64s.S:1230:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xf60, facility_unavailable, facility_unavailable_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:1231:1: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     STD_EXCEPTION_COMMON(0xf80, hv_facility_unavailable, facility_unavailable_exception)
    ^
   arch/powerpc/kernel/exceptions-64s.S:1517:44: error: macro "ACCOUNT_CPU_USER_ENTRY" requires 3 arguments, but only 2 given
     EXCEPTION_PROLOG_COMMON(0x4100, PACA_EXSLB)
                                               ^

vim +/ACCOUNT_CPU_USER_ENTRY +776 arch/powerpc/kernel/exceptions-64s.S

61e2390ed Michael Neuling        2012-11-05  770   * which uses an ori instruction, these handlers must be in
61e2390ed Michael Neuling        2012-11-05  771   * the first 64k of the kernel image.
0ebc4cdaa Benjamin Herrenschmidt 2009-06-02  772   */
0ebc4cdaa Benjamin Herrenschmidt 2009-06-02  773  
0ebc4cdaa Benjamin Herrenschmidt 2009-06-02  774  /*** Common interrupt handlers ***/
0ebc4cdaa Benjamin Herrenschmidt 2009-06-02  775  
354255014 Anton Blanchard        2014-02-04 @776  	STD_EXCEPTION_COMMON(0x100, system_reset, system_reset_exception)
0ebc4cdaa Benjamin Herrenschmidt 2009-06-02  777  
7450f6f03 Benjamin Herrenschmidt 2012-03-01  778  	STD_EXCEPTION_COMMON_ASYNC(0x500, hardware_interrupt, do_IRQ)
354255014 Anton Blanchard        2014-02-04  779  	STD_EXCEPTION_COMMON_ASYNC(0x900, decrementer, timer_interrupt)

:::::: The code at line 776 was first introduced by commit
:::::: 354255014a9042b9204e5bed22704110326d5ecf powerpc: Remove dot symbol usage in exception macros

:::::: TO: Anton Blanchard <anton at samba.org>
:::::: CC: Anton Blanchard <anton at samba.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 21908 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160211/426a215a/attachment-0001.obj>


More information about the Linuxppc-dev mailing list