[GIT PULL] LoongArch fixes for v6.3-final

From: Huacai Chen
Date: Wed Apr 19 2023 - 06:06:12 EST


The following changes since commit 6a8f57ae2eb07ab39a6f0ccad60c760743051026:

Linux 6.3-rc7 (2023-04-16 15:23:53 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.3-1

for you to fetch changes up to b5533e990dd1de5872a34cba2f4f7f508c9b2ec3:

tools/loongarch: Use __SIZEOF_LONG__ to define __BITS_PER_LONG (2023-04-19 12:07:34 +0800)

----------------------------------------------------------------
LoongArch fixes for v6.3-final

Some bug fixes, some build fixes, a comment fix and a trivial cleanup.
----------------------------------------------------------------
Enze Li (1):
LoongArch: Replace hard-coded values in comments with VALEN

Huacai Chen (6):
LoongArch: Make WriteCombine configurable for ioremap()
LoongArch: Fix probing of the CRC32 feature
LoongArch: Fix build error if CONFIG_SUSPEND is not set
LoongArch: Enable PG when wakeup from suspend
LoongArch: Mark 3 symbol exports as non-GPL
LoongArch: module: set section addresses to 0x0

Qing Zhang (3):
LoongArch: Fix _CONST64_(x) as unsigned
LoongArch: Adjust user_watch_state for explicit alignment
LoongArch: Adjust user_regset_copyin parameter to the correct offset

Tiezhu Yang (3):
LoongArch: Check unwind_error() in arch_stack_walk()
LoongArch: Clean up plat_swiotlb_setup() related code
tools/loongarch: Use __SIZEOF_LONG__ to define __BITS_PER_LONG

Documentation/admin-guide/kernel-parameters.rst | 1 +
Documentation/admin-guide/kernel-parameters.txt | 6 ++++
arch/loongarch/Kconfig | 16 +++++++++
arch/loongarch/include/asm/acpi.h | 3 ++
arch/loongarch/include/asm/addrspace.h | 4 +--
arch/loongarch/include/asm/bootinfo.h | 1 -
arch/loongarch/include/asm/cpu-features.h | 1 +
arch/loongarch/include/asm/cpu.h | 40 ++++++++++++----------
arch/loongarch/include/asm/io.h | 4 ++-
arch/loongarch/include/asm/loongarch.h | 6 ++--
arch/loongarch/include/asm/module.lds.h | 8 ++---
arch/loongarch/include/uapi/asm/ptrace.h | 3 +-
arch/loongarch/kernel/cpu-probe.c | 9 +++--
arch/loongarch/kernel/proc.c | 1 +
arch/loongarch/kernel/ptrace.c | 25 +++++++++-----
arch/loongarch/kernel/setup.c | 25 ++++++++++++--
arch/loongarch/kernel/stacktrace.c | 2 +-
arch/loongarch/kernel/unwind.c | 1 +
arch/loongarch/kernel/unwind_prologue.c | 4 ++-
arch/loongarch/mm/init.c | 4 +--
arch/loongarch/power/suspend_asm.S | 4 +++
.../arch/loongarch/include/uapi/asm/bitsperlong.h | 2 +-
22 files changed, 121 insertions(+), 49 deletions(-)