aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/lib
AgeCommit message (Expand)AuthorFilesLines
2024-04-17s390/expoline: Make modules use kernel expolinesVasily Gorbik3-4/+1
2024-02-16s390/checksum: provide csum_partial_copy_nocheck()Heiko Carstens1-13/+41
2024-02-16s390/checksum: provide vector register variant of csum_partial()Heiko Carstens2-0/+64
2023-12-11s390/nmi: implement and use local_mcck_save() / local_mcck_restore()Heiko Carstens1-3/+3
2023-09-19s390/ctlreg: add struct ctlregHeiko Carstens1-4/+4
2023-09-19s390/ctlreg: use local_ctl_load() and local_ctl_store() where possibleHeiko Carstens1-3/+3
2023-09-19s390/ctlreg: add local and system prefix to some functionsHeiko Carstens1-2/+2
2023-09-19s390/ctlreg: rename ctl_reg.h to ctlreg.hHeiko Carstens1-1/+1
2023-09-19s390/ctlreg: move control register code to separate fileHeiko Carstens1-0/+1
2023-08-09s390: replace #include <asm/export.h> with #include <linux/export.h>Masahiro Yamada2-2/+2
2023-07-03s390: include linux/io.h instead of asm/io.hHeiko Carstens1-1/+1
2023-05-15s390: select ARCH_SUPPORTS_INT128Heiko Carstens2-1/+64
2023-04-19s390/lib: use SYM* macros instead of ENTRY(), etc.Heiko Carstens1-2/+2
2023-04-19s390/kasan: remove override of mem*() functionsHeiko Carstens1-9/+15
2023-04-04s390/uaccess: remove extra blank lineHeiko Carstens1-1/+0
2023-04-04s390/uaccess: get rid of not needed local variableHeiko Carstens1-15/+9
2023-04-04s390/uaccess: rename tmp1 and tmp2 variablesHeiko Carstens1-35/+35
2023-04-04s390/uaccess: sort EX_TABLE list for inline assembliesHeiko Carstens1-2/+2
2023-04-04s390/uaccess: rename/sort labels in inline assembliesHeiko Carstens1-21/+30
2023-04-04s390/uaccess: remove unused label in inline assembliesHeiko Carstens1-3/+3
2023-04-04s390/uaccess: use symbolic names for inline assembly operandsHeiko Carstens1-51/+54
2023-03-27s390/uaccess: add missing earlyclobber annotations to __clear_user()Heiko Carstens1-1/+1
2023-01-22s390/kprobes: replace kretprobe with rethookVasily Gorbik1-6/+6
2022-10-26s390/uaccess: add missing EX_TABLE entries to __clear_user()Heiko Carstens1-3/+3
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2022-10-03instrumented.h: allow instrumenting both sides of copy_from_user()Alexander Potapenko1-1/+2
2022-08-30s390/delay: sync comment within __delay() with realityHeiko Carstens1-7/+4
2022-07-13s390/nospec: build expoline.o for modules_prepare targetVasily Gorbik3-1/+5
2022-05-17s390/alternatives: provide identical sized orginal/alternative sequencesHeiko Carstens1-2/+2
2022-04-12s390: current_stack_pointer shouldn't be a functionSven Schnelle1-1/+1
2022-03-27s390/test_unwind: verify __kretprobe_trampoline is replacedVasily Gorbik1-1/+8
2022-03-27s390/test_unwind: extend kretprobe testVasily Gorbik1-16/+33
2022-03-27s390/alternatives: use insn format for new instructionsHeiko Carstens1-2/+2
2022-03-25Merge tag 's390-5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds5-249/+222
2022-03-24Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-18/+63
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-7/+14
2022-03-10s390/test_unwind: add kretprobe testsTobias Huschle1-0/+56
2022-03-10s390: convert ".insn" encoding to instruction namesVasily Gorbik1-6/+6
2022-03-10s390: raise minimum supported machine generation to z10Vasily Gorbik1-163/+7
2022-03-10s390/uaccess: Add copy_from/to_user_key functionsJanis Schoetterl-Glausch1-18/+63
2022-03-10s390/nospec: add an option to use thunk-externVasily Gorbik2-0/+13
2022-03-08s390/test_unwind: avoid build warning with W=1Vasily Gorbik1-5/+4
2022-03-08s390/extable: move EX_TABLE define to asm-extable.hHeiko Carstens1-0/+1
2022-03-01s390/test_unwind: fix and extend kprobes testVasily Gorbik1-33/+50
2022-03-01s390/test_unwind: add ftrace testVasily Gorbik1-0/+59
2022-03-01s390/test_unwind: add "backtrace" module parameterVasily Gorbik1-1/+5
2022-03-01s390/test_unwind: minor cleanupVasily Gorbik1-44/+28
2022-03-01s390/test_unwind: show tests as skipped if unsupportedVasily Gorbik1-6/+3
2022-03-01Merge branch 'fixes' into featuresVasily Gorbik2-3/+3
2022-02-14s390/uaccess: Add copy_from/to_user_key functionsJanis Schoetterl-Glausch1-18/+63
2022-02-11lib/xor: make xor prototypes more friendly to compiler vectorizationArd Biesheuvel1-7/+14
2022-02-06s390: remove invalid email address of Heiko CarstensHeiko Carstens1-1/+0
2022-02-06s390/module: fix building test_modules_helpers.o with clangIlya Leoshkevich2-3/+3
2022-01-24s390/module: test loading modules with a lot of relocationsIlya Leoshkevich4-0/+101
2022-01-17s390/uaccess: introduce bit field for OAC specifierNico Boehr1-6/+18
2021-11-25s390/test_unwind: use raw opcode instead of invalid instructionIlie Halip1-2/+3
2021-11-06Merge tag 's390-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds7-119/+229
2021-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+3
2021-10-26s390/spinlock: remove incorrect kernel doc indicatorHeiko Carstens1-1/+1
2021-10-26s390/string: use generic strlcpyHeiko Carstens1-26/+0
2021-10-26s390/string: use generic strrchrHeiko Carstens1-19/+0
2021-10-26Merge branch 'fixes' into featuresVasily Gorbik1-8/+7
2021-10-12s390: fix strrchr() implementationRoberto Sassu1-8/+7
2021-10-11s390/test_unwind: convert to KUnitMete Durlu1-73/+96
2021-10-04kprobes: add testcases for s390Sven Schnelle4-0/+132
2021-09-25lib/string: Move helper functions out of string.cKees Cook1-0/+3
2021-09-08arch: remove compat_alloc_user_spaceArnd Bergmann1-63/+0
2021-09-01Merge tag 'asm-generic-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-52/+0
2021-07-27s390: use generic strncpy/strnlen from_userHeiko Carstens1-52/+0
2021-07-27s390/delay: get rid of not needed header includesHeiko Carstens1-9/+2
2021-07-08s390/lib: use call_on_stack() macroHeiko Carstens1-2/+3
2021-07-05s390/lib,string: fix strcat() inline asm constraint modifierHeiko Carstens1-1/+1
2021-07-05s390/lib,uaccess: fix copy_in_user_mvcos() inline asm clobber listHeiko Carstens1-1/+1
2021-06-28s390/lib,string: get rid of register asmHeiko Carstens1-56/+75
2021-06-28s390/lib,uaccess: get rid of register asmHeiko Carstens1-10/+15
2021-06-28s390/lib,xor: get rid of register asmHeiko Carstens1-4/+1
2021-04-15s390/test_unwind: print test suite start/end infoVasily Gorbik1-1/+7
2021-04-12s390/test_unwind: add WARN if tests failedVasily Gorbik1-3/+6
2021-04-12s390/test_unwind: unify error handling pathsVasily Gorbik1-2/+2
2021-01-19s390: convert to generic entrySven Schnelle1-5/+7
2020-12-16s390/delay: remove udelay_simple()Heiko Carstens1-28/+6
2020-12-16s390/delay: simplify udelayHeiko Carstens1-82/+17
2020-12-16s390/test_unwind: use timer instead of udelayHeiko Carstens1-14/+10
2020-12-16s390/test_unwind: fix CALL_ON_STACK testsHeiko Carstens1-2/+5
2020-12-14Merge tag 's390-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds2-84/+34
2020-12-02s390: fix irq state tracingHeiko Carstens1-3/+2
2020-11-23s390/mm: add debug user asce supportHeiko Carstens1-0/+16
2020-11-23s390/mm: remove set_fs / rework address space handlingHeiko Carstens1-84/+5
2020-11-09s390/udelay: make it work for the early codeVasily Gorbik1-0/+13
2020-10-07s390/lib: fix kernel doc for memcmp()Julian Wiedmann1-1/+1
2020-08-11s390/test_unwind: fix possible memleak in test_unwind()Wang Hai1-0/+1
2020-08-07Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2020-07-27s390: enable HAVE_FUNCTION_ERROR_INJECTIONIlya Leoshkevich2-0/+16
2020-06-30iov_iter: Move unnecessary inclusion of crypto/hash.hHerbert Xu1-0/+1
2020-06-08Merge tag 's390-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-1/+3
2020-05-28s390: remove critical section cleanup from entry.SSven Schnelle1-1/+3
2020-04-21s390/mm: fix page table upgrade vs 2ndary address mode accessesChristian Borntraeger1-0/+4
2019-12-11s390/test_unwind: fix spelling mistake "reqister" -> "register"Colin Ian King1-1/+1
2019-12-11s390/spinlock: remove confusing comment in arch_spin_lock_waitVasily Gorbik1-1/+0
2019-11-30s390/test_unwind: add program check context testsVasily Gorbik1-0/+47
2019-11-30s390/test_unwind: add irq context testsVasily Gorbik1-0/+45
2019-11-30s390/test_unwind: print verbose unwinding resultsVasily Gorbik1-2/+10
2019-11-30s390/test_unwind: add CALL_ON_STACK testsVasily Gorbik1-7/+19
2019-11-30s390/test_unwind: require that unwinding ended successfullyVasily Gorbik1-0/+4
2019-11-30s390/unwind: add a test for the internal APIIlya Leoshkevich2-0/+234
2019-10-31s390/alternatives: make use of asm_inlineHeiko Carstens1-2/+2
2019-09-17Merge tag 's390-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-3/+0
2019-08-21s390: clean .bss before running uncompressed kernelVasily Gorbik1-3/+0
2019-07-29s390/lib: add missing includeVasily Gorbik1-0/+1
2019-06-07s390: enforce CONFIG_SMPHeiko Carstens1-2/+1
2019-05-02s390: add missing ENDPROC statements to assembler functionsMartin Schwidefsky1-0/+1
2019-01-18s390/kasan: improve string/memory functions checksVasily Gorbik1-0/+28
2018-10-09s390/kasan: avoid user access code instrumentationVasily Gorbik1-0/+4
2018-10-09s390/kasan: replace some memory functionsVasily Gorbik1-3/+9
2018-08-07s390/lib: use expoline for all bcr instructionsMartin Schwidefsky1-6/+10
2018-05-09s390: introduce compile time check for empty .bss sectionVasily Gorbik1-0/+3
2018-05-07s390/lib: use expoline for indirect branchesMartin Schwidefsky1-8/+11
2017-12-15s390: fix preemption race in disable_sacf_uaccessMartin Schwidefsky1-1/+1
2017-11-14s390/spinlock: fix indentationHeiko Carstens1-3/+4
2017-11-14s390: remove all code using the access register modeMartin Schwidefsky1-10/+80
2017-11-13Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2017-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds3-168/+267
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar9-0/+9
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman9-0/+9
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-8/+8
2017-10-18s390/spinlock: use cpu alternatives to enable niai instructionVasily Gorbik1-6/+3
2017-10-09s390: cleanup string ops prototypesHeiko Carstens1-14/+14
2017-10-09s390: optimize memset implementationHeiko Carstens1-8/+12
2017-10-09s390: implement memset16, memset32 & memset64Heiko Carstens1-0/+44
2017-09-28s390/rwlock: introduce rwlock wait queueingMartin Schwidefsky1-109/+29
2017-09-28s390/spinlock: introduce spinlock wait queueingMartin Schwidefsky1-30/+164
2017-09-28s390/spinlock: use the cpu number +1 as spinlock valueMartin Schwidefsky1-16/+16
2017-08-29s390/uaccess: avoid mvcos jump labelMartin Schwidefsky1-12/+26
2017-07-26s390/spinlock: add niai spinlock hintsMartin Schwidefsky1-36/+51
2017-07-26s390/time: add support for the TOD clock epoch extensionMartin Schwidefsky1-1/+1
2017-05-09s390/uaccess: use sane length for __strncpy_from_user()Heiko Carstens1-2/+2
2017-05-03s390/uprobes: fix compile for !KPROBESHeiko Carstens1-0/+1
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-55/+29
2017-04-12s390/spinlock: remove compare and delay instructionMartin Schwidefsky1-28/+5
2017-04-12s390/spinlock: use atomic primitives for spinlocksMartin Schwidefsky1-38/+35
2017-03-30s390: get rid of zeroing, switch to RAW_COPY_USERAl Viro1-45/+23
2017-02-17s390: replace ACCESS_ONCE with READ_ONCEChristian Borntraeger1-1/+1
2017-02-17s390: Audit and remove any remaining unnecessary uses of module.hPaul Gortmaker4-4/+5
2017-01-16s390/lib: improve memmove, memset and memcpyHeiko Carstens1-15/+13
2016-12-14s390/lib: add missing memory barriers to string inline assembliesHeiko Carstens1-6/+6
2016-12-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-0/+39
2016-12-12s390: provide memmove implementationHeiko Carstens1-0/+39
2016-11-22locking/spinlocks, s390: Implement vcpu_is_preempted(cpu)Christian Borntraeger1-17/+8
2016-10-14Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+3
2016-08-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-9/+7
2016-08-08Merge tag 'usercopy-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-0/+2
2016-08-08s390/lib: fix memcmp and strstrChristian Borntraeger1-9/+7
2016-08-07s390: move exports to definitionsAl Viro1-0/+3
2016-07-26s390/uaccess: Enable hardened usercopyKees Cook1-0/+2
2016-06-28s390/lib: use basic blocks for inline assembliesHeiko Carstens1-24/+26
2016-06-13s390/uaccess: fix whitespace damageHeiko Carstens1-3/+3
2016-04-15s390/spinlock: avoid yield to non existent cpuHeiko Carstens1-0/+1
2016-02-23s390/xor: optimized xor routing using the XC instructionMartin Schwidefsky2-1/+135
2015-11-27s390/spinlock: do not yield to a CPU in udelay/mdelayMartin Schwidefsky1-8/+17
2015-11-27s390/spinlock: avoid diagnose loopMartin Schwidefsky1-9/+19
2015-10-14s390/bitops: remove 31 bit related commentsHeiko Carstens1-3/+1
2015-10-14s390/udelay: make udelay have busy loop semanticsHeiko Carstens1-16/+14
2015-10-14s390/spinlock: use correct barriersChristian Borntraeger1-2/+2
2015-09-03Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-6/+6
2015-08-19s390/uaccess: remove uaccess_primary kernel parameterHeiko Carstens1-14/+1
2015-08-07s390/lib: export __delayGuenter Roeck1-0/+1
2015-08-03s390/uaccess, locking/static_keys: employ static_branch_likely()Heiko Carstens1-6/+6
2015-03-25s390: remove "64" suffix from mem64.S and swsusp_asm64.SHeiko Carstens2-1/+1
2015-03-25s390: remove 31 bit supportHeiko Carstens6-420/+62
2015-01-23s390/spinlock: add compare-and-delay to lock wait loopsMartin Schwidefsky1-7/+45
2014-10-17s390/uprobes: fix kprobes dependencyJan Willeke1-1/+1
2014-10-09s390/idle: consolidate idle functions and definitionsMartin Schwidefsky1-2/+2
2014-09-25s390/uprobes: common library for kprobes and uprobesJan Willeke2-0/+161
2014-09-25s390/rwlock: use the interlocked-access facility 1 instructionsMartin Schwidefsky1-0/+34
2014-09-25s390/rwlock: improve writer fairnessMartin Schwidefsky1-5/+9
2014-09-25s390/rwlock: remove interrupt-enabling rwlock variant.Martin Schwidefsky1-50/+0
2014-09-25s390/rwlock: use directed yield for write-locked rwlocksMartin Schwidefsky1-19/+30
2014-05-20s390/spinlock: refactor arch_spin_lock_wait[_flags]Martin Schwidefsky1-34/+47
2014-05-20s390/rwlock: add missing local_irq_restore callsMartin Schwidefsky1-0/+2
2014-05-20s390/spinlock,rwlock: always to a load-and-test firstMartin Schwidefsky1-13/+16
2014-05-20s390/spinlock: fix system hang with spin_retry <= 0Gerald Schaefer1-6/+8
2014-05-20s390/uaccess: simplify control register updatesMartin Schwidefsky1-5/+5
2014-05-20s390/spinlock: optimize spinlock code sequencePhilipp Hachtmann1-2/+2
2014-05-20s390/spinlock: cleanup spinlock codePhilipp Hachtmann1-29/+26
2014-04-11s390/uaccess: fix possible register corruption in strnlen_user_srst()Heiko Carstens1-3/+2
2014-04-03s390/uaccess: rework uaccess code - fix locking issuesHeiko Carstens5-751/+408
2014-02-21s390/bitops: fix commentHeiko Carstens1-1/+1
2014-02-21s390/uaccess: introduce 'uaccesspt' kernel parameterHeiko Carstens1-1/+14
2014-02-21s390/setup: get rid of MACHINE_HAS_MVCOS machine flagHeiko Carstens1-1/+2
2014-02-21s390/uaccess: consistent typesHeiko Carstens3-44/+45
2014-02-21s390/uaccess: get rid of indirect function callsHeiko Carstens4-45/+86
2014-02-21s390/uaccess: normalize order of parameters of indirect uaccess function callsHeiko Carstens2-27/+27
2014-01-22s390/uaccess: remove dead extern declarations, make functions staticHeiko Carstens2-11/+2
2014-01-22s390/uaccess: test if current->mm is set before walking page tablesHeiko Carstens1-0/+10
2014-01-16s390: Fix misspellings using 'codespell' toolHendrik Brueckner1-2/+2
2013-11-25s390/uaccess: add missing page table walk range checkHeiko Carstens1-0/+3
2013-10-24s390/uaccess: always run the kernel in home spaceMartin Schwidefsky4-338/+1
2013-10-24s390/bitops: rename find_first_bit_left() to find_first_bit_inv()Heiko Carstens1-5/+5
2013-10-24s390/bitops: use generic find bit functions / reimplement _left variantHeiko Carstens2-1/+78
2013-10-22s390/time: correct use of store clock fastMartin Schwidefsky1-7/+7