Re: [PATCH v3 12/22] MIPS: Get rid of CONFIG_NO_EXCEPT_FILL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gregory,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on lee-mfd/for-mfd-next linus/master v6.7-rc4]
[cannot apply to lee-mfd/for-mfd-fixes next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Gregory-CLEMENT/MIPS-Export-higher-highest-relocation-functions-in-uasm/20231201-201547
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20231201111512.803120-13-gregory.clement%40bootlin.com
patch subject: [PATCH v3 12/22] MIPS: Get rid of CONFIG_NO_EXCEPT_FILL
config: mips-fuloong2e_defconfig (https://download.01.org/0day-ci/archive/20231206/202312060831.fGiw8m5S-lkp@xxxxxxxxx/config)
compiler: mips64el-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060831.fGiw8m5S-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312060831.fGiw8m5S-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/mips/kernel/head.S:63:35: warning: "KSEG0" is not defined, evaluates to 0 [-Wundef]
      63 |         ((VMLINUX_LOAD_ADDRESS == KSEG0) ||     \
         |                                   ^~~~~


vim +/KSEG0 +63 arch/mips/kernel/head.S

    28	
    29		/*
    30		 * For the moment disable interrupts, mark the kernel mode and
    31		 * set ST0_KX so that the CPU does not spit fire when using
    32		 * 64-bit addresses.  A full initialization of the CPU's status
    33		 * register is done later in per_cpu_trap_init().
    34		 */
    35		.macro	setup_c0_status set clr
    36		.set	push
    37		mfc0	t0, CP0_STATUS
    38		or	t0, ST0_KERNEL_CUMASK|\set|0x1f|\clr
    39		xor	t0, 0x1f|\clr
    40		mtc0	t0, CP0_STATUS
    41		.set	noreorder
    42		sll	zero,3				# ehb
    43		.set	pop
    44		.endm
    45	
    46		.macro	setup_c0_status_pri
    47	#ifdef CONFIG_64BIT
    48		setup_c0_status ST0_KX 0
    49	#else
    50		setup_c0_status 0 0
    51	#endif
    52		.endm
    53	
    54		.macro	setup_c0_status_sec
    55	#ifdef CONFIG_64BIT
    56		setup_c0_status ST0_KX ST0_BEV
    57	#else
    58		setup_c0_status 0 ST0_BEV
    59	#endif
    60		.endm
    61	
    62	#if (MIPS_ISA_REV < 2) &&			\
  > 63		((VMLINUX_LOAD_ADDRESS == KSEG0) ||	\
    64		(VMLINUX_LOAD_ADDRESS == CKSEG0))
    65		/*
    66		 * Reserved space for exception handlers.
    67		 * Necessary for machines which link their kernels at KSEG0
    68		 * and incapable of moving ebase.
    69		 */
    70		.fill	0x400
    71	#endif
    72	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux