Hi Nicholas,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.4.y
head: 3cb069b52684a615947ba8af15e7c0866b9bb061
commit: 7b9f9ce1a7a0cb5e0e7077c960d08e6039388a9d [9473/9999] powerpc/64s: Add support for
a store forwarding barrier at kernel entry/exit
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.4.y
git checkout 7b9f9ce1a7a0cb5e0e7077c960d08e6039388a9d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:1599: Warning: invalid register expression
arch/powerpc/kernel/exceptions-64s.S:1640: Warning: invalid register expression
> arch/powerpc/kernel/exceptions-64s.S:839: Error: attempt to move
.org backwards
arch/powerpc/kernel/exceptions-64s.S:840: Error: attempt to move
.org backwards
arch/powerpc/kernel/exceptions-64s.S:864: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org backwards
vim +839 arch/powerpc/kernel/exceptions-64s.S
0ebc4cdaa3fd7c Benjamin Herrenschmidt 2009-06-02 823
c1fb6816fb1b78 Michael Neuling 2012-11-02 824 /*
c1fb6816fb1b78 Michael Neuling 2012-11-02 825 * Relocation-on interrupts: A
subset of the interrupts can be delivered
c1fb6816fb1b78 Michael Neuling 2012-11-02 826 * with IR=1/DR=1, if AIL==2 and
MSR.HV won't be changed by delivering
c1fb6816fb1b78 Michael Neuling 2012-11-02 827 * it. Addresses are the same as
the original interrupt addresses, but
c1fb6816fb1b78 Michael Neuling 2012-11-02 828 * offset by 0xc000000000004000.
c1fb6816fb1b78 Michael Neuling 2012-11-02 829 * It's impossible to receive
interrupts below 0x300 via this mechanism.
c1fb6816fb1b78 Michael Neuling 2012-11-02 830 * KVM: None of these traps are
from the guest ; anything that escalated
c1fb6816fb1b78 Michael Neuling 2012-11-02 831 * to HV=1 from HV=0 is delivered
via real mode handlers.
c1fb6816fb1b78 Michael Neuling 2012-11-02 832 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 833
c1fb6816fb1b78 Michael Neuling 2012-11-02 834 /*
c1fb6816fb1b78 Michael Neuling 2012-11-02 835 * This uses the standard macro,
since the original 0x300 vector
c1fb6816fb1b78 Michael Neuling 2012-11-02 836 * only has extra guff for
STAB-based processors -- which never
c1fb6816fb1b78 Michael Neuling 2012-11-02 837 * come here.
c1fb6816fb1b78 Michael Neuling 2012-11-02 838 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 @839
STD_RELON_EXCEPTION_PSERIES(0x4300, 0x300, data_access)
c1fb6816fb1b78 Michael Neuling 2012-11-02 840 . = 0x4380
c1fb6816fb1b78 Michael Neuling 2012-11-02 841 .globl
data_access_slb_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 842 data_access_slb_relon_pSeries:
c1fb6816fb1b78 Michael Neuling 2012-11-02 843 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 844 EXCEPTION_PROLOG_0(PACA_EXSLB)
c1fb6816fb1b78 Michael Neuling 2012-11-02 845 EXCEPTION_PROLOG_1(PACA_EXSLB,
NOTEST, 0x380)
c1fb6816fb1b78 Michael Neuling 2012-11-02 846 std r3,PACA_EXSLB+EX_R3(r13)
c1fb6816fb1b78 Michael Neuling 2012-11-02 847 mfspr r3,SPRN_DAR
c1fb6816fb1b78 Michael Neuling 2012-11-02 848 mfspr r12,SPRN_SRR1
c1fb6816fb1b78 Michael Neuling 2012-11-02 849 #ifndef CONFIG_RELOCATABLE
b1576fec7f4dd4 Anton Blanchard 2014-02-04 850 b slb_miss_realmode
c1fb6816fb1b78 Michael Neuling 2012-11-02 851 #else
c1fb6816fb1b78 Michael Neuling 2012-11-02 852 /*
ad0289e4acf2bd Anton Blanchard 2014-02-04 853 * We can't just use a direct
branch to slb_miss_realmode
c1fb6816fb1b78 Michael Neuling 2012-11-02 854 * because the distance from here
to there depends on where
c1fb6816fb1b78 Michael Neuling 2012-11-02 855 * the kernel ends up being put.
c1fb6816fb1b78 Michael Neuling 2012-11-02 856 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 857 mfctr r11
c1fb6816fb1b78 Michael Neuling 2012-11-02 858 ld r10,PACAKBASE(r13)
ad0289e4acf2bd Anton Blanchard 2014-02-04 859 LOAD_HANDLER(r10,
slb_miss_realmode)
c1fb6816fb1b78 Michael Neuling 2012-11-02 860 mtctr r10
c1fb6816fb1b78 Michael Neuling 2012-11-02 861 bctr
c1fb6816fb1b78 Michael Neuling 2012-11-02 862 #endif
c1fb6816fb1b78 Michael Neuling 2012-11-02 863
c1fb6816fb1b78 Michael Neuling 2012-11-02 864
STD_RELON_EXCEPTION_PSERIES(0x4400, 0x400, instruction_access)
c1fb6816fb1b78 Michael Neuling 2012-11-02 865 . = 0x4480
c1fb6816fb1b78 Michael Neuling 2012-11-02 866 .globl
instruction_access_slb_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 867
instruction_access_slb_relon_pSeries:
c1fb6816fb1b78 Michael Neuling 2012-11-02 868 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 869 EXCEPTION_PROLOG_0(PACA_EXSLB)
c1fb6816fb1b78 Michael Neuling 2012-11-02 870 EXCEPTION_PROLOG_1(PACA_EXSLB,
NOTEST, 0x480)
c1fb6816fb1b78 Michael Neuling 2012-11-02 871 std r3,PACA_EXSLB+EX_R3(r13)
c1fb6816fb1b78 Michael Neuling 2012-11-02 872 mfspr r3,SPRN_SRR0 /* SRR0 is
faulting address */
c1fb6816fb1b78 Michael Neuling 2012-11-02 873 mfspr r12,SPRN_SRR1
c1fb6816fb1b78 Michael Neuling 2012-11-02 874 #ifndef CONFIG_RELOCATABLE
b1576fec7f4dd4 Anton Blanchard 2014-02-04 875 b slb_miss_realmode
c1fb6816fb1b78 Michael Neuling 2012-11-02 876 #else
c1fb6816fb1b78 Michael Neuling 2012-11-02 877 mfctr r11
c1fb6816fb1b78 Michael Neuling 2012-11-02 878 ld r10,PACAKBASE(r13)
ad0289e4acf2bd Anton Blanchard 2014-02-04 879 LOAD_HANDLER(r10,
slb_miss_realmode)
c1fb6816fb1b78 Michael Neuling 2012-11-02 880 mtctr r10
c1fb6816fb1b78 Michael Neuling 2012-11-02 881 bctr
c1fb6816fb1b78 Michael Neuling 2012-11-02 882 #endif
c1fb6816fb1b78 Michael Neuling 2012-11-02 883
c1fb6816fb1b78 Michael Neuling 2012-11-02 884 . = 0x4500
c1fb6816fb1b78 Michael Neuling 2012-11-02 885 .globl
hardware_interrupt_relon_pSeries;
c1fb6816fb1b78 Michael Neuling 2012-11-02 886 .globl
hardware_interrupt_relon_hv;
c1fb6816fb1b78 Michael Neuling 2012-11-02 887 hardware_interrupt_relon_pSeries:
c1fb6816fb1b78 Michael Neuling 2012-11-02 888 hardware_interrupt_relon_hv:
c1fb6816fb1b78 Michael Neuling 2012-11-02 889 BEGIN_FTR_SECTION
c1fb6816fb1b78 Michael Neuling 2012-11-02 890
_MASKABLE_RELON_EXCEPTION_PSERIES(0x502, hardware_interrupt, EXC_HV, SOFTEN_TEST_HV)
c1fb6816fb1b78 Michael Neuling 2012-11-02 891 FTR_SECTION_ELSE
c1fb6816fb1b78 Michael Neuling 2012-11-02 892
_MASKABLE_RELON_EXCEPTION_PSERIES(0x500, hardware_interrupt, EXC_STD, SOFTEN_TEST_PR)
3e96ca7f007ddb Michael Neuling 2013-04-25 893
ALT_FTR_SECTION_END_IFSET(CPU_FTR_HVMODE)
c1fb6816fb1b78 Michael Neuling 2012-11-02 894
STD_RELON_EXCEPTION_PSERIES(0x4600, 0x600, alignment)
c1fb6816fb1b78 Michael Neuling 2012-11-02 895
STD_RELON_EXCEPTION_PSERIES(0x4700, 0x700, program_check)
c1fb6816fb1b78 Michael Neuling 2012-11-02 896
STD_RELON_EXCEPTION_PSERIES(0x4800, 0x800, fp_unavailable)
c1fb6816fb1b78 Michael Neuling 2012-11-02 897
MASKABLE_RELON_EXCEPTION_PSERIES(0x4900, 0x900, decrementer)
c1fb6816fb1b78 Michael Neuling 2012-11-02 898 STD_RELON_EXCEPTION_HV(0x4980,
0x982, hdecrementer)
1dbdafec5d63a1 Ian Munsie 2012-11-14 899
MASKABLE_RELON_EXCEPTION_PSERIES(0x4a00, 0xa00, doorbell_super)
c1fb6816fb1b78 Michael Neuling 2012-11-02 900
STD_RELON_EXCEPTION_PSERIES(0x4b00, 0xb00, trap_0b)
c1fb6816fb1b78 Michael Neuling 2012-11-02 901
c1fb6816fb1b78 Michael Neuling 2012-11-02 902 . = 0x4c00
c1fb6816fb1b78 Michael Neuling 2012-11-02 903 .globl system_call_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 904 system_call_relon_pSeries:
c1fb6816fb1b78 Michael Neuling 2012-11-02 905 HMT_MEDIUM
c1fb6816fb1b78 Michael Neuling 2012-11-02 906 SYSCALL_PSERIES_1
c1fb6816fb1b78 Michael Neuling 2012-11-02 907 SYSCALL_PSERIES_2_DIRECT
c1fb6816fb1b78 Michael Neuling 2012-11-02 908 SYSCALL_PSERIES_3
c1fb6816fb1b78 Michael Neuling 2012-11-02 909
c1fb6816fb1b78 Michael Neuling 2012-11-02 910
STD_RELON_EXCEPTION_PSERIES(0x4d00, 0xd00, single_step)
c1fb6816fb1b78 Michael Neuling 2012-11-02 911
c1fb6816fb1b78 Michael Neuling 2012-11-02 912 . = 0x4e00
1d567cb4bd42d5 Michael Ellerman 2013-06-25 913 b . /* Can't happen, see v2.07
Book III-S section 6.5 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 914
c1fb6816fb1b78 Michael Neuling 2012-11-02 915 . = 0x4e20
1d567cb4bd42d5 Michael Ellerman 2013-06-25 916 b . /* Can't happen, see v2.07
Book III-S section 6.5 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 917
c1fb6816fb1b78 Michael Neuling 2012-11-02 918 . = 0x4e40
d671ddd6654daf Michael Ellerman 2013-08-15 919 emulation_assist_relon_trampoline:
1707dd161349e6 Paul Mackerras 2013-02-04 920 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 921 EXCEPTION_PROLOG_0(PACA_EXGEN)
c1fb6816fb1b78 Michael Neuling 2012-11-02 922 b emulation_assist_relon_hv
c1fb6816fb1b78 Michael Neuling 2012-11-02 923
c1fb6816fb1b78 Michael Neuling 2012-11-02 924 . = 0x4e60
1d567cb4bd42d5 Michael Ellerman 2013-06-25 925 b . /* Can't happen, see v2.07
Book III-S section 6.5 */
c1fb6816fb1b78 Michael Neuling 2012-11-02 926
655bb3f4e89225 Ian Munsie 2012-11-14 927 . = 0x4e80
d671ddd6654daf Michael Ellerman 2013-08-15 928 h_doorbell_relon_trampoline:
1707dd161349e6 Paul Mackerras 2013-02-04 929 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 930 EXCEPTION_PROLOG_0(PACA_EXGEN)
655bb3f4e89225 Ian Munsie 2012-11-14 931 b h_doorbell_relon_hv
c1fb6816fb1b78 Michael Neuling 2012-11-02 932
c1fb6816fb1b78 Michael Neuling 2012-11-02 933 . = 0x4f00
fa111f1f764783 Michael Ellerman 2013-08-15 934
performance_monitor_relon_pseries_trampoline:
1707dd161349e6 Paul Mackerras 2013-02-04 935 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 936 EXCEPTION_PROLOG_0(PACA_EXGEN)
c1fb6816fb1b78 Michael Neuling 2012-11-02 937
b performance_monitor_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 938
c1fb6816fb1b78 Michael Neuling 2012-11-02 939 . = 0x4f20
fa111f1f764783 Michael Ellerman 2013-08-15 940
altivec_unavailable_relon_pseries_trampoline:
1707dd161349e6 Paul Mackerras 2013-02-04 941 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 942 EXCEPTION_PROLOG_0(PACA_EXGEN)
c1fb6816fb1b78 Michael Neuling 2012-11-02 943
b altivec_unavailable_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 944
c1fb6816fb1b78 Michael Neuling 2012-11-02 945 . = 0x4f40
fa111f1f764783 Michael Ellerman 2013-08-15 946
vsx_unavailable_relon_pseries_trampoline:
1707dd161349e6 Paul Mackerras 2013-02-04 947 SET_SCRATCH0(r13)
1707dd161349e6 Paul Mackerras 2013-02-04 948 EXCEPTION_PROLOG_0(PACA_EXGEN)
c1fb6816fb1b78 Michael Neuling 2012-11-02 949 b vsx_unavailable_relon_pSeries
c1fb6816fb1b78 Michael Neuling 2012-11-02 950
d0c0c9a13f6821 Michael Neuling 2013-02-13 951 . = 0x4f60
fa111f1f764783 Michael Ellerman 2013-08-15 952
facility_unavailable_relon_trampoline:
d0c0c9a13f6821 Michael Neuling 2013-02-13 953 SET_SCRATCH0(r13)
d0c0c9a13f6821 Michael Neuling 2013-02-13 954 EXCEPTION_PROLOG_0(PACA_EXGEN)
021424a1fce335 Michael Ellerman 2013-06-25 955
b facility_unavailable_relon_pSeries
d0c0c9a13f6821 Michael Neuling 2013-02-13 956
b14b6260efeee6 Michael Ellerman 2013-06-25 957 . = 0x4f80
fa111f1f764783 Michael Ellerman 2013-08-15 958
hv_facility_unavailable_relon_trampoline:
b14b6260efeee6 Michael Ellerman 2013-06-25 959 SET_SCRATCH0(r13)
b14b6260efeee6 Michael Ellerman 2013-06-25 960 EXCEPTION_PROLOG_0(PACA_EXGEN)
88f094120bd2f0 Michael Neuling 2013-08-09 961
b hv_facility_unavailable_relon_hv
b14b6260efeee6 Michael Ellerman 2013-06-25 962
c1fb6816fb1b78 Michael Neuling 2012-11-02 963
STD_RELON_EXCEPTION_PSERIES(0x5300, 0x1300, instruction_breakpoint)
c1fb6816fb1b78 Michael Neuling 2012-11-02 964 #ifdef CONFIG_PPC_DENORMALISATION
c1fb6816fb1b78 Michael Neuling 2012-11-02 965 . = 0x5500
c1fb6816fb1b78 Michael Neuling 2012-11-02 966 b denorm_exception_hv
c1fb6816fb1b78 Michael Neuling 2012-11-02 967 #endif
c1fb6816fb1b78 Michael Neuling 2012-11-02 968
STD_RELON_EXCEPTION_PSERIES(0x5700, 0x1700, altivec_assist)
c1fb6816fb1b78 Michael Neuling 2012-11-02 969
0ebc4cdaa3fd7c Benjamin Herrenschmidt 2009-06-02 970 .align 7
0ebc4cdaa3fd7c Benjamin Herrenschmidt 2009-06-02 971 system_call_entry:
0ebc4cdaa3fd7c Benjamin Herrenschmidt 2009-06-02 972 b system_call_common
0ebc4cdaa3fd7c Benjamin Herrenschmidt 2009-06-02 973
fe1952fc0afb9a Benjamin Herrenschmidt 2012-03-01 974 ppc64_runlatch_on_trampoline:
b1576fec7f4dd4 Anton Blanchard 2014-02-04 975 b __ppc64_runlatch_on
fe1952fc0afb9a Benjamin Herrenschmidt 2012-03-01 976
:::::: The code at line 839 was first introduced by commit
:::::: c1fb6816fb1b78dd94b673b0fdaa9a7a16e97bd1 powerpc: Add relocation on exception
vector handlers
:::::: TO: Michael Neuling <mikey(a)neuling.org>
:::::: CC: Benjamin Herrenschmidt <benh(a)kernel.crashing.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org