diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-08 18:09:17 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-12-08 18:09:17 +0800 |
| commit | 4ad04e7c7eed8583bd49509f4aad4d28bc4b399d (patch) | |
| tree | 1da65ca8864333bf0aa52ea5a40d6defeb1a61e7 /tools/perf/util/python.c | |
| parent | dd55dd0d7e5ddceb6df451dac208af38609d1963 (diff) | |
LoongArch: Adjust process management for 32BIT/64BIT
Adjust process management for both 32BIT and 64BIT, including: CPU
context switching, FPU loading/restoring, process dumping and process
tracing routines.
Q: Why modify switch.S?
A: LoongArch32 has no ldptr.d/stptr.d instructions, and asm offsets of
thead_struct members are too large to be filled in the 12b immediate
field of ld.w/st.w.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
