linux/arch/sparc
David S. Miller 49fa523046 sparc64: Fix bootup regressions on some Kconfig combinations.
The system call tracing bug fix mentioned in the Fixes tag
below increased the amount of assembler code in the sequence
of assembler files included by head_64.S

This caused to total set of code to exceed 0x4000 bytes in
size, which overflows the expression in head_64.S that works
to place swapper_tsb at address 0x408000.

When this is violated, the TSB is not properly aligned, and
also the trap table is not aligned properly either.  All of
this together results in failed boots.

So, do two things:

1) Simplify some code by using ba,a instead of ba/nop to get
   those bytes back.

2) Add a linker script assertion to make sure that if this
   happens again the build will fail.

Fixes: 1a40b95374 ("sparc: Fix system call tracing register handling.")
Reported-by: Meelis Roos <mroos@linux.ee>
Reported-by: Joerg Abraham <joerg.abraham@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-27 17:27:37 -04:00
..
boot
configs sparc/defconfigs: Remove CONFIG_IPV6_PRIVACY 2016-04-21 16:43:44 -04:00
crypto
include sparc64: recognize and support Sonoma CPU type 2016-04-21 16:43:47 -04:00
kernel sparc64: Fix bootup regressions on some Kconfig combinations. 2016-04-27 17:27:37 -04:00
lib
math-emu
mm sparc64: recognize and support Sonoma CPU type 2016-04-21 16:43:47 -04:00
net sparc: Fix misspellings in comments. 2016-03-20 21:28:58 -07:00
oprofile
power
prom
Kbuild
Kconfig
Kconfig.debug
Makefile