TencentOS-kernel/arch
Stafford Horne 34751673f6 openrisc: Fix issue with argument clobbering for clone/fork
[ Upstream commit 6bd140e14d9aaa734ec37985b8b20a96c0ece948 ]

Working on the OpenRISC glibc port I found that sometimes clone was
working strange.  That the tls data argument sent in r7 was always
wrong.  Further investigation revealed that the arguments were getting
clobbered in the entry code.  This patch removes the code that writes to
the argument registers.  This was likely due to some old code hanging
around.

This patch fixes this up for clone and fork.  This fork clobber is
harmless but also useless so remove.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-16 16:30:27 +08:00
..
alpha alpha: fix memory barriers so that they conform to the specification 2021-03-16 16:29:48 +08:00
arc ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT 2021-03-16 16:28:46 +08:00
arm ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity 2021-03-16 16:30:08 +08:00
arm64 arm64: tegra: Fix flag for 64-bit resources in 'ranges' property 2021-03-16 16:30:21 +08:00
c6x Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
csky csky: Fixup abiv2 syscall_trace break a4 & a5 2021-03-16 16:28:56 +08:00
h8300 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
hexagon hexagon: define ioremap_uc 2021-03-16 16:27:29 +08:00
ia64 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
m68k m68k/PCI: Fix a memory leak in an error handling path 2021-03-16 16:30:02 +08:00
microblaze Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mips MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe() 2021-03-16 16:29:35 +08:00
nds32 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
nios2 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
openrisc openrisc: Fix issue with argument clobbering for clone/fork 2021-03-16 16:30:27 +08:00
parisc parisc: Fix kernel panic in mem_init() 2021-03-16 16:28:37 +08:00
powerpc powerpc/4xx: Don't unmap NULL mbase 2021-03-16 16:30:26 +08:00
riscv riscv: stacktrace: Fix undefined reference to `walk_stackframe' 2021-03-16 16:28:30 +08:00
s390 s390/pci: Log new handle in clp_disable_fh() 2021-03-16 16:28:57 +08:00
sh Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
sparc sparc32: mm: Don't try to free page-table pages if ctor() fails 2021-03-16 16:30:05 +08:00
um um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/ 2021-03-16 16:27:11 +08:00
unicore32 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
x86 x86/apic: Make TSC deadline timer detection message visible 2021-03-16 16:30:23 +08:00
xtensa Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
.gitignore Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00