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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202105132239.YLq2DvEA-lkp@intel.com>
Date:   Thu, 13 May 2021 22:37:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vincent Chen <vincent.chen@...ive.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Palmer Dabbelt <palmerdabbelt@...gle.com>
Subject: arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift
 amount (38)

Hi Vincent,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c06a2ba62fc401b7aaefd23f5d0bc06d2457ccc1
commit: 800149a77c2cb8746a94457939b1ba1e37d2c14e riscv: sifive: Apply errata "cip-453" patch
date:   2 weeks ago
config: riscv-randconfig-r023-20210513 (attached as .config)
compiler: riscv32-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/torvalds/linux.git/commit/?id=800149a77c2cb8746a94457939b1ba1e37d2c14e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 800149a77c2cb8746a94457939b1ba1e37d2c14e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=riscv 

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

All errors (new ones prefixed by >>):

   arch/riscv/errata/sifive/errata_cip_453.S: Assembler messages:
>> arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
   arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (39)
   arch/riscv/errata/sifive/errata_cip_453.S:35: Error: Improper shift amount (38)
   arch/riscv/errata/sifive/errata_cip_453.S:35: Error: Improper shift amount (39)


vim +25 arch/riscv/errata/sifive/errata_cip_453.S

    23	
    24	ENTRY(sifive_cip_453_page_fault_trp)
  > 25		ADD_SIGN_EXT a0, t0, t1
    26	#ifdef CONFIG_MMU
    27		la t0, do_page_fault
    28	#else
    29		la t0, do_trap_unknown
    30	#endif
    31		jr t0
    32	END(sifive_cip_453_page_fault_trp)
    33	

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

Download attachment ".config.gz" of type "application/gzip" (31643 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ