All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
@ 2021-05-13 14:37 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-05-13 14:37 UTC (permalink / raw)
  To: Vincent Chen; +Cc: kbuild-all, linux-kernel, Palmer Dabbelt

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

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@intel.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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
@ 2021-05-13 14:37 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-05-13 14:37 UTC (permalink / raw)
  To: kbuild-all

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

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@intel.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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
  2021-05-13 14:37 ` kernel test robot
@ 2021-05-14 10:23   ` Vincent Chen
  -1 siblings, 0 replies; 5+ messages in thread
From: Vincent Chen @ 2021-05-14 10:23 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, linux-kernel@vger.kernel.org List, Palmer Dabbelt

Hi all,
The resolved patch "0e0d49925" lacks a change, so this error still happens.
I apologize for any inconvenience caused by this stupid mistake.

Vincent Chen

On Thu, May 13, 2021 at 10:38 PM kernel test robot <lkp@intel.com> wrote:
>
> 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@intel.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
@ 2021-05-14 10:23   ` Vincent Chen
  0 siblings, 0 replies; 5+ messages in thread
From: Vincent Chen @ 2021-05-14 10:23 UTC (permalink / raw)
  To: kbuild-all

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

Hi all,
The resolved patch "0e0d49925" lacks a change, so this error still happens.
I apologize for any inconvenience caused by this stupid mistake.

Vincent Chen

On Thu, May 13, 2021 at 10:38 PM kernel test robot <lkp@intel.com> wrote:
>
> 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@intel.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(a)lists.01.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38)
@ 2021-05-13 11:13 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-05-13 11:13 UTC (permalink / raw)
  To: kbuild-all

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

CC: linux-kernel(a)vger.kernel.org
TO: Vincent Chen <vincent.chen@sifive.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>

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-r033-20210513 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 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=clang make.cross W=1 ARCH=riscv 

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 >>):

   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)
>> clang-13: error: assembler command failed with exit code 1 (use -v to see invocation)


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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-14 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 14:37 arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper shift amount (38) kernel test robot
2021-05-13 14:37 ` kernel test robot
2021-05-14 10:23 ` Vincent Chen
2021-05-14 10:23   ` Vincent Chen
  -- strict thread matches above, loose matches on Subject: below --
2021-05-13 11:13 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.