[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d75b767e-d0c0-4d27-9fe9-192b84c8a920@suse.com>
Date: Mon, 29 Dec 2025 16:38:55 +0100
From: Petr Pavlu <petr.pavlu@...e.com>
To: Yunjin Kim <yunzhen.kim@...sung.com>
Cc: Luis Chamberlain <mcgrof@...nel.org>,
Sami Tolvanen <samitolvanen@...gle.com>, Daniel Gomez
<da.gomez@...sung.com>, linux-kernel@...r.kernel.org,
linux-modules@...r.kernel.org
Subject: Re: [PATCH] ANDROID: gki: kallsyms: add
kallsyms_lookup_address_and_size.
On 12/24/25 5:31 AM, Yunjin Kim wrote:
> This methods are used by AKKstub-ARM Kernel Kstub.
>
> We need to implement an automatic kernel-method mock that streamlines the
> mocking process during kernel-method testing and enables fully automated
> operations. This mechanism must traverse the binary instructions of the
> target function in memory, locate the appropriate instruction, and replace
> it. To perform the traversal, it must know the function’s entry address and
> the size of its instruction range.
>
> Bug:
> Change-Id: I5a318f762d4412e70b0c8dcf2dfed326312bdc65
> Signed-off-by: Yunjin Kim <yunzhen.kim@...sung.com>
I'm confused by this patch. It seems like it should be sent for review
and inclusion in some Android-specific downstream kernel, rather than
the official Linux kernel. As it stands, without more context, the patch
only adds dead code to the kernel.
--
Thanks,
Petr
Powered by blists - more mailing lists