From: Paul Burton <paul.burton@imgtec.com> To: <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org> Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>, Matthew Fortune <matthew.fortune@imgtec.com>, Raghu Gandham <raghu.gandham@imgtec.com>, Paul Burton <paul.burton@imgtec.com> Subject: [RFC PATCH v3 0/2] MIPS non-executable stack support Date: Wed, 29 Jun 2016 15:38:28 +0100 [thread overview] Message-ID: <20160629143830.526-1-paul.burton@imgtec.com> (raw) This series allows us to support non-executable stacks on systems with RIXI by moving delay slot instruction emulation off of the user stack & into a dedicated page. This is a revision of patches 6114/6125 & 6115 from a few years back: https://patchwork.linux-mips.org/patch/6114 https://patchwork.linux-mips.org/patch/6125 https://patchwork.linux-mips.org/patch/6115 The series applies atop v4.7-rc5, and is marked RFC as it could use a little more testing before I'd be happy with it being merged. Paul Burton (2): MIPS: use per-mm page to execute branch delay slot instructions MIPS: non-exec stack & heap when non-exec PT_GNU_STACK is present arch/mips/Kconfig | 1 + arch/mips/include/asm/elf.h | 5 + arch/mips/include/asm/fpu_emulator.h | 17 +- arch/mips/include/asm/mmu.h | 11 ++ arch/mips/include/asm/mmu_context.h | 7 + arch/mips/include/asm/page.h | 6 +- arch/mips/include/asm/processor.h | 18 +- arch/mips/kernel/elf.c | 19 ++ arch/mips/kernel/mips-r2-to-r6-emul.c | 8 +- arch/mips/kernel/process.c | 6 + arch/mips/kernel/signal.c | 8 + arch/mips/math-emu/cp1emu.c | 8 +- arch/mips/math-emu/dsemul.c | 343 +++++++++++++++++++++++----------- 13 files changed, 322 insertions(+), 135 deletions(-) -- 2.9.0
WARNING: multiple messages have this Message-ID (diff)
From: Paul Burton <paul.burton@imgtec.com> To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org> Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>, Matthew Fortune <matthew.fortune@imgtec.com>, Raghu Gandham <raghu.gandham@imgtec.com>, Paul Burton <paul.burton@imgtec.com> Subject: [RFC PATCH v3 0/2] MIPS non-executable stack support Date: Wed, 29 Jun 2016 15:38:28 +0100 [thread overview] Message-ID: <20160629143830.526-1-paul.burton@imgtec.com> (raw) Message-ID: <20160629143828.I2cb34aCJLS7hK6v8AiiavhIZ38PXYm6nDLfCDUudu4@z> (raw) This series allows us to support non-executable stacks on systems with RIXI by moving delay slot instruction emulation off of the user stack & into a dedicated page. This is a revision of patches 6114/6125 & 6115 from a few years back: https://patchwork.linux-mips.org/patch/6114 https://patchwork.linux-mips.org/patch/6125 https://patchwork.linux-mips.org/patch/6115 The series applies atop v4.7-rc5, and is marked RFC as it could use a little more testing before I'd be happy with it being merged. Paul Burton (2): MIPS: use per-mm page to execute branch delay slot instructions MIPS: non-exec stack & heap when non-exec PT_GNU_STACK is present arch/mips/Kconfig | 1 + arch/mips/include/asm/elf.h | 5 + arch/mips/include/asm/fpu_emulator.h | 17 +- arch/mips/include/asm/mmu.h | 11 ++ arch/mips/include/asm/mmu_context.h | 7 + arch/mips/include/asm/page.h | 6 +- arch/mips/include/asm/processor.h | 18 +- arch/mips/kernel/elf.c | 19 ++ arch/mips/kernel/mips-r2-to-r6-emul.c | 8 +- arch/mips/kernel/process.c | 6 + arch/mips/kernel/signal.c | 8 + arch/mips/math-emu/cp1emu.c | 8 +- arch/mips/math-emu/dsemul.c | 343 +++++++++++++++++++++++----------- 13 files changed, 322 insertions(+), 135 deletions(-) -- 2.9.0
next reply other threads:[~2016-06-29 14:38 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-29 14:38 Paul Burton [this message] 2016-06-29 14:38 ` [RFC PATCH v3 0/2] MIPS non-executable stack support Paul Burton 2016-06-29 14:38 ` [RFC PATCH v3 1/2] MIPS: use per-mm page to execute branch delay slot instructions Paul Burton 2016-06-29 14:38 ` Paul Burton 2016-06-30 9:01 ` Matt Redfearn 2016-06-30 9:01 ` Matt Redfearn 2016-06-30 10:17 ` Paul Burton 2016-06-30 10:17 ` Paul Burton 2016-06-30 10:40 ` Matt Redfearn 2016-06-30 10:40 ` Matt Redfearn 2016-06-30 10:49 ` Paul Burton 2016-06-30 10:49 ` Paul Burton 2016-06-29 14:38 ` [RFC PATCH v3 2/2] MIPS: non-exec stack & heap when non-exec PT_GNU_STACK is present Paul Burton 2016-06-29 14:38 ` Paul Burton 2016-06-30 9:25 ` Matthew Fortune 2016-06-30 10:34 ` Paul Burton 2016-06-30 12:04 ` Matthew Fortune 2016-06-30 16:25 ` Paul Burton 2016-06-30 17:40 ` Faraz Shahbazker 2016-06-30 18:48 ` Maciej W. Rozycki 2016-07-01 0:49 ` David Daney 2016-07-01 17:11 ` Paul Burton
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=20160629143830.526-1-paul.burton@imgtec.com \ --to=paul.burton@imgtec.com \ --cc=leonid.yegoshin@imgtec.com \ --cc=linux-mips@linux-mips.org \ --cc=matthew.fortune@imgtec.com \ --cc=raghu.gandham@imgtec.com \ --cc=ralf@linux-mips.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.