aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/assembler.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-05-22 11:36:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-22 11:36:16 -0400
commit54dee406374ce8adb352c48e175176247cb8db7c (patch)
tree5a935f0e3bdbd28d869f5cd319891023e1152a3a /arch/arm64/include/asm/assembler.h
parent651bae980e3f3e6acf0d297ced08f9d7af71a8c9 (diff)
parent7a0a93c51799edc45ee57c6cc1679aa94f1e03d5 (diff)
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: - Fix SPE probe failure when backing auxbuf with high-order pages - Fix handling of DMA allocations from outside of the vmalloc area - Fix generation of build-id ELF section for vDSO object - Disable huge I/O mappings if kernel page table dumping is enabled - A few other minor fixes (comments, kconfig etc) * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: vdso: Explicitly add build-id option arm64/mm: Inhibit huge-vmap with ptdump arm64: Print physical address of page table base in show_pte() arm64: don't trash config with compat symbol if COMPAT is disabled arm64: assembler: Update comment above cond_yield_neon() macro drivers/perf: arm_spe: Don't error on high-order pages for aux buf arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
-rw-r--r--arch/arm64/include/asm/assembler.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h
index 039fbd822ec6..92b6b7cf67dd 100644
--- a/arch/arm64/include/asm/assembler.h
+++ b/arch/arm64/include/asm/assembler.h
@@ -718,12 +718,11 @@ USER(\label, ic ivau, \tmp2) // invalidate I line PoU
718 * the output section, any use of such directives is undefined. 718 * the output section, any use of such directives is undefined.
719 * 719 *
720 * The yield itself consists of the following: 720 * The yield itself consists of the following:
721 * - Check whether the preempt count is exactly 1, in which case disabling 721 * - Check whether the preempt count is exactly 1 and a reschedule is also
722 * preemption once will make the task preemptible. If this is not the case, 722 * needed. If so, calling of preempt_enable() in kernel_neon_end() will
723 * yielding is pointless. 723 * trigger a reschedule. If it is not the case, yielding is pointless.
724 * - Check whether TIF_NEED_RESCHED is set, and if so, disable and re-enable 724 * - Disable and re-enable kernel mode NEON, and branch to the yield fixup
725 * kernel mode NEON (which will trigger a reschedule), and branch to the 725 * code.
726 * yield fixup code.
727 * 726 *
728 * This macro sequence may clobber all CPU state that is not guaranteed by the 727 * This macro sequence may clobber all CPU state that is not guaranteed by the
729 * AAPCS to be preserved across an ordinary function call. 728 * AAPCS to be preserved across an ordinary function call.