linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Huacai Chen <chenhuacai@loongson.cn>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Huacai Chen <chenhuacai@kernel.org>
Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org,
	linux-kernel@vger.kernel.org, Guo Ren <guoren@kernel.org>,
	Xuerui Wang <kernel@xen0n.name>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Huacai Chen <chenhuacai@loongson.cn>
Subject: [GIT PULL] LoongArch changes for v6.6
Date: Fri,  8 Sep 2023 19:10:53 +0800	[thread overview]
Message-ID: <20230908111053.1660033-1-chenhuacai@loongson.cn> (raw)

The following changes since commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c:

  Linux 6.5 (2023-08-27 14:49:51 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-6.6

for you to fetch changes up to 671eae93ae2090d2df01d810d354cab05f6bed8b:

  LoongArch: Update Loongson-3 default config file (2023-09-07 12:06:20 +0800)

----------------------------------------------------------------
LoongArch changes for v6.6

1, Allow usage of LSX/LASX in the kernel;
2, Add SIMD-optimized RAID5/RAID6 routines;
3, Add Loongson Binary Translation (LBT) extension support;
4, Add basic KGDB & KDB support;
5, Add building with kcov coverage;
6, Add KFENCE (Kernel Electric-Fence) support;
7, Add KASAN (Kernel Address Sanitizer) support;
8, Some bug fixes and other small changes;
9, Update the default config file.

Note: There is a conflicts in arch/loongarch/mm/pgtable.c but can be
simply fixed by adjusting context.

----------------------------------------------------------------
Bibo Mao (3):
      LoongArch: Code improvements in function pcpu_populate_pte()
      LoongArch: mm: Introduce unified function populate_kernel_pte()
      LoongArch: Use static defined zero page rather than allocated

Enze Li (4):
      kfence: Defer the assignment of the local variable addr
      LoongArch: mm: Add page table mapped mode support for virt_to_page()
      LoongArch: Get partial stack information when providing regs parameter
      LoongArch: Add KFENCE (Kernel Electric-Fence) support

Feiyang Chen (2):
      LoongArch: Provide kaslr_offset() to get kernel offset
      LoongArch: Allow building with kcov coverage

Hongchen Zhang (1):
      LoongArch: mm: Add p?d_leaf() definitions

Huacai Chen (4):
      Merge tag 'md-next-20230814-resend' into loongarch-next
      LoongArch: Remove shm_align_mask and use SHMLBA instead
      LoongArch: Allow usage of LSX/LASX in the kernel
      LoongArch: Update Loongson-3 default config file

Nathan Chancellor (1):
      LoongArch: Drop unused parse_r and parse_v macros

Qi Hu (1):
      LoongArch: Add Loongson Binary Translation (LBT) extension support

Qing Zhang (5):
      LoongArch: Add basic KGDB & KDB support
      kasan: Add __HAVE_ARCH_SHADOW_MAP to support arch specific mapping
      kasan: Add (pmd|pud)_init for LoongArch zero_(pud|p4d)_populate process
      LoongArch: Simplify the processing of jumping new kernel for KASLR
      LoongArch: Add KASAN (Kernel Address Sanitizer) support

Tiezhu Yang (1):
      LoongArch: Define symbol 'fault' as a local label in fpu.S

WANG Xuerui (3):
      LoongArch: Add SIMD-optimized XOR routines
      raid6: Add LoongArch SIMD syndrome calculation
      raid6: Add LoongArch SIMD recovery implementation

Weihao Li (1):
      LoongArch: Adjust {copy, clear}_user exception handler behavior

 Documentation/dev-tools/kasan.rst                  |   4 +-
 .../features/debug/KASAN/arch-support.txt          |   2 +-
 Documentation/features/debug/kcov/arch-support.txt |   2 +-
 Documentation/features/debug/kgdb/arch-support.txt |   2 +-
 .../translations/zh_CN/dev-tools/kasan.rst         |   2 +-
 arch/loongarch/Kconfig                             |  26 +
 arch/loongarch/Makefile                            |   3 +
 arch/loongarch/configs/loongson3_defconfig         |  74 ++-
 arch/loongarch/include/asm/asm-prototypes.h        |   1 +
 arch/loongarch/include/asm/asmmacro.h              | 158 ++---
 arch/loongarch/include/asm/kasan.h                 | 126 ++++
 arch/loongarch/include/asm/kfence.h                |  61 ++
 arch/loongarch/include/asm/kgdb.h                  |  97 +++
 arch/loongarch/include/asm/lbt.h                   | 109 +++
 arch/loongarch/include/asm/loongarch.h             |  47 +-
 arch/loongarch/include/asm/mmzone.h                |   2 -
 arch/loongarch/include/asm/page.h                  |   7 +-
 arch/loongarch/include/asm/pgalloc.h               |   1 +
 arch/loongarch/include/asm/pgtable.h               |  31 +-
 arch/loongarch/include/asm/processor.h             |  26 +-
 arch/loongarch/include/asm/setup.h                 |   8 +-
 arch/loongarch/include/asm/stackframe.h            |   4 +
 arch/loongarch/include/asm/string.h                |  20 +
 arch/loongarch/include/asm/switch_to.h             |   2 +
 arch/loongarch/include/asm/thread_info.h           |   4 +
 arch/loongarch/include/asm/xor.h                   |  68 ++
 arch/loongarch/include/asm/xor_simd.h              |  34 +
 arch/loongarch/include/uapi/asm/ptrace.h           |   6 +
 arch/loongarch/include/uapi/asm/sigcontext.h       |  10 +
 arch/loongarch/kernel/Makefile                     |   9 +
 arch/loongarch/kernel/asm-offsets.c                |  18 +-
 arch/loongarch/kernel/cpu-probe.c                  |  14 +
 arch/loongarch/kernel/entry.S                      |   5 +
 arch/loongarch/kernel/fpu.S                        |  14 +-
 arch/loongarch/kernel/head.S                       |  13 +-
 arch/loongarch/kernel/kfpu.c                       |  55 +-
 arch/loongarch/kernel/kgdb.c                       | 727 +++++++++++++++++++++
 arch/loongarch/kernel/lbt.S                        | 155 +++++
 arch/loongarch/kernel/numa.c                       |  35 +-
 arch/loongarch/kernel/process.c                    |  15 +-
 arch/loongarch/kernel/ptrace.c                     |  54 ++
 arch/loongarch/kernel/relocate.c                   |   8 +-
 arch/loongarch/kernel/setup.c                      |   4 +
 arch/loongarch/kernel/signal.c                     | 188 ++++++
 arch/loongarch/kernel/stacktrace.c                 |  18 +-
 arch/loongarch/kernel/traps.c                      |  50 +-
 arch/loongarch/lib/Makefile                        |   2 +
 arch/loongarch/lib/clear_user.S                    |  87 +--
 arch/loongarch/lib/copy_user.S                     | 161 ++---
 arch/loongarch/lib/memcpy.S                        |   8 +-
 arch/loongarch/lib/memmove.S                       |  20 +-
 arch/loongarch/lib/memset.S                        |   8 +-
 arch/loongarch/lib/xor_simd.c                      |  93 +++
 arch/loongarch/lib/xor_simd.h                      |  38 ++
 arch/loongarch/lib/xor_simd_glue.c                 |  72 ++
 arch/loongarch/lib/xor_template.c                  | 110 ++++
 arch/loongarch/mm/Makefile                         |   3 +
 arch/loongarch/mm/cache.c                          |   1 -
 arch/loongarch/mm/fault.c                          |  22 +-
 arch/loongarch/mm/init.c                           |  71 +-
 arch/loongarch/mm/kasan_init.c                     | 243 +++++++
 arch/loongarch/mm/mmap.c                           |  13 +-
 arch/loongarch/mm/pgtable.c                        |  12 +
 arch/loongarch/vdso/Makefile                       |   3 +
 include/linux/kasan.h                              |   2 +
 include/linux/raid/pq.h                            |   4 +
 lib/raid6/Makefile                                 |   1 +
 lib/raid6/algos.c                                  |  16 +
 lib/raid6/loongarch.h                              |  38 ++
 lib/raid6/loongarch_simd.c                         | 422 ++++++++++++
 lib/raid6/recov_loongarch_simd.c                   | 513 +++++++++++++++
 lib/raid6/test/Makefile                            |  12 +
 mm/kasan/init.c                                    |  18 +-
 mm/kasan/kasan.h                                   |   6 +
 mm/kfence/core.c                                   |   5 +-
 75 files changed, 3862 insertions(+), 461 deletions(-)
 create mode 100644 arch/loongarch/include/asm/kasan.h
 create mode 100644 arch/loongarch/include/asm/kfence.h
 create mode 100644 arch/loongarch/include/asm/kgdb.h
 create mode 100644 arch/loongarch/include/asm/lbt.h
 create mode 100644 arch/loongarch/include/asm/xor.h
 create mode 100644 arch/loongarch/include/asm/xor_simd.h
 create mode 100644 arch/loongarch/kernel/kgdb.c
 create mode 100644 arch/loongarch/kernel/lbt.S
 create mode 100644 arch/loongarch/lib/xor_simd.c
 create mode 100644 arch/loongarch/lib/xor_simd.h
 create mode 100644 arch/loongarch/lib/xor_simd_glue.c
 create mode 100644 arch/loongarch/lib/xor_template.c
 create mode 100644 arch/loongarch/mm/kasan_init.c
 create mode 100644 lib/raid6/loongarch.h
 create mode 100644 lib/raid6/loongarch_simd.c
 create mode 100644 lib/raid6/recov_loongarch_simd.c

             reply	other threads:[~2023-09-08 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 11:10 Huacai Chen [this message]
2023-09-08 19:48 ` [GIT PULL] LoongArch changes for v6.6 Linus Torvalds
2023-09-09  8:05   ` Huacai Chen
2023-09-08 20:00 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230908111053.1660033-1-chenhuacai@loongson.cn \
    --to=chenhuacai@loongson.cn \
    --cc=arnd@arndb.de \
    --cc=chenhuacai@kernel.org \
    --cc=guoren@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=kernel@xen0n.name \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).