lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202312060831.fGiw8m5S-lkp@intel.com>
Date:   Wed, 6 Dec 2023 08:40:09 +0800
From:   kernel test robot <lkp@...el.com>
To:     Gregory CLEMENT <gregory.clement@...tlin.com>,
        Paul Burton <paulburton@...nel.org>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        linux-mips@...r.kernel.org, Jiaxun Yang <jiaxun.yang@...goat.com>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     oe-kbuild-all@...ts.linux.dev,
        Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>,
        Tawfik Bayouk <tawfik.bayouk@...ileye.com>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        Théo Lebrun <theo.lebrun@...tlin.com>,
        Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH v3 12/22] MIPS: Get rid of CONFIG_NO_EXCEPT_FILL

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@intel.com/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@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312060831.fGiw8m5S-lkp@intel.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ