aboutsummaryrefslogtreecommitdiffstats
path: root/arch/loongarch
AgeCommit message (Expand)AuthorFilesLines
2023-10-02LoongArch: KVM: Implement handle mmio exceptionTianrui Zhao1-0/+310
2023-10-02LoongArch: KVM: Implement handle gspr exceptionTianrui Zhao1-0/+107
2023-10-02LoongArch: KVM: Implement handle idle exceptionTianrui Zhao1-0/+20
2023-10-02LoongArch: KVM: Implement handle iocsr exceptionTianrui Zhao2-0/+107
2023-10-02LoongArch: KVM: Implement handle csr exceptionTianrui Zhao1-0/+105
2023-10-02LoongArch: KVM: Implement kvm mmu operationsTianrui Zhao2-0/+1053
2023-10-02LoongArch: KVM: Implement virtual machine tlb operationsTianrui Zhao1-0/+32
2023-10-02LoongArch: KVM: Implement vcpu timer operationsTianrui Zhao1-0/+197
2023-10-02LoongArch: KVM: Implement misc vcpu related interfacesTianrui Zhao1-0/+120
2023-10-02LoongArch: KVM: Implement vcpu load and vcpu put operationsTianrui Zhao1-0/+203
2023-10-02LoongArch: KVM: Implement vcpu interrupt operationsTianrui Zhao2-0/+221
2023-10-02LoongArch: KVM: Implement fpu operations for vcpuTianrui Zhao1-0/+56
2023-10-02LoongArch: KVM: Implement basic vcpu ioctl interfacesTianrui Zhao1-0/+261
2023-10-02LoongArch: KVM: Implement basic vcpu interfacesTianrui Zhao1-0/+261
2023-10-02LoongArch: KVM: Add vcpu related header filesTianrui Zhao4-5/+480
2023-10-02LoongArch: KVM: Implement VM related functionsTianrui Zhao1-0/+94
2023-10-02LoongArch: KVM: Implement kvm hardware enable, disable interfaceTianrui Zhao1-0/+62
2023-10-02LoongArch: KVM: Implement kvm module related interfaceTianrui Zhao1-0/+358
2023-10-02LoongArch: KVM: Add kvm related header filesTianrui Zhao3-0/+356
2023-09-27LoongArch: Add support for 64_PCREL relocation typeTiezhu Yang1-0/+10
2023-09-27LoongArch: Add support for 32_PCREL relocation typeTiezhu Yang1-0/+10
2023-09-27LoongArch: Define relocation types for ABI v2.10Tiezhu Yang2-1/+10
2023-09-27LoongArch: numa: Fix high_memory calculationHuacai Chen1-1/+1
2023-09-20LoongArch: Don't inline kasan_mem_to_shadow()/kasan_shadow_to_mem()Huacai Chen2-53/+57
2023-09-20kasan: Cleanup the __HAVE_ARCH_SHADOW_MAP usageHuacai Chen1-2/+8
2023-09-20LoongArch: Set all reserved memblocks on Node#0 at initializationHuacai Chen1-1/+3
2023-09-20LoongArch: Remove dead code in relocate_new_kernelTiezhu Yang1-1/+0
2023-09-20LoongArch: Use _UL() and _ULL()Andy Shevchenko1-6/+6
2023-09-20LoongArch: Fix some build warnings with W=1Bibo Mao16-39/+72
2023-09-20LoongArch: Fix lockdep static memory detectionHelge Deller1-27/+28
2023-09-08Merge tag 'loongarch-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds59-449/+2825
2023-09-07LoongArch: Update Loongson-3 default config fileHuacai Chen1-4/+70
2023-09-06LoongArch: Add KASAN (Kernel Address Sanitizer) supportQing Zhang14-9/+451
2023-09-06LoongArch: Simplify the processing of jumping new kernel for KASLRQing Zhang3-12/+9
2023-09-06LoongArch: Add KFENCE (Kernel Electric-Fence) supportEnze Li4-9/+86
2023-09-06LoongArch: Get partial stack information when providing regs parameterEnze Li1-8/+10
2023-09-06LoongArch: mm: Add page table mapped mode support for virt_to_page()Enze Li3-1/+21
2023-09-06LoongArch: Allow building with kcov coverageFeiyang Chen2-0/+4
2023-09-06LoongArch: Provide kaslr_offset() to get kernel offsetFeiyang Chen1-0/+6
2023-09-06LoongArch: Add basic KGDB & KDB supportQing Zhang7-0/+844
2023-09-06LoongArch: Add Loongson Binary Translation (LBT) extension supportQi Hu19-31/+693
2023-09-06LoongArch: Add SIMD-optimized XOR routinesWANG Xuerui7-0/+417
2023-09-06LoongArch: Allow usage of LSX/LASX in the kernelHuacai Chen1-4/+51
2023-09-06LoongArch: Define symbol 'fault' as a local label in fpu.STiezhu Yang1-3/+2
2023-09-06LoongArch: Adjust {copy, clear}_user exception handler behaviorWeihao Li2-121/+127
2023-09-06LoongArch: Use static defined zero page rather than allocatedBibo Mao4-35/+3
2023-09-06LoongArch: mm: Introduce unified function populate_kernel_pte()Bibo Mao3-57/+23
2023-09-06LoongArch: Code improvements in function pcpu_populate_pte()Bibo Mao1-13/+15
2023-09-06LoongArch: Remove shm_align_mask and use SHMLBA insteadHuacai Chen2-8/+6
2023-09-06LoongArch: mm: Add p?d_leaf() definitionsHongchen Zhang1-0/+3
2023-09-06LoongArch: Drop unused parse_r and parse_v macrosNathan Chancellor2-150/+0
2023-09-01Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+1
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2023-08-30Merge tag 'drm-next-2023-08-30' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-0/+1
2023-08-29Merge tag 'mm-nonmm-stable-2023-08-28-22-48' of git://git.kernel.org/pub/scm/...Linus Torvalds3-22/+10
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds8-38/+42
2023-08-28Merge tag 'perf-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2023-08-26LoongArch: Fix hw_breakpoint_control() for watchpointsHuacai Chen1-2/+1
2023-08-26LoongArch: Ensure FP/SIMD registers in the core dump file is up to dateHuacai Chen2-4/+22
2023-08-25LoongArch: Put the body of play_dead() into arch_cpu_idle_dead()Tiezhu Yang3-10/+1
2023-08-25LoongArch: Add identifier names to arguments of die() declarationTiezhu Yang1-1/+1
2023-08-25LoongArch: Return earlier in die() if notify_die() returns NOTIFY_STOPTiezhu Yang1-2/+4
2023-08-25LoongArch: Do not kill the task in die() if notify_die() returns NOTIFY_STOPTiezhu Yang2-7/+7
2023-08-25LoongArch: Remove <asm/export.h>Masahiro Yamada1-1/+0
2023-08-25LoongArch: Replace #include <asm/export.h> with #include <linux/export.h>Masahiro Yamada8-8/+8
2023-08-25LoongArch: Remove unneeded #include <asm/export.h>Masahiro Yamada3-3/+0
2023-08-25LoongArch: Replace -ffreestanding with finer-grained -fno-builtin'sWANG Xuerui1-1/+1
2023-08-25LoongArch: Remove redundant "source drivers/firmware/Kconfig"Xi Ruoyao1-2/+0
2023-08-24mm: rationalise flush_icache_pages() and flush_icache_page()Matthew Wilcox (Oracle)1-2/+0
2023-08-24loongarch: implement the new page table range APIMatthew Wilcox (Oracle)5-19/+23
2023-08-24BackMerge tag 'v6.5-rc7' into drm-nextDave Airlie8-16/+30
2023-08-21loongarch: convert various functions to use ptdescsVishal Moola (Oracle)2-15/+19
2023-08-18nmi_backtrace: allow excluding an arbitrary CPUDouglas Anderson2-3/+3
2023-08-18loongarch/kexec: refactor for kernel/Kconfig.kexecEric DeVolder1-19/+7
2023-08-18mm/vmemmap optimization: split hugetlb and devdax vmemmap optimizationAneesh Kumar K.V1-1/+1
2023-08-18asm-generic/iomap.h: remove ARCH_HAS_IOREMAP_xx macrosBaoquan He1-2/+0
2023-07-31Merge 6.5-rc4 into tty-nextGreg Kroah-Hartman8-16/+30
2023-07-29arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FSSven Joachim1-1/+1
2023-07-28LoongArch: Cleanup __builtin_constant_p() checking for cpu_has_*Huacai Chen1-11/+4
2023-07-28LoongArch: BPF: Fix check condition to call lu32id in move_imm()Tiezhu Yang1-1/+1
2023-07-28LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArchChenguang Zhao1-0/+1
2023-07-28LoongArch: Fix return value underflow in exception pathWANG Rui2-2/+4
2023-07-28LoongArch: Fix CMDLINE_EXTEND and CMDLINE_BOOTLOADER handlingZhihong Dong1-0/+16
2023-07-28LoongArch: Fix module relocation error with binutils 2.41Huacai Chen1-0/+2
2023-07-28LoongArch: Only fiddle with CHECKFLAGS if `need-compiler'Huacai Chen1-1/+1
2023-07-25tty: sysrq: switch sysrq handlers from int to u8Jiri Slaby1-1/+1
2023-07-17Merge tag 'drm-misc-next-2023-07-13' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-0/+1
2023-07-11mm: Rename arch pte_mkwrite()'s to pte_mkwrite_novma()Rick Edgecombe1-2/+2
2023-07-10locking/arch: Avoid variable shadowing in local_try_cmpxchg()Uros Bizjak1-2/+2
2023-07-08efi: Do not include <linux/screen_info.h> from EFI headerThomas Zimmermann1-0/+1
2023-07-06Merge tag 'asm-generic-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+0
2023-06-30Merge tag 'trace-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds5-14/+53
2023-06-30Merge tag 'loongarch-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds59-365/+2374
2023-06-29Merge tag 'drm-next-2023-06-29' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-8/+16
2023-06-29LoongArch: Remove five DIE_* definitions in kdebug.hTiezhu Yang1-5/+0
2023-06-29LoongArch: Add uprobes supportTiezhu Yang5-5/+197
2023-06-29LoongArch: Use larch_insn_gen_break() for kprobesTiezhu Yang2-20/+15
2023-06-29LoongArch: Add larch_insn_gen_break() to generate break insnsTiezhu Yang2-0/+26
2023-06-29LoongArch: Check for AMO instructions in insns_not_supported()Tiezhu Yang2-0/+32
2023-06-29LoongArch: Move three functions from kprobes.c to inst.cTiezhu Yang3-44/+45
2023-06-29LoongArch: Replace kretprobe with rethookHaoran Jiang7-28/+44
2023-06-29LoongArch: Add jump-label implementationYouling Tang4-0/+76
2023-06-29LoongArch: Select HAVE_DEBUG_KMEMLEAK to support kmemleakTiezhu Yang1-0/+1
2023-06-29LoongArch: Export some arch-specific pm interfacesYinbo Zhu3-6/+16
2023-06-29LoongArch: Introduce hardware page table walkerHuacai Chen10-7/+56
2023-06-29LoongArch: Support dbar with different hintsHuacai Chen6-81/+78
2023-06-29LoongArch: Add SMT (Simultaneous Multi-Threading) supportHuacai Chen6-14/+61
2023-06-29LoongArch: Add vector extensions supportHuacai Chen11-23/+1452
2023-06-29LoongArch: Add support to clone a time namespaceTiezhu Yang7-24/+121
2023-06-29LoongArch: Mark Clang LTO as workingWANG Xuerui1-0/+2
2023-06-29LoongArch: Include KBUILD_CPPFLAGS in CHECKFLAGS invocationWANG Xuerui1-1/+1
2023-06-29LoongArch: vDSO: Use CLANG_FLAGS instead of filtering out '--target='WANG Xuerui1-4/+1
2023-06-29LoongArch: Tweak CFLAGS for Clang compatibilityWANG Xuerui3-10/+19
2023-06-29LoongArch: Simplify the invtlb wrappersWANG Xuerui1-24/+19
2023-06-29LoongArch: Make the CPUCFG&CSR ops simple aliases of compiler built-insWANG Xuerui3-56/+15
2023-06-29LoongArch: Prepare for assemblers with proper FCSR class supportWANG Xuerui3-1/+18
2023-06-29LoongArch: extable: Also recognize ABI names of registersWANG Rui1-0/+30
2023-06-29LoongArch: Calculate various sizes in the linker scriptWANG Rui3-7/+16
2023-06-29LoongArch: Add guard for the larch_insn_gen_xxx functionsWANG Rui3-5/+34
2023-06-29LoongArch: Delete unnecessary debugfs checkingDan Carpenter1-2/+0
2023-06-29LoongArch: Set CPU#0 as the io master for FDTHuacai Chen1-0/+1
2023-06-28Merge branch 'expand-stack'Linus Torvalds2-10/+7
2023-06-27Merge tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-56/+0
2023-06-27Merge tag 'sched-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-4/+4
2023-06-26Merge tag 'x86-boot-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux/ke...Linus Torvalds3-17/+3
2023-06-24mm/fault: convert remaining simple cases to lock_mm_and_find_vma()Linus Torvalds2-10/+7
2023-06-22asm-generic: Unify uapi bitsperlong.h for arm64, riscv and loongarchTiezhu Yang1-9/+0
2023-06-20LoongArch: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVALDonglin Peng5-14/+53
2023-06-19Backmerge tag 'v6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tor...Dave Airlie6-6/+11
2023-06-16loongarch/cpu: Switch to arch_cpu_finalize_init()Thomas Gleixner3-17/+3
2023-06-15LoongArch: Fix debugfs_create_dir() error checkingImmad Mir1-1/+1
2023-06-15LoongArch: Avoid uninitialized alignment_maskQing Zhang1-0/+2
2023-06-15LoongArch: Fix perf event id calculationHuacai Chen1-3/+3
2023-06-15LoongArch: Fix the write_fcsr() macroQi Hu1-1/+1
2023-06-15LoongArch: Let pmd_present() return true when splitting pmdHongchen Zhang2-1/+4
2023-06-05loongarch: Provide noinstr sched_clock_read()Peter Zijlstra2-4/+4
2023-06-05locking/atomic: treewide: delete arch_atomic_*() kerneldocMark Rutland1-49/+0
2023-06-05locking/atomic: make atomic*_{cmp,}xchg optionalMark Rutland1-7/+0
2023-05-18fbdev: Rename fb_mem*() helpersThomas Zimmermann1-6/+6
2023-05-18fbdev: Move framebuffer I/O helpers into <asm/fb.h>Thomas Zimmermann1-0/+21
2023-05-09Merge drm/drm-next into drm-misc-nextMaxime Ripard53-366/+1813
2023-05-05Merge tag 'locking-core-2023-05-05' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-4/+13
2023-05-04Merge tag 'loongarch-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds28-295/+1666
2023-05-01LoongArch: ftrace: Add direct call trampoline samples supportYouling Tang1-0/+2
2023-05-01LoongArch: ftrace: Add direct call supportYouling Tang4-1/+33
2023-05-01LoongArch: ftrace: Implement ftrace_find_callable_addr() to simplify codeYouling Tang1-59/+57
2023-05-01LoongArch: ftrace: Fix build error if DYNAMIC_FTRACE_WITH_REGS is not setYouling Tang1-3/+1
2023-05-01LoongArch: ftrace: Abstract DYNAMIC_FTRACE_WITH_ARGS accessesQing Zhang1-0/+25
2023-05-01LoongArch: Add support for function error injectionTiezhu Yang4-0/+18
2023-05-01LoongArch: Add ARCH_HAS_FORTIFY_SOURCE selectionQing Zhang1-0/+1
2023-05-01LoongArch: crypto: Add crc32 and crc32c hw accelerationMin Zhou4-0/+326
2023-05-01LoongArch: Add checksum optimization for 64-bit systemBibo Mao3-1/+208
2023-05-01LoongArch: Optimize memory ops (memset/memcpy/memmove)WANG Rui5-167/+603
2023-05-01LoongArch: Provide kernel fpu functionsHuacai Chen3-1/+47
2023-05-01LoongArch: Relay BCE exceptions to userland as SIGSEGV with si_code=SEGV_BNDERRWANG Xuerui3-0/+119
2023-05-01LoongArch: Tweak the BADV and CPUCFG.PRID lines in show_regs()WANG Xuerui1-3/+3
2023-05-01LoongArch: Humanize the ESTAT line when showing registersWANG Xuerui1-7/+75
2023-05-01LoongArch: Humanize the ECFG line when showing registersWANG Xuerui1-1/+14
2023-05-01LoongArch: Humanize the EUEN line when showing registersWANG Xuerui1-1/+11
2023-05-01LoongArch: Humanize the PRMD line when showing registersWANG Xuerui1-1/+10
2023-05-01LoongArch: Humanize the CRMD line when showing registersWANG Xuerui1-1/+50
2023-05-01LoongArch: Fix format of CSR lines during show_regs()WANG Xuerui1-10/+6
2023-05-01LoongArch: Print symbol info for $ra and CSR.ERA only for kernel-mode contextsWANG Xuerui1-5/+8
2023-05-01LoongArch: Print GPRs with ABI names when showing registersWANG Xuerui1-13/+23
2023-05-01LoongArch: Define regular names for BCE/WATCH/HVC/GSPR exceptionsWANG Xuerui1-4/+6
2023-05-01LoongArch: Clean up the architectural interrupt definitionsWANG Xuerui5-26/+29
2023-04-29locking/arch: Wire up local_try_cmpxchg()Uros Bizjak1-2/+11
2023-04-29locking/arch: Rename all internal __xchg() names to __arch_xchg()Andrzej Hajda1-2/+2
2023-04-28Merge tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2023-04-28Merge tag 'objtool-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-3/+3
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+4
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-1/+6
2023-04-25Merge tag 'asm-generic-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2023-04-25Merge tag 'timers-core-2023-04-24' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+1
2023-04-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski19-48/+113
2023-04-20arch/loongarch: Implement <asm/fb.h> with generic helpersThomas Zimmermann1-14/+1
2023-04-19LoongArch: Replace hard-coded values in comments with VALENEnze Li1-2/+2
2023-04-19LoongArch: Clean up plat_swiotlb_setup() related codeTiezhu Yang2-3/+2
2023-04-19LoongArch: Check unwind_error() in arch_stack_walk()Tiezhu Yang3-2/+5
2023-04-19LoongArch: Adjust user_regset_copyin parameter to the correct offsetQing Zhang1-5/+5
2023-04-19LoongArch: Adjust user_watch_state for explicit alignmentQing Zhang2-5/+13
2023-04-18mm/hugetlb_vmemmap: rename ARCH_WANT_HUGETLB_PAGE_OPTIMIZE_VMEMMAPAneesh Kumar K.V1-1/+1
2023-04-18LoongArch: module: set section addresses to 0x0Huacai Chen1-4/+4
2023-04-18LoongArch: Mark 3 symbol exports as non-GPLHuacai Chen2-3/+3
2023-04-18LoongArch: Enable PG when wakeup from suspendHuacai Chen1-0/+4
2023-04-18LoongArch: Fix _CONST64_(x) as unsignedQing Zhang1-2/+2
2023-04-18LoongArch: Fix build error if CONFIG_SUSPEND is not setHuacai Chen1-0/+3
2023-04-18LoongArch: Fix probing of the CRC32 featureHuacai Chen5-21/+30
2023-04-18LoongArch: Make WriteCombine configurable for ioremap()Huacai Chen3-1/+40
2023-04-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2023-04-05loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDERMike Rapoport (IBM)1-3/+0
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-9/+6
2023-04-05Kconfig: introduce HAS_IOPORT option and select it as necessaryNiklas Schnelle1-0/+1
2023-03-28LoongArch, bpf: Fix jit to skip speculation barrier opcodeGeorge Guo1-0/+4
2023-03-24treewide: Trace IPIs sent via smp_send_reschedule()Valentin Schneider1-2/+2
2023-03-21vdso: Improve cmd_vdso_check to check all dynamic relocationsFangrui Song1-3/+1
2023-03-19ixgb: Remove ixgb driverTony Nguyen1-1/+0
2023-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski40-129/+2623
2023-03-08sched/idle: Mark arch_cpu_idle_dead() __noreturnJosh Poimboeuf1-1/+1
2023-03-06Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+6