android_kernel_samsung_sm8650/arch/s390/hypfs
Heiko Carstens 6c22c98637 s390: avoid extable collisions
We have some inline assemblies where the extable entry points to a
label at the end of an inline assembly which is not followed by an
instruction.

On the other hand we have also inline assemblies where the extable
entry points to the first instruction of an inline assembly.

If a first type inline asm (extable point to empty label at the end)
would be directly followed by a second type inline asm (extable points
to first instruction) then we would have two different extable entries
that point to the same instruction but would have a different target
address.

This can lead to quite random behaviour, depending on sorting order.

I verified that we currently do not have such collisions within the
kernel. However to avoid such subtle bugs add a couple of nop
instructions to those inline assemblies which contain an extable that
points to an empty label.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-06-13 15:58:26 +02:00
..
hypfs_dbfs.c s390/hypfs: Eliminate hypfs interval 2015-02-10 16:39:02 +01:00
hypfs_diag0c.c s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
hypfs_diag.c s390: avoid extable collisions 2016-06-13 15:58:26 +02:00
hypfs_sprp.c s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
hypfs_vm.c s390: avoid extable collisions 2016-06-13 15:58:26 +02:00
hypfs.h s390/hypfs: Eliminate hypfs interval 2015-02-10 16:39:02 +01:00
inode.c mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros 2016-04-04 10:41:08 -07:00
Makefile s390/hypfs: Add diagnose 0c support 2015-02-10 16:38:58 +01:00