From: duwe@lst.de (Torsten Duwe) To: Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Julien Thierry <julien.thierry@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Josh Poimboeuf <jpoimboe@redhat.com>, Ingo Molnar <mingo@redhat.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Arnd Bergmann <arnd@arndb.de>, AKASHI Takahiro <takahiro.akashi@linaro.org>, Amit Daniel Kachhap <amit.kachhap@arm.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: [PATCH v7 0/3] arm64: ftrace with regs Date: Fri, 18 Jan 2019 17:37:36 +0100 (CET) [thread overview] Message-ID: <20190118163736.6A99268CEB@newverein.lst.de> (raw) So here's v7 of ftrace with regs only. I've split out the CC_FLAGS_FTRACE cleanup and the gcc activation into separate patches, respectively. The set should include all of Mark's requested changes. Most notably, it now patches in the first insn "mov x9, lr" right at startup, to avoid the races we discussed; I'm conveniently abusing the initial _make_nop for that. The empty mcount: routine caused a lot of Q's, so it's gone now. I updated the accompanying livepatch patches here as well, in case somebody is interested ;) They have only been updated to match this current ftrace-regs set, not more. The whole series applies cleanly on 5.0-rc2 in detail: changes since v6: * change the stack layout once more; I hope I have it the "standard" way now. And yes, it looks simpler and cleaner; thanks, Mark, for nagging. * split out the independent Kconfig and Makefile changes * fixed style issues * s/fp/x29/g * MCOUNT_ADDR is now merely a 64-bit magic, as this is totally sufficient. * QUICK_LR_SAVE renamed back to MOV_X9_X30. * place MOV_X9_X30 insns on bootup, and only flip b <-> nop at runtime * graph tracer "ifdeffery" reshuffle Torsten
WARNING: multiple messages have this Message-ID (diff)
From: duwe@lst.de (Torsten Duwe) To: Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Julien Thierry <julien.thierry@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Josh Poimboeuf <jpoimboe@redhat.com>, Ingo Molnar <mingo@redhat.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Arnd Bergmann <arnd@arndb.de>, AKASHI Takahiro <takahiro.akashi@linaro.org>, Amit Daniel Kachhap <amit.kachhap@arm.com> Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v7 0/3] arm64: ftrace with regs Date: Fri, 18 Jan 2019 17:37:36 +0100 (CET) [thread overview] Message-ID: <20190118163736.6A99268CEB@newverein.lst.de> (raw) So here's v7 of ftrace with regs only. I've split out the CC_FLAGS_FTRACE cleanup and the gcc activation into separate patches, respectively. The set should include all of Mark's requested changes. Most notably, it now patches in the first insn "mov x9, lr" right at startup, to avoid the races we discussed; I'm conveniently abusing the initial _make_nop for that. The empty mcount: routine caused a lot of Q's, so it's gone now. I updated the accompanying livepatch patches here as well, in case somebody is interested ;) They have only been updated to match this current ftrace-regs set, not more. The whole series applies cleanly on 5.0-rc2 in detail: changes since v6: * change the stack layout once more; I hope I have it the "standard" way now. And yes, it looks simpler and cleaner; thanks, Mark, for nagging. * split out the independent Kconfig and Makefile changes * fixed style issues * s/fp/x29/g * MCOUNT_ADDR is now merely a 64-bit magic, as this is totally sufficient. * QUICK_LR_SAVE renamed back to MOV_X9_X30. * place MOV_X9_X30 insns on bootup, and only flip b <-> nop at runtime * graph tracer "ifdeffery" reshuffle Torsten _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-01-18 16:37 UTC|newest] Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-01-18 16:37 Torsten Duwe [this message] 2019-01-18 16:37 ` [PATCH v7 0/3] arm64: ftrace with regs Torsten Duwe 2019-01-18 16:39 ` [PATCH v7 1/3] arm64: replace -pg with CC_FLAGS_FTRACE in Makefiles Torsten Duwe 2019-01-18 16:39 ` Torsten Duwe 2019-01-18 17:24 ` Mark Rutland 2019-01-18 17:24 ` Mark Rutland 2019-01-18 16:39 ` [PATCH v7 2/3] arm64: implement ftrace with regs Torsten Duwe 2019-01-18 16:39 ` Torsten Duwe 2019-01-22 1:39 ` Singh, Balbir 2019-01-22 1:39 ` Singh, Balbir 2019-01-22 13:09 ` Torsten Duwe 2019-01-22 13:09 ` Torsten Duwe 2019-01-23 20:38 ` Singh, Balbir 2019-01-23 20:38 ` Singh, Balbir 2019-01-22 10:18 ` Julien Thierry 2019-01-22 10:18 ` Julien Thierry 2019-01-22 13:28 ` Torsten Duwe 2019-01-22 13:28 ` Torsten Duwe 2019-01-22 13:49 ` Julien Thierry 2019-01-22 13:49 ` Julien Thierry 2019-01-22 13:55 ` Ard Biesheuvel 2019-01-22 13:55 ` Ard Biesheuvel 2019-02-04 12:03 ` Torsten Duwe 2019-02-04 12:03 ` Torsten Duwe 2019-02-04 13:43 ` Ard Biesheuvel 2019-02-04 13:43 ` Ard Biesheuvel 2019-02-06 8:59 ` Julien Thierry 2019-02-06 8:59 ` Julien Thierry 2019-02-06 9:30 ` Julien Thierry 2019-02-06 9:30 ` Julien Thierry 2019-02-06 14:09 ` Steven Rostedt 2019-02-06 14:09 ` Steven Rostedt 2019-02-06 15:05 ` Torsten Duwe 2019-02-06 15:05 ` Torsten Duwe 2019-02-07 10:33 ` Julien Thierry 2019-02-07 10:33 ` Julien Thierry 2019-02-07 12:51 ` Torsten Duwe 2019-02-07 12:51 ` Torsten Duwe 2019-02-07 13:47 ` Julien Thierry 2019-02-07 13:47 ` Julien Thierry 2019-02-07 14:51 ` Steven Rostedt 2019-02-07 14:51 ` Steven Rostedt 2019-02-07 14:58 ` Julien Thierry 2019-02-07 14:58 ` Julien Thierry 2019-02-07 15:00 ` Torsten Duwe 2019-02-07 15:00 ` Torsten Duwe 2019-04-03 2:48 ` Mark Rutland 2019-04-03 2:48 ` Mark Rutland 2019-04-03 12:30 ` Steven Rostedt 2019-04-03 12:30 ` Steven Rostedt 2019-04-03 13:05 ` Torsten Duwe 2019-04-03 13:05 ` Torsten Duwe 2019-01-18 16:39 ` [PATCH v7 3/3] arm64: use -fpatchable-function-entry if available Torsten Duwe 2019-01-18 16:39 ` Torsten Duwe
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=20190118163736.6A99268CEB@newverein.lst.de \ --to=duwe@lst.de \ --cc=amit.kachhap@arm.com \ --cc=ard.biesheuvel@linaro.org \ --cc=arnd@arndb.de \ --cc=catalin.marinas@arm.com \ --cc=jpoimboe@redhat.com \ --cc=julien.thierry@arm.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=live-patching@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=mingo@redhat.com \ --cc=rostedt@goodmis.org \ --cc=takahiro.akashi@linaro.org \ --cc=will.deacon@arm.com \ /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.