OpenCloudOS-Kernel/arch/loongarch/kernel
Qi Hu b0f3bdc002 LoongArch: Fix missing fcsr in ptrace's fpr_set
In file ptrace.c, function fpr_set does not copy fcsr data from ubuf
to kbuf. That's the reason why fcsr cannot be modified by ptrace.

This patch fixs this problem and allows users using ptrace to modify
the fcsr.

Co-developed-by: Xu Li <lixu@loongson.cn>
Signed-off-by: Qi Hu <huqi@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2022-07-29 18:22:33 +08:00
..
.gitignore
Makefile LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
access-helper.h LoongArch: Add exception/interrupt handling 2022-06-03 20:09:28 +08:00
acpi.c LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
asm-offsets.c LoongArch: Remove obsolete mentions of vcsr 2022-07-07 17:41:01 +08:00
cacheinfo.c LoongArch: Fix shared cache size calculation 2022-07-29 18:22:33 +08:00
cpu-probe.c LoongArch: Fix wrong fpu version 2022-06-25 18:05:59 +08:00
dma.c LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
efi.c LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
elf.c LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
entry.S LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
env.c LoongArch: Remove unused variables 2022-07-29 18:22:32 +08:00
fpu.S LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
genex.S LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
head.S LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
idle.c LoongArch: Add process management 2022-06-03 20:09:28 +08:00
inst.c LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
io.c LoongArch: Add misc common routines 2022-06-03 20:09:28 +08:00
irq.c LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
mem.c LoongArch: Add boot and setup routines 2022-06-03 20:09:28 +08:00
module-sections.c LoongArch: Add ELF and module support 2022-06-03 20:09:28 +08:00
module.c LoongArch: Add Non-Uniform Memory Access (NUMA) support 2022-06-03 20:09:29 +08:00
numa.c LoongArch: Fix section mismatch warning 2022-07-07 17:41:01 +08:00
proc.c LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
process.c LoongArch: Fix copy_thread() build errors 2022-06-08 11:00:40 +08:00
ptrace.c LoongArch: Fix missing fcsr in ptrace's fpr_set 2022-07-29 18:22:33 +08:00
reset.c LoongArch: Remove useless header compiler.h 2022-07-29 18:22:32 +08:00
setup.c LoongArch: Fix the !CONFIG_SMP build 2022-06-08 11:00:40 +08:00
signal.c LoongArch: Add signal handling support 2022-06-03 20:09:28 +08:00
smp.c LoongArch: Remove clock setting during cpu hotplug stage 2022-07-29 18:22:32 +08:00
switch.S LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
syscall.c LoongArch: Add system call support 2022-06-03 20:09:28 +08:00
time.c LoongArch: Add VDSO and VSYSCALL support 2022-06-03 20:09:28 +08:00
topology.c LoongArch: Add multi-processor (SMP) support 2022-06-03 20:09:29 +08:00
traps.c LoongArch: Make compute_return_era() return void 2022-06-25 18:06:07 +08:00
vdso.c LoongArch: Add VDSO and VSYSCALL support 2022-06-03 20:09:28 +08:00
vmlinux.lds.S LoongArch: Fix the _stext symbol address 2022-06-25 18:05:58 +08:00