Thread (14 messages) flat view 14 messages, 3 authors, 2021-07-29

Re: [RFC PATCH v6 3/3] arm64: Create a list of SYM_CODE functions, check return PC against list

From: Mark Brown <broonie@kernel.org>
Date: 2021-07-29 16:28:03
Also in: live-patching, lkml

On Thu, Jul 29, 2021 at 04:48:04PM +0100, Mark Rutland wrote:
For clarity, let's take your bullet-point list above as a list of
examples, and make that:
	/*
	 * As SYM_CODE functions don't follow the usual calling
	 * conventions, we assume by default that any SYM_CODE function
	 * cannot be unwound reliably.
	 *
	 * Note that this includes:
	 *
	 * - Exception handlers and entry assembly
	 * - Trampoline assembly (e.g., ftrace, kprobes)
	 * - Hypervisor-related assembly
	 * - Hibernation-related assembly
	 * - CPU start-stop, suspend-resume assembly
	 * - Kernel relocation assembly
	 */
This looks good to me too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help