Home
last modified time | relevance | path

Searched hist:"4 c25f0ff6336738fcb03216ae103c3c17908304a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/kernel/
H A Dentry.Sdiff 4c25f0ff6336738fcb03216ae103c3c17908304a Wed May 11 07:05:27 CDT 2022 Heiko Carstens <hca@linux.ibm.com> s390/entry: workaround llvm's IAS limitations

llvm's integrated assembler cannot handle immediate values which are
calculated with two local labels:

<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_done - .Lsie_gmap

Workaround this by adding clang specific code which reads the specific
value from memory. Since this code is within the hot paths of the kernel
and adds an additional memory reference, keep the original code, and add
ifdef'ed code.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20220511120532.2228616-5-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>