Linux-arch 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.9
Date: Fri, 22 Mar 2024 21:56:19 +0800	[thread overview]
Message-ID: <20240322135619.1423490-1-chenhuacai@loongson.cn> (raw)

The following changes since commit e8f897f4afef0031fe618a8e94127a0934896aba:

  Linux 6.8 (2024-03-10 13:38:09 -0700)

are available in the Git repository at:

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

for you to fetch changes up to fea1c949f6ca5059e12de00d0483645debc5b206:

  LoongArch/crypto: Clean up useless assignment operations (2024-03-19 15:50:34 +0800)

----------------------------------------------------------------
LoongArch changes for v6.9

1, Add objtool support for LoongArch;
2, Add ORC stack unwinder support for LoongArch;
3, Add kernel livepatching support for LoongArch;
4, Select ARCH_HAS_CURRENT_STACK_POINTER in Kconfig;
5, Select HAVE_ARCH_USERFAULTFD_MINOR in Kconfig;
6, Some bug fixes and other small changes.

Note: There are conflicts in arch/loongarch/Kconfig and arch/loongarch/
Makefile but can be simply fixed by adjusting context.

----------------------------------------------------------------
Huacai Chen (5):
      LoongArch: Select ARCH_HAS_CURRENT_STACK_POINTER in Kconfig
      LoongArch: Select HAVE_ARCH_USERFAULTFD_MINOR in Kconfig
      LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
      LoongArch: Remove superfluous flush_dcache_page() definition
      LoongArch: Define the __io_aw() hook as mmiowb()

Jinyang He (1):
      LoongArch: Add kernel livepatching support

Max Kellermann (1):
      LoongArch: Move {dmw,tlb}_virt_to_page() definition to page.h

Tiezhu Yang (7):
      objtool/LoongArch: Enable objtool to be built
      objtool/LoongArch: Implement instruction decoder
      objtool/x86: Separate arch-specific and generic parts
      objtool/LoongArch: Enable orc to be built
      objtool: Check local label in add_dead_ends()
      objtool: Check local label in read_unwind_hints()
      LoongArch: Add ORC stack unwinder support

Yuli Wang (1):
      LoongArch/crypto: Clean up useless assignment operations

 arch/loongarch/Kconfig                             |   8 +
 arch/loongarch/Kconfig.debug                       |  11 +
 arch/loongarch/Makefile                            |  23 +-
 arch/loongarch/crypto/crc32-loongarch.c            |   2 -
 arch/loongarch/include/asm/Kbuild                  |   3 +
 arch/loongarch/include/asm/bug.h                   |   1 +
 arch/loongarch/include/asm/cacheflush.h            |   3 -
 arch/loongarch/include/asm/exception.h             |   2 +
 arch/loongarch/include/asm/io.h                    |   2 +
 arch/loongarch/include/asm/module.h                |   7 +
 arch/loongarch/include/asm/orc_header.h            |  18 +
 arch/loongarch/include/asm/orc_lookup.h            |  31 ++
 arch/loongarch/include/asm/orc_types.h             |  58 +++
 arch/loongarch/include/asm/page.h                  |   3 +
 arch/loongarch/include/asm/percpu.h                |   7 +-
 arch/loongarch/include/asm/pgtable.h               |   3 -
 arch/loongarch/include/asm/qspinlock.h             |  18 -
 arch/loongarch/include/asm/stackframe.h            |   3 +
 arch/loongarch/include/asm/thread_info.h           |   2 +
 arch/loongarch/include/asm/unwind.h                |  20 +-
 arch/loongarch/include/asm/unwind_hints.h          |  28 ++
 arch/loongarch/kernel/Makefile                     |   4 +
 arch/loongarch/kernel/entry.S                      |   5 +
 arch/loongarch/kernel/fpu.S                        |   7 +
 arch/loongarch/kernel/genex.S                      |   6 +
 arch/loongarch/kernel/lbt.S                        |   3 +
 arch/loongarch/kernel/mcount_dyn.S                 |   6 +
 arch/loongarch/kernel/module.c                     |  22 +-
 arch/loongarch/kernel/relocate_kernel.S            |   7 +-
 arch/loongarch/kernel/rethook_trampoline.S         |   1 +
 arch/loongarch/kernel/setup.c                      |   2 +
 arch/loongarch/kernel/stacktrace.c                 |  41 ++
 arch/loongarch/kernel/traps.c                      |  42 +-
 arch/loongarch/kernel/unwind_orc.c                 | 528 +++++++++++++++++++++
 arch/loongarch/kernel/vmlinux.lds.S                |   3 +
 arch/loongarch/kvm/switch.S                        |   9 +-
 arch/loongarch/lib/clear_user.S                    |   3 +
 arch/loongarch/lib/copy_user.S                     |   3 +
 arch/loongarch/lib/memcpy.S                        |   3 +
 arch/loongarch/lib/memset.S                        |   3 +
 arch/loongarch/mm/tlb.c                            |  27 +-
 arch/loongarch/mm/tlbex.S                          |   9 +
 arch/loongarch/vdso/Makefile                       |   1 +
 include/linux/compiler.h                           |   9 +
 scripts/Makefile                                   |   7 +-
 tools/arch/loongarch/include/asm/inst.h            | 161 +++++++
 tools/arch/loongarch/include/asm/orc_types.h       |  58 +++
 tools/include/linux/bitops.h                       |  11 +
 tools/objtool/Makefile                             |   4 +
 tools/objtool/arch/loongarch/Build                 |   3 +
 tools/objtool/arch/loongarch/decode.c              | 356 ++++++++++++++
 .../objtool/arch/loongarch/include/arch/cfi_regs.h |  22 +
 tools/objtool/arch/loongarch/include/arch/elf.h    |  30 ++
 .../objtool/arch/loongarch/include/arch/special.h  |  33 ++
 tools/objtool/arch/loongarch/orc.c                 | 171 +++++++
 tools/objtool/arch/loongarch/special.c             |  15 +
 tools/objtool/arch/x86/Build                       |   1 +
 tools/objtool/arch/x86/orc.c                       | 188 ++++++++
 tools/objtool/check.c                              |  52 +-
 tools/objtool/include/objtool/elf.h                |   1 +
 tools/objtool/include/objtool/orc.h                |  14 +
 tools/objtool/orc_dump.c                           |  69 +--
 tools/objtool/orc_gen.c                            | 113 +----
 63 files changed, 2040 insertions(+), 266 deletions(-)
 create mode 100644 arch/loongarch/include/asm/orc_header.h
 create mode 100644 arch/loongarch/include/asm/orc_lookup.h
 create mode 100644 arch/loongarch/include/asm/orc_types.h
 delete mode 100644 arch/loongarch/include/asm/qspinlock.h
 create mode 100644 arch/loongarch/include/asm/unwind_hints.h
 create mode 100644 arch/loongarch/kernel/unwind_orc.c
 create mode 100644 tools/arch/loongarch/include/asm/inst.h
 create mode 100644 tools/arch/loongarch/include/asm/orc_types.h
 create mode 100644 tools/objtool/arch/loongarch/Build
 create mode 100644 tools/objtool/arch/loongarch/decode.c
 create mode 100644 tools/objtool/arch/loongarch/include/arch/cfi_regs.h
 create mode 100644 tools/objtool/arch/loongarch/include/arch/elf.h
 create mode 100644 tools/objtool/arch/loongarch/include/arch/special.h
 create mode 100644 tools/objtool/arch/loongarch/orc.c
 create mode 100644 tools/objtool/arch/loongarch/special.c
 create mode 100644 tools/objtool/arch/x86/orc.c
 create mode 100644 tools/objtool/include/objtool/orc.h

             reply	other threads:[~2024-03-22 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 13:56 Huacai Chen [this message]
2024-03-22 17:58 ` [GIT PULL] LoongArch changes for v6.9 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=20240322135619.1423490-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 read-only IMAP folder(s) and NNTP newsgroup(s).