Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1187415 > unrolled thread
| Started by | Max Filippov <jcmvbkbc@gmail.com> |
|---|---|
| First post | 2015-07-18 10:40 +0200 |
| Last post | 2015-07-18 10:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 11/13] xtensa: don't touch EXC_TABLE_FIXUP in _switch_to Max Filippov <jcmvbkbc@gmail.com> - 2015-07-18 10:40 +0200
| From | Max Filippov <jcmvbkbc@gmail.com> |
|---|---|
| Date | 2015-07-18 10:40 +0200 |
| Subject | [PATCH v2 11/13] xtensa: don't touch EXC_TABLE_FIXUP in _switch_to |
| Message-ID | <pNvP3-7hz-7@gated-at.bofh.it> |
There's no way _switch_to can produce double exceptions now, don't enter/leave EXC_TABLE_FIXUP critical section. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- arch/xtensa/kernel/entry.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S index 5771d5c..309e71b 100644 --- a/arch/xtensa/kernel/entry.S +++ b/arch/xtensa/kernel/entry.S @@ -1883,9 +1883,7 @@ ENTRY(_switch_to) /* Disable ints while we manipulate the stack pointer. */ rsil a14, LOCKLEVEL - rsr a3, excsave1 rsync - s32i a3, a3, EXC_TABLE_FIXUP /* enter critical section */ /* Switch CPENABLE */ @@ -1906,9 +1904,7 @@ ENTRY(_switch_to) */ rsr a3, excsave1 # exc_table - movi a6, 0 addi a7, a5, PT_REGS_OFFSET - s32i a6, a3, EXC_TABLE_FIXUP s32i a7, a3, EXC_TABLE_KSTK /* restore context of the task 'next' */ -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web