Skip to contentSkip to conversation

linux-next: build failure after merge of the vfs tree

PATCH Stephen Rothwell 2 participants 4 messages Oct 27, 2020 – Nov 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the vfs tree, today's linux-next build (sparc_defconfig) failed like this:

arch/sparc/lib/memset.S: Assembler messages:
arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)'

Caused by commit

0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")

merging badly with commit

7780918b3648 ("sparc32: fix a user-triggerable oops in clear_user()")

from the sparc tree.

The sparc tree commit above appears as commit

80537bbf19d6 ("sparc32: fix a user-triggerable oops in clear_user()")

in the vfs tree as well. The patch adds one line which is later removed by commit

0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")

in the vfs tree, but the git merge puts the line back again :-(

I have added the following fix to the vfs tree merge

From: Stephen Rothwell <[email protected]>
Date: Tue, 27 Oct 2020 15:05:28 +1100
Subject: [PATCH] fix up for merge of arch/sparc/lib/memset.S

---
 arch/sparc/lib/memset.S | 1 -
 1 file changed, 1 deletion(-)
arch/sparc/lib/memset.S +0 -1
index 522f45a952a0..eaff68213fdf 100644
@@ -146,7 +146,6 @@ __bzero:
 	ZERO_LAST_BLOCKS(%o0, 0x48, %g2)
 	ZERO_LAST_BLOCKS(%o0, 0x08, %g2)
 13:
-	EXT(12b, 13b, 21f)
 	be	8f
 	 andcc	%o1, 4, %g0
 
Signature · 5 lines
2.28.0

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 22 lines · Stephen Rothwell

Hi all,

After merging the vfs tree, today's linux-next build (sparc_defconfig) failed like this:

arch/sparc/lib/memset.S: Assembler messages:
arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)'

Caused by commit

0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")

merging badly with commit

7780918b3648 ("sparc32: fix a user-triggerable oops in clear_user()")

from the sparc tree.

The sparc tree commit above appears as commit

80537bbf19d6 ("sparc32: fix a user-triggerable oops in clear_user()")

Quoted 8 lines

in the vfs tree as well. The patch adds one line which is later removed by commit

0e0bbae08a6e ("sparc32: switch __bzero() away from range exception table entries")

in the vfs tree, but the git merge puts the line back again :-(

I have added the following fix to the vfs tree merge

I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).

#2 lore raw
Quoted 2 lines · Al Viro

I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).

Done - sorry for disappearing ;-/

#3 lore raw

Hi Al,

Quoted 7 lines · On Tue, 10 Nov 2020 19:00:36 +0000 Al Viro <[email protected]> wrote:
Quoted 2 lines · Al Viro

I'll rebase that branch on top of sparc tree tomorrow (and eventually I'd like it to go through the sparc tree anyway).

Done - sorry for disappearing ;-/

No worries and thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell