linux/arch
Heiko Carstens 72c4df2e3c KVM: s390: get rid of register asm usage
[ Upstream commit 4fa3b91bde ]

Using register asm statements has been proven to be very error prone,
especially when using code instrumentation where gcc may add function
calls, which clobbers register contents in an unexpected way.

Therefore get rid of register asm statements in kvm code, even though
there is currently nothing wrong with them. This way we know for sure
that this bug class won't be introduced here.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Link: https://lore.kernel.org/r/20210621140356.1210771-1-hca@linux.ibm.com
[borntraeger@de.ibm.com: checkpatch strict fix]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-07-14 17:06:29 +02:00
..
alpha sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arm sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arm64 KVM: arm64: Restore PMU configuration on first run 2021-07-14 17:06:27 +02:00
csky sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
h8300 arch: rearrange headers inclusion order in asm/bitops for m68k, sh and h8300 2021-05-06 19:24:11 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
ia64 sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
m68k Merge branch 'for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-05-21 06:12:52 -10:00
microblaze quota: Disable quotactl_path syscall 2021-05-17 14:39:56 +02:00
mips sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
nds32 tracing updates for 5.13 2021-05-03 11:19:54 -07:00
nios2 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-05-02 09:14:01 -07:00
openrisc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
parisc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
powerpc KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors 2021-07-14 17:06:27 +02:00
riscv sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
s390 KVM: s390: get rid of register asm usage 2021-07-14 17:06:29 +02:00
sh sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
sparc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
um Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
x86 perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task 2021-07-14 17:06:27 +02:00
xtensa sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00