All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.4 70/132] arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared; did you mean
@ 2021-03-20  7:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-20  7:30 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head:   d2c5af89e80c5b71f1da59879464a930947306a2
commit: 93badfe8759710113a0c24505cd72fc5d7778db8 [70/132] powerpc: Add POWER10 architected mode
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.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/sashal/linux-stable.git/commit/?id=93badfe8759710113a0c24505cd72fc5d7778db8
        git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
        git fetch --no-tags sashal-linux-stable queue-5.4
        git checkout 93badfe8759710113a0c24505cd72fc5d7778db8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/powerpc/include/asm/mmu.h:132,
                    from arch/powerpc/include/asm/lppaca.h:47,
                    from arch/powerpc/include/asm/paca.h:17,
                    from arch/powerpc/include/asm/current.h:13,
                    from include/linux/thread_info.h:21,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:36,
                    from include/linux/time.h:6,
                    from include/linux/compat.h:10,
                    from arch/powerpc/kernel/asm-offsets.c:14:
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'early_cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:476:6: note: each undeclared identifier is reported only once for each function it appears in
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:39:6: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      39 |  if (CPU_FTRS_ALWAYS & feature)
         |      ^~~~~~~~~~~~~~~
--
   In file included from arch/powerpc/include/asm/mmu.h:132,
                    from arch/powerpc/include/asm/lppaca.h:47,
                    from arch/powerpc/include/asm/paca.h:17,
                    from arch/powerpc/include/asm/current.h:13,
                    from include/linux/thread_info.h:21,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:36,
                    from include/linux/time.h:6,
                    from include/linux/compat.h:10,
                    from arch/powerpc/kernel/asm-offsets.c:14:
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'early_cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:476:6: note: each undeclared identifier is reported only once for each function it appears in
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:39:6: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      39 |  if (CPU_FTRS_ALWAYS & feature)
         |      ^~~~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:99: arch/powerpc/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1135: prepare0] Error 2
   make[1]: Target 'modules_prepare' not remade because of errors.
   make: *** [Makefile:179: sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
--
   In file included from arch/powerpc/include/asm/mmu.h:132,
                    from arch/powerpc/include/asm/lppaca.h:47,
                    from arch/powerpc/include/asm/paca.h:17,
                    from arch/powerpc/include/asm/current.h:13,
                    from include/linux/thread_info.h:21,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:36,
                    from include/linux/time.h:6,
                    from include/linux/compat.h:10,
                    from arch/powerpc/kernel/asm-offsets.c:14:
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'early_cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:476:6: note: each undeclared identifier is reported only once for each function it appears in
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:12:13: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      12 |  return !!((CPU_FTRS_ALWAYS & feature) ||
         |             ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h: In function 'cpu_has_feature':
>> arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared (first use in this function); did you mean 'CPU_FTR_ARCH_300'?
     476 |      CPU_FTR_ARCH_31)
         |      ^~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:502:55: note: in expansion of macro 'CPU_FTRS_POWER10'
     502 |       CPU_FTRS_POWER9_DD2_1 | CPU_FTRS_POWER9_DD2_2 | CPU_FTRS_POWER10)
         |                                                       ^~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cputable.h:577:25: note: in expansion of macro 'CPU_FTRS_POSSIBLE'
     577 |       ~CPU_FTR_HVMODE & CPU_FTRS_POSSIBLE & CPU_FTRS_POWER9 & \
         |                         ^~~~~~~~~~~~~~~~~
   arch/powerpc/include/asm/cpu_has_feature.h:39:6: note: in expansion of macro 'CPU_FTRS_ALWAYS'
      39 |  if (CPU_FTRS_ALWAYS & feature)
         |      ^~~~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:99: arch/powerpc/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1135: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:179: sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +476 arch/powerpc/include/asm/cputable.h

   293	
   294	#define CPU_FTRS_PPC601	(CPU_FTR_COMMON | \
   295		CPU_FTR_COHERENT_ICACHE)
   296	#define CPU_FTRS_603	(CPU_FTR_COMMON | CPU_FTR_MAYBE_CAN_DOZE | \
   297		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_PPC_LE | CPU_FTR_NOEXECUTE)
   298	#define CPU_FTRS_604	(CPU_FTR_COMMON | CPU_FTR_PPC_LE)
   299	#define CPU_FTRS_740_NOTAU	(CPU_FTR_COMMON | \
   300		    CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_L2CR | \
   301		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_PPC_LE)
   302	#define CPU_FTRS_740	(CPU_FTR_COMMON | \
   303		    CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_L2CR | \
   304		    CPU_FTR_TAU | CPU_FTR_MAYBE_CAN_NAP | \
   305		    CPU_FTR_PPC_LE)
   306	#define CPU_FTRS_750	(CPU_FTR_COMMON | \
   307		    CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_L2CR | \
   308		    CPU_FTR_TAU | CPU_FTR_MAYBE_CAN_NAP | \
   309		    CPU_FTR_PPC_LE)
   310	#define CPU_FTRS_750CL	(CPU_FTRS_750)
   311	#define CPU_FTRS_750FX1	(CPU_FTRS_750 | CPU_FTR_DUAL_PLL_750FX | CPU_FTR_NO_DPM)
   312	#define CPU_FTRS_750FX2	(CPU_FTRS_750 | CPU_FTR_NO_DPM)
   313	#define CPU_FTRS_750FX	(CPU_FTRS_750 | CPU_FTR_DUAL_PLL_750FX)
   314	#define CPU_FTRS_750GX	(CPU_FTRS_750FX)
   315	#define CPU_FTRS_7400_NOTAU	(CPU_FTR_COMMON | \
   316		    CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_L2CR | \
   317		    CPU_FTR_ALTIVEC_COMP | \
   318		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_PPC_LE)
   319	#define CPU_FTRS_7400	(CPU_FTR_COMMON | \
   320		    CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_L2CR | \
   321		    CPU_FTR_TAU | CPU_FTR_ALTIVEC_COMP | \
   322		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_PPC_LE)
   323	#define CPU_FTRS_7450_20	(CPU_FTR_COMMON | \
   324		    CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   325		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | \
   326		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   327	#define CPU_FTRS_7450_21	(CPU_FTR_COMMON | \
   328		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   329		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | \
   330		    CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_L3_DISABLE_NAP | \
   331		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   332	#define CPU_FTRS_7450_23	(CPU_FTR_COMMON | \
   333		    CPU_FTR_NEED_PAIRED_STWCX | \
   334		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   335		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | \
   336		    CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE)
   337	#define CPU_FTRS_7455_1	(CPU_FTR_COMMON | \
   338		    CPU_FTR_NEED_PAIRED_STWCX | \
   339		    CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | CPU_FTR_L3CR | \
   340		    CPU_FTR_SPEC7450 | CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE)
   341	#define CPU_FTRS_7455_20	(CPU_FTR_COMMON | \
   342		    CPU_FTR_NEED_PAIRED_STWCX | \
   343		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   344		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | \
   345		    CPU_FTR_NAP_DISABLE_L2_PR | CPU_FTR_L3_DISABLE_NAP | \
   346		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE)
   347	#define CPU_FTRS_7455	(CPU_FTR_COMMON | \
   348		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   349		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR | \
   350		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   351	#define CPU_FTRS_7447_10	(CPU_FTR_COMMON | \
   352		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   353		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR | \
   354		    CPU_FTR_NEED_COHERENT | CPU_FTR_NO_BTIC | CPU_FTR_PPC_LE | \
   355		    CPU_FTR_NEED_PAIRED_STWCX)
   356	#define CPU_FTRS_7447	(CPU_FTR_COMMON | \
   357		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   358		    CPU_FTR_L3CR | CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR | \
   359		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   360	#define CPU_FTRS_7447A	(CPU_FTR_COMMON | \
   361		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   362		    CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR | \
   363		    CPU_FTR_NEED_COHERENT | CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   364	#define CPU_FTRS_7448	(CPU_FTR_COMMON | \
   365		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | \
   366		    CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR | \
   367		    CPU_FTR_PPC_LE | CPU_FTR_NEED_PAIRED_STWCX)
   368	#define CPU_FTRS_82XX	(CPU_FTR_COMMON | CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_NOEXECUTE)
   369	#define CPU_FTRS_G2_LE	(CPU_FTR_COMMON | CPU_FTR_MAYBE_CAN_DOZE | \
   370		    CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_NOEXECUTE)
   371	#define CPU_FTRS_E300	(CPU_FTR_MAYBE_CAN_DOZE | \
   372		    CPU_FTR_MAYBE_CAN_NAP | \
   373		    CPU_FTR_COMMON  | CPU_FTR_NOEXECUTE)
   374	#define CPU_FTRS_E300C2	(CPU_FTR_MAYBE_CAN_DOZE | \
   375		    CPU_FTR_MAYBE_CAN_NAP | \
   376		    CPU_FTR_COMMON | CPU_FTR_FPU_UNAVAILABLE  | CPU_FTR_NOEXECUTE)
   377	#define CPU_FTRS_CLASSIC32	(CPU_FTR_COMMON)
   378	#define CPU_FTRS_8XX	(CPU_FTR_NOEXECUTE)
   379	#define CPU_FTRS_40X	(CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE)
   380	#define CPU_FTRS_44X	(CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE)
   381	#define CPU_FTRS_440x6	(CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE | \
   382		    CPU_FTR_INDEXED_DCR)
   383	#define CPU_FTRS_47X	(CPU_FTRS_440x6)
   384	#define CPU_FTRS_E200	(CPU_FTR_SPE_COMP | \
   385		    CPU_FTR_NODSISRALIGN | CPU_FTR_COHERENT_ICACHE | \
   386		    CPU_FTR_NOEXECUTE | \
   387		    CPU_FTR_DEBUG_LVL_EXC)
   388	#define CPU_FTRS_E500	(CPU_FTR_MAYBE_CAN_DOZE | \
   389		    CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_NODSISRALIGN | \
   390		    CPU_FTR_NOEXECUTE)
   391	#define CPU_FTRS_E500_2	(CPU_FTR_MAYBE_CAN_DOZE | \
   392		    CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP | \
   393		    CPU_FTR_NODSISRALIGN | CPU_FTR_NOEXECUTE)
   394	#define CPU_FTRS_E500MC	(CPU_FTR_NODSISRALIGN | \
   395		    CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
   396		    CPU_FTR_DBELL | CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV)
   397	/*
   398	 * e5500/e6500 erratum A-006958 is a timebase bug that can use the
   399	 * same workaround as CPU_FTR_CELL_TB_BUG.
   400	 */
   401	#define CPU_FTRS_E5500	(CPU_FTR_NODSISRALIGN | \
   402		    CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
   403		    CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   404		    CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV | CPU_FTR_CELL_TB_BUG)
   405	#define CPU_FTRS_E6500	(CPU_FTR_NODSISRALIGN | \
   406		    CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \
   407		    CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   408		    CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV | CPU_FTR_ALTIVEC_COMP | \
   409		    CPU_FTR_CELL_TB_BUG | CPU_FTR_SMT)
   410	
   411	/* 64-bit CPUs */
   412	#define CPU_FTRS_PPC970	(CPU_FTR_LWSYNC | \
   413		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
   414		    CPU_FTR_ALTIVEC_COMP | CPU_FTR_CAN_NAP | CPU_FTR_MMCRA | \
   415		    CPU_FTR_CP_USE_DCBTZ | CPU_FTR_STCX_CHECKS_ADDRESS | \
   416		    CPU_FTR_HVMODE | CPU_FTR_DABRX)
   417	#define CPU_FTRS_POWER5	(CPU_FTR_LWSYNC | \
   418		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
   419		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   420		    CPU_FTR_COHERENT_ICACHE | CPU_FTR_PURR | \
   421		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_DABRX)
   422	#define CPU_FTRS_POWER6 (CPU_FTR_LWSYNC | \
   423		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
   424		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   425		    CPU_FTR_COHERENT_ICACHE | \
   426		    CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
   427		    CPU_FTR_DSCR | CPU_FTR_UNALIGNED_LD_STD | \
   428		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_CFAR | \
   429		    CPU_FTR_DABRX)
   430	#define CPU_FTRS_POWER7 (CPU_FTR_LWSYNC | \
   431		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
   432		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   433		    CPU_FTR_COHERENT_ICACHE | \
   434		    CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
   435		    CPU_FTR_DSCR | CPU_FTR_SAO  | CPU_FTR_ASYM_SMT | \
   436		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   437		    CPU_FTR_CFAR | CPU_FTR_HVMODE | \
   438		    CPU_FTR_VMX_COPY | CPU_FTR_HAS_PPR | CPU_FTR_DABRX | CPU_FTR_PKEY)
   439	#define CPU_FTRS_POWER8 (CPU_FTR_LWSYNC | \
   440		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
   441		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   442		    CPU_FTR_COHERENT_ICACHE | \
   443		    CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
   444		    CPU_FTR_DSCR | CPU_FTR_SAO  | \
   445		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   446		    CPU_FTR_CFAR | CPU_FTR_HVMODE | CPU_FTR_VMX_COPY | \
   447		    CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_DAWR | \
   448		    CPU_FTR_ARCH_207S | CPU_FTR_TM_COMP | CPU_FTR_PKEY)
   449	#define CPU_FTRS_POWER8E (CPU_FTRS_POWER8 | CPU_FTR_PMAO_BUG)
   450	#define CPU_FTRS_POWER9 (CPU_FTR_LWSYNC | \
   451		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
   452		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   453		    CPU_FTR_COHERENT_ICACHE | \
   454		    CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
   455		    CPU_FTR_DSCR | CPU_FTR_SAO  | \
   456		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   457		    CPU_FTR_CFAR | CPU_FTR_HVMODE | CPU_FTR_VMX_COPY | \
   458		    CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_ARCH_207S | \
   459		    CPU_FTR_TM_COMP | CPU_FTR_ARCH_300 | CPU_FTR_PKEY | \
   460		    CPU_FTR_P9_TLBIE_STQ_BUG | CPU_FTR_P9_TLBIE_ERAT_BUG | CPU_FTR_P9_TIDR)
   461	#define CPU_FTRS_POWER9_DD2_0 CPU_FTRS_POWER9
   462	#define CPU_FTRS_POWER9_DD2_1 (CPU_FTRS_POWER9 | CPU_FTR_POWER9_DD2_1)
   463	#define CPU_FTRS_POWER9_DD2_2 (CPU_FTRS_POWER9 | CPU_FTR_POWER9_DD2_1 | \
   464				       CPU_FTR_P9_TM_HV_ASSIST | \
   465				       CPU_FTR_P9_TM_XER_SO_BUG)
   466	#define CPU_FTRS_POWER10 (CPU_FTR_LWSYNC | \
   467		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
   468		    CPU_FTR_MMCRA | CPU_FTR_SMT | \
   469		    CPU_FTR_COHERENT_ICACHE | \
   470		    CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
   471		    CPU_FTR_DSCR | CPU_FTR_SAO  | \
   472		    CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
   473		    CPU_FTR_CFAR | CPU_FTR_HVMODE | CPU_FTR_VMX_COPY | \
   474		    CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_ARCH_207S | \
   475		    CPU_FTR_TM_COMP | CPU_FTR_ARCH_300 | CPU_FTR_PKEY | \
 > 476		    CPU_FTR_ARCH_31)
   477	#define CPU_FTRS_CELL	(CPU_FTR_LWSYNC | \
   478		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
   479		    CPU_FTR_ALTIVEC_COMP | CPU_FTR_MMCRA | CPU_FTR_SMT | \
   480		    CPU_FTR_PAUSE_ZERO  | CPU_FTR_CELL_TB_BUG | CPU_FTR_CP_USE_DCBTZ | \
   481		    CPU_FTR_UNALIGNED_LD_STD | CPU_FTR_DABRX)
   482	#define CPU_FTRS_PA6T (CPU_FTR_LWSYNC | \
   483		    CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_ALTIVEC_COMP | \
   484		    CPU_FTR_PURR | CPU_FTR_REAL_LE | CPU_FTR_DABRX)
   485	#define CPU_FTRS_COMPATIBLE	(CPU_FTR_PPCAS_ARCH_V2)
   486	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-20  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20  7:30 [sashal-linux-stable:queue-5.4 70/132] arch/powerpc/include/asm/cputable.h:476:6: error: 'CPU_FTR_ARCH_31' undeclared; did you mean kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.