All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 1261/4145] {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'
@ 2026-11-06 15:13 kernel test robot
  2026-11-06 21:05 ` Qu Wenruo
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-11-06 15:13 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: oe-kbuild-all, David Sterba, Johannes Thumshirn

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
commit: 8a13fc366acd07c58a72b0eaee2c1e38f9280cee [1261/4145] btrfs: convert volumes.c and block-group.c to use map->stripe_len
config: openrisc-randconfig-r2109-20261106 (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611061612.twOQJVLd-lkp@intel.com/

All errors (new ones prefixed by >>):

   {standard input}: Assembler messages:
>> {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'

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

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

* Re: [linux-next:master 1261/4145] {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'
  2026-11-06 15:13 [linux-next:master 1261/4145] {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1' kernel test robot
@ 2026-11-06 21:05 ` Qu Wenruo
  2026-11-07  1:50   ` Philip Li
  0 siblings, 1 reply; 3+ messages in thread
From: Qu Wenruo @ 2026-11-06 21:05 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, David Sterba, Johannes Thumshirn



在 2026/11/7 01:43, kernel test robot 写道:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
> commit: 8a13fc366acd07c58a72b0eaee2c1e38f9280cee [1261/4145] btrfs: convert volumes.c and block-group.c to use map->stripe_len
> config: openrisc-randconfig-r2109-20261106 (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-lkp@intel.com/config)
> compiler: or1k-linux-gcc (GCC) 9.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202611061612.twOQJVLd-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>     {standard input}: Assembler messages:
>>> {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'

Not an expert on compiler nor openrisc, but it looks like it's some 
special path on ilog2(), which is mostly fls() - 1.
Most architectures has dedicated fls() instructions, but for openrisc it 
can falls back to generic_fls(), and it can return 0 if the parameter is 0.

This fallback path results -1, leading to the above warning.

But the problem is, the stripe_len parameter is already verified by 
tree-checker at read time, any value not 64KiB is already rejected.

So the fallback path should never be reached.

To me, this looks like a false alert.

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


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

* Re: [linux-next:master 1261/4145] {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'
  2026-11-06 21:05 ` Qu Wenruo
@ 2026-11-07  1:50   ` Philip Li
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2026-11-07  1:50 UTC (permalink / raw)
  To: Qu Wenruo
  Cc: kernel test robot, oe-kbuild-all, David Sterba,
	Johannes Thumshirn

On Sat, Nov 07, 2026 at 07:35:09AM +1030, Qu Wenruo wrote:
> 
> 
> 在 2026/11/7 01:43, kernel test robot 写道:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head:   ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
> > commit: 8a13fc366acd07c58a72b0eaee2c1e38f9280cee [1261/4145] btrfs: convert volumes.c and block-group.c to use map->stripe_len
> > config: openrisc-randconfig-r2109-20261106 (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-lkp@intel.com/config)
> > compiler: or1k-linux-gcc (GCC) 9.5.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/202611061612.twOQJVLd-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@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202611061612.twOQJVLd-lkp@intel.com/
> > 
> > All errors (new ones prefixed by >>):
> > 
> >     {standard input}: Assembler messages:
> > > > {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1'
> 
> Not an expert on compiler nor openrisc, but it looks like it's some special
> path on ilog2(), which is mostly fls() - 1.
> Most architectures has dedicated fls() instructions, but for openrisc it can
> falls back to generic_fls(), and it can return 0 if the parameter is 0.
> 
> This fallback path results -1, leading to the above warning.
> 
> But the problem is, the stripe_len parameter is already verified by
> tree-checker at read time, any value not 64KiB is already rejected.
> 
> So the fallback path should never be reached.
> 
> To me, this looks like a false alert.

Thanks for the info, I will configure the bot to avoid reporting this commit again. Sorry
about the false positive.

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

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

end of thread, other threads:[~2026-11-07  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 15:13 [linux-next:master 1261/4145] {standard input}:61662: Error: operand out of range (0xffffffff not between 0 and 0x3f) `l.slli r27,r28,-1' kernel test robot
2026-11-06 21:05 ` Qu Wenruo
2026-11-07  1:50   ` Philip Li

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.