Re: arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

From: Will Deacon
Date: Wed Mar 09 2016 - 11:03:24 EST


On Sun, Mar 06, 2016 at 09:47:10PM +0800, kbuild test robot wrote:
> FYI, the error/warning still remains.

[...]

> arch/ia64/kernel/entry.S: Assembler messages:
> >> arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
> arch/ia64/kernel/entry.S:728: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
> arch/ia64/kernel/entry.S:859: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
> --
> arch/ia64/kernel/fsys.S: Assembler messages:
> >> arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3
> arch/ia64/kernel/fsys.S:97: Error: Operand 3 of `add' should be a general register r0-r3
> arch/ia64/kernel/fsys.S:193: Error: Operand 3 of `add' should be a general register r0-r3
> arch/ia64/kernel/fsys.S:336: Error: Operand 3 of `add' should be a general register r0-r3
> arch/ia64/kernel/fsys.S:338: Error: Operand 3 of `add' should be a general register r0-r3
> --
> arch/ia64/kernel/ivt.S: Assembler messages:
> >> arch/ia64/kernel/ivt.S:759: Error: Operand 3 of `add' should be a general register r0-r3

Yeah :( I reported this on linux-arch a while back:

http://lkml.kernel.org/r/20160127150031.GI2390@xxxxxxx

but didn't get any replies (I cc'd the maintainers).

Tell you what; I'll repost the fix I had there (basically disabling
LATENCYTOP for ia64) as a separate patch and see how it goes.

Will