[GIT PULL] LoongArch fixes for v6.0-rc3
From: Huacai Chen
Date: Thu Aug 25 2022 - 09:11:00 EST
The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:
Linux 6.0-rc2 (2022-08-21 17:32:54 -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.0-1
for you to fetch changes up to b83699ea1e62951857c2d8648bd93a4744899eb7:
LoongArch: mm: Avoid unnecessary page fault retires on shared memory types (2022-08-25 19:34:59 +0800)
----------------------------------------------------------------
LoongArch fixes for v6.0-rc3
Fix a bunch of build errors/warnings, a poweroff error and an unbalanced
locking in do_page_fault().
----------------------------------------------------------------
Huacai Chen (6):
LoongArch: Select PCI_QUIRKS to avoid build error
LoongArch: Fix build warnings in VDSO
LoongArch: Cleanup reset routines with new API
LoongArch: Cleanup headers to avoid circular dependency
LoongArch: Add subword xchg/cmpxchg emulation
LoongArch: mm: Avoid unnecessary page fault retires on shared memory types
arch/loongarch/Kconfig | 1 +
arch/loongarch/include/asm/addrspace.h | 16 ++++++
arch/loongarch/include/asm/cmpxchg.h | 98 +++++++++++++++++++++++++++++++++-
arch/loongarch/include/asm/io.h | 19 -------
arch/loongarch/include/asm/page.h | 2 +-
arch/loongarch/include/asm/percpu.h | 8 +++
arch/loongarch/include/asm/pgtable.h | 7 ++-
arch/loongarch/include/asm/reboot.h | 10 ----
arch/loongarch/kernel/reset.c | 69 ++++++++----------------
arch/loongarch/mm/fault.c | 4 ++
arch/loongarch/mm/mmap.c | 11 +---
arch/loongarch/vdso/vgetcpu.c | 2 +
arch/loongarch/vdso/vgettimeofday.c | 15 +++---
13 files changed, 164 insertions(+), 98 deletions(-)
delete mode 100644 arch/loongarch/include/asm/reboot.h