[PATCH 07/14] powerpc/64s: idle avoid SRR usage in idle sleep/wake paths

kbuild test robot lkp at intel.com
Fri Jun 2 23:37:16 AEST 2017


Hi Nicholas,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.12-rc3]
[cannot apply to powerpc/next next-20170602]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nicholas-Piggin/syscall-context-switch-idle-performance-stuff/20170602-172149
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/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:198:0:
>> arch/powerpc/kernel/exceptions-64s.S:1034:43: error: macro "BRANCH_LINK_TO_FAR" requires 2 arguments, but only 1 given
     BRANCH_LINK_TO_FAR(hmi_exception_realmode) /* Function call ABI */
                                              ^

vim +/BRANCH_LINK_TO_FAR +1034 arch/powerpc/kernel/exceptions-64s.S

62f9b03b06 Nicholas Piggin  2016-09-21  1028  	mfspr	r11,SPRN_HSRR0		/* Save HSRR0 */
a4087a4d38 Nicholas Piggin  2016-12-20  1029  	mfspr	r12,SPRN_HSRR1		/* Save HSRR1 */
a4087a4d38 Nicholas Piggin  2016-12-20  1030  	EXCEPTION_PROLOG_COMMON_1()
62f9b03b06 Nicholas Piggin  2016-09-21  1031  	EXCEPTION_PROLOG_COMMON_2(PACA_EXGEN)
62f9b03b06 Nicholas Piggin  2016-09-21  1032  	EXCEPTION_PROLOG_COMMON_3(0xe60)
62f9b03b06 Nicholas Piggin  2016-09-21  1033  	addi	r3,r1,STACK_FRAME_OVERHEAD
be5c5e843c Michael Ellerman 2017-04-18 @1034  	BRANCH_LINK_TO_FAR(hmi_exception_realmode) /* Function call ABI */
62f9b03b06 Nicholas Piggin  2016-09-21  1035  	/* Windup the stack. */
62f9b03b06 Nicholas Piggin  2016-09-21  1036  	/* Move original HSRR0 and HSRR1 into the respective regs */
62f9b03b06 Nicholas Piggin  2016-09-21  1037  	ld	r9,_MSR(r1)

:::::: The code at line 1034 was first introduced by commit
:::::: be5c5e843c4afa1c8397cb740b6032bd4142f32d powerpc/64: Fix HMI exception on LE with CONFIG_RELOCATABLE=y

:::::: TO: Michael Ellerman <mpe at ellerman.id.au>
:::::: CC: Michael Ellerman <mpe at ellerman.id.au>

---
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/gzip
Size: 23368 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170602/d3a3dc2a/attachment-0001.gz>


More information about the Linuxppc-dev mailing list