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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210021438.oDimNmSR-lkp@intel.com>
Date:   Sun, 2 Oct 2022 14:50:19 +0800
From:   kernel test robot <lkp@...el.com>
To:     Helge Deller <deller@....de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: arch/parisc/kernel/entry.S:977: Error: Field not properly aligned
 [8] (20).

Hi Helge,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b357fd1c2afc1a3e1b73dc4574bb7ac0e3bd4193
commit: 671028728083e856e9919221b109e3b2cd2ccc49 parisc: Implement __get/put_kernel_nofault()
date:   1 year, 1 month ago
config: parisc-buildonly-randconfig-r003-20221002
compiler: hppa64-linux-gcc (GCC) 12.1.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/torvalds/linux.git/commit/?id=671028728083e856e9919221b109e3b2cd2ccc49
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 671028728083e856e9919221b109e3b2cd2ccc49
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc64 SHELL=/bin/bash arch/parisc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   arch/parisc/kernel/entry.S: Assembler messages:
>> arch/parisc/kernel/entry.S:977: Error: Field not properly aligned [8] (20).
>> arch/parisc/kernel/entry.S:977: Error: Invalid operands 


vim +977 arch/parisc/kernel/entry.S

^1da177e4c3f41 Linus Torvalds  2005-04-16   955  
^1da177e4c3f41 Linus Torvalds  2005-04-16   956  	ldil	L%intr_check_sig, %r2
99ac79479928ba Randolph Chung  2005-10-21   957  #ifndef CONFIG_64BIT
^1da177e4c3f41 Linus Torvalds  2005-04-16   958  	b	schedule
99ac79479928ba Randolph Chung  2005-10-21   959  #else
99ac79479928ba Randolph Chung  2005-10-21   960  	load32	schedule, %r20
99ac79479928ba Randolph Chung  2005-10-21   961  	bv	%r0(%r20)
99ac79479928ba Randolph Chung  2005-10-21   962  #endif
^1da177e4c3f41 Linus Torvalds  2005-04-16   963  	ldo	R%intr_check_sig(%r2), %r2
^1da177e4c3f41 Linus Torvalds  2005-04-16   964  
50a34dbd612925 Kyle McMartin   2006-03-24   965  	/* preempt the current task on returning to kernel
50a34dbd612925 Kyle McMartin   2006-03-24   966  	 * mode from an interrupt, iff need_resched is set,
50a34dbd612925 Kyle McMartin   2006-03-24   967  	 * and preempt_count is 0. otherwise, we continue on
50a34dbd612925 Kyle McMartin   2006-03-24   968  	 * our merry way back to the current running task.
50a34dbd612925 Kyle McMartin   2006-03-24   969  	 */
09613e8320cda1 Thomas Gleixner 2019-10-15   970  #ifdef CONFIG_PREEMPTION
50a34dbd612925 Kyle McMartin   2006-03-24   971  	.import preempt_schedule_irq,code
50a34dbd612925 Kyle McMartin   2006-03-24   972  intr_do_preempt:
50a34dbd612925 Kyle McMartin   2006-03-24   973  	rsm	PSW_SM_I, %r0		/* disable interrupts */
50a34dbd612925 Kyle McMartin   2006-03-24   974  
50a34dbd612925 Kyle McMartin   2006-03-24   975  	/* current_thread_info()->preempt_count */
50a34dbd612925 Kyle McMartin   2006-03-24   976  	mfctl	%cr30, %r1
50a34dbd612925 Kyle McMartin   2006-03-24  @977  	LDREG	TI_PRE_COUNT(%r1), %r19
872f6debcae633 Kyle McMartin   2008-05-15   978  	cmpib,COND(<>)	0, %r19, intr_restore	/* if preempt_count > 0 */
50a34dbd612925 Kyle McMartin   2006-03-24   979  	nop				/* prev insn branched backwards */
50a34dbd612925 Kyle McMartin   2006-03-24   980  
50a34dbd612925 Kyle McMartin   2006-03-24   981  	/* check if we interrupted a critical path */
50a34dbd612925 Kyle McMartin   2006-03-24   982  	LDREG	PT_PSW(%r16), %r20
50a34dbd612925 Kyle McMartin   2006-03-24   983  	bb,<,n	%r20, 31 - PSW_SM_I, intr_restore
50a34dbd612925 Kyle McMartin   2006-03-24   984  	nop
50a34dbd612925 Kyle McMartin   2006-03-24   985  
00e35f2b0e8acb Helge Deller    2021-01-26   986  	/* ssm PSW_SM_I done later in intr_restore */
00e35f2b0e8acb Helge Deller    2021-01-26   987  #ifdef CONFIG_MLONGCALLS
00e35f2b0e8acb Helge Deller    2021-01-26   988  	ldil	L%intr_restore, %r2
00e35f2b0e8acb Helge Deller    2021-01-26   989  	load32	preempt_schedule_irq, %r1
00e35f2b0e8acb Helge Deller    2021-01-26   990  	bv	%r0(%r1)
00e35f2b0e8acb Helge Deller    2021-01-26   991  	ldo	R%intr_restore(%r2), %r2
00e35f2b0e8acb Helge Deller    2021-01-26   992  #else
00e35f2b0e8acb Helge Deller    2021-01-26   993  	ldil	L%intr_restore, %r1
50a34dbd612925 Kyle McMartin   2006-03-24   994  	BL	preempt_schedule_irq, %r2
00e35f2b0e8acb Helge Deller    2021-01-26   995  	ldo	R%intr_restore(%r1), %r2
00e35f2b0e8acb Helge Deller    2021-01-26   996  #endif
09613e8320cda1 Thomas Gleixner 2019-10-15   997  #endif /* CONFIG_PREEMPTION */
^1da177e4c3f41 Linus Torvalds  2005-04-16   998  
^1da177e4c3f41 Linus Torvalds  2005-04-16   999  	/*
^1da177e4c3f41 Linus Torvalds  2005-04-16  1000  	 * External interrupts.
^1da177e4c3f41 Linus Torvalds  2005-04-16  1001  	 */
^1da177e4c3f41 Linus Torvalds  2005-04-16  1002  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1003  intr_extint:
872f6debcae633 Kyle McMartin   2008-05-15  1004  	cmpib,COND(=),n 0,%r16,1f
6cc4525d29e22a Kyle McMartin   2007-10-18  1005  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1006  	get_stack_use_cr30
6cc4525d29e22a Kyle McMartin   2007-10-18  1007  	b,n 2f
^1da177e4c3f41 Linus Torvalds  2005-04-16  1008  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1009  1:
^1da177e4c3f41 Linus Torvalds  2005-04-16  1010  	get_stack_use_r30
6cc4525d29e22a Kyle McMartin   2007-10-18  1011  2:
^1da177e4c3f41 Linus Torvalds  2005-04-16  1012  	save_specials	%r29
^1da177e4c3f41 Linus Torvalds  2005-04-16  1013  	virt_map
^1da177e4c3f41 Linus Torvalds  2005-04-16  1014  	save_general	%r29
^1da177e4c3f41 Linus Torvalds  2005-04-16  1015  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1016  	ldo	PT_FR0(%r29), %r24
^1da177e4c3f41 Linus Torvalds  2005-04-16  1017  	save_fp	%r24
^1da177e4c3f41 Linus Torvalds  2005-04-16  1018  	
^1da177e4c3f41 Linus Torvalds  2005-04-16  1019  	loadgp
^1da177e4c3f41 Linus Torvalds  2005-04-16  1020  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1021  	copy	%r29, %r26	/* arg0 is pt_regs */
^1da177e4c3f41 Linus Torvalds  2005-04-16  1022  	copy	%r29, %r16	/* save pt_regs */
^1da177e4c3f41 Linus Torvalds  2005-04-16  1023  
^1da177e4c3f41 Linus Torvalds  2005-04-16  1024  	ldil	L%intr_return, %r2
^1da177e4c3f41 Linus Torvalds  2005-04-16  1025  

:::::: The code at line 977 was first introduced by commit
:::::: 50a34dbd612925f2ec55b1781632835ef36b97d5 [PARISC] Add PREEMPT support

:::::: TO: Kyle McMartin <kyle@...isc-linux.org>
:::::: CC: Kyle McMartin <kyle@...a.kernel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (104375 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ