linux-hexagon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
       [not found] <CGME20230529111350epcas5p46a1fa16ffb2a39008c26d03c5c63f109@epcas5p4.samsung.com>
@ 2023-05-29 11:13 ` Maninder Singh
       [not found]   ` <CGME20230529111404epcas5p2d540d726dcf3e21aae2a6a0958e2eea5@epcas5p2.samsung.com>
                     ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Maninder Singh @ 2023-05-29 11:13 UTC (permalink / raw)
  To: bcain, mpe, npiggin, christophe.leroy, keescook, nathanl,
	ustavoars, alex.gaynor, gary, ojeda, pmladek, wedsonaf
  Cc: linux-hexagon, linux-kernel, linuxppc-dev, Maninder Singh,
	Onkarnath

kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
writes on index "KSYM_NAME_LEN - 1".

Thus array size should be KSYM_NAME_LEN.

for hexagon it was defined as "128" directly.
and commit '61968dbc2d5d' changed define value to 512,
So both were missed to update with new size.

Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")

Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
---
 arch/hexagon/kernel/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c
index 6447763ce5a9..65b30b6ea226 100644
--- a/arch/hexagon/kernel/traps.c
+++ b/arch/hexagon/kernel/traps.c
@@ -82,7 +82,7 @@ static void do_show_stack(struct task_struct *task, unsigned long *fp,
 	const char *name = NULL;
 	unsigned long *newfp;
 	unsigned long low, high;
-	char tmpstr[128];
+	char tmpstr[KSYM_NAME_LEN];
 	char *modname;
 	int i;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
       [not found]   ` <CGME20230529111404epcas5p2d540d726dcf3e21aae2a6a0958e2eea5@epcas5p2.samsung.com>
@ 2023-05-29 11:13     ` Maninder Singh
  2023-05-30  6:45       ` Michael Ellerman
  2023-05-30 12:54       ` Miguel Ojeda
  0 siblings, 2 replies; 12+ messages in thread
From: Maninder Singh @ 2023-05-29 11:13 UTC (permalink / raw)
  To: bcain, mpe, npiggin, christophe.leroy, keescook, nathanl,
	ustavoars, alex.gaynor, gary, ojeda, pmladek, wedsonaf
  Cc: linux-hexagon, linux-kernel, linuxppc-dev, Maninder Singh,
	Onkarnath

kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
writes on index "KSYM_NAME_LEN - 1".

Thus array size should be KSYM_NAME_LEN.

for powerpc it was defined as "128" directly.
and commit '61968dbc2d5d' changed define value to 512,
So both were missed to update with new size.

Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")

Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
---
 arch/powerpc/xmon/xmon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 728d3c257e4a..70c4c59a1a8f 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -88,7 +88,7 @@ static unsigned long ndump = 64;
 static unsigned long nidump = 16;
 static unsigned long ncsum = 4096;
 static int termch;
-static char tmpstr[128];
+static char tmpstr[KSYM_NAME_LEN];
 static int tracing_enabled;
 
 static long bus_error_jmp[JMP_BUF_LEN];
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-05-29 11:13     ` [PATCH 2/2] powerpc/xmon: " Maninder Singh
@ 2023-05-30  6:45       ` Michael Ellerman
  2023-05-30 12:54       ` Miguel Ojeda
  1 sibling, 0 replies; 12+ messages in thread
From: Michael Ellerman @ 2023-05-30  6:45 UTC (permalink / raw)
  To: Maninder Singh, bcain, npiggin, christophe.leroy, keescook,
	nathanl, ustavoars, alex.gaynor, gary, ojeda, pmladek, wedsonaf
  Cc: linux-hexagon, linux-kernel, linuxppc-dev, Maninder Singh,
	Onkarnath

Maninder Singh <maninder1.s@samsung.com> writes:
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
>
> Thus array size should be KSYM_NAME_LEN.
>
> for powerpc it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.
>
> Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")

AFAICS that's the wrong sha.

That commit appears in linux-next, but the commit that actually went
into mainline is:

  b8a94bfb3395 ("kallsyms: increase maximum kernel symbol length to 512")

So I'll update the change log to refer to that.

cheers

> Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> ---
>  arch/powerpc/xmon/xmon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
> index 728d3c257e4a..70c4c59a1a8f 100644
> --- a/arch/powerpc/xmon/xmon.c
> +++ b/arch/powerpc/xmon/xmon.c
> @@ -88,7 +88,7 @@ static unsigned long ndump = 64;
>  static unsigned long nidump = 16;
>  static unsigned long ncsum = 4096;
>  static int termch;
> -static char tmpstr[128];
> +static char tmpstr[KSYM_NAME_LEN];
>  static int tracing_enabled;
>  
>  static long bus_error_jmp[JMP_BUF_LEN];
> -- 
> 2.17.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
  2023-05-29 11:13 ` [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Maninder Singh
       [not found]   ` <CGME20230529111404epcas5p2d540d726dcf3e21aae2a6a0958e2eea5@epcas5p2.samsung.com>
@ 2023-05-30  8:59   ` Petr Mladek
  2023-05-30 12:59   ` Miguel Ojeda
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Petr Mladek @ 2023-05-30  8:59 UTC (permalink / raw)
  To: Maninder Singh
  Cc: nathanl, bcain, keescook, gary, ustavoars, linux-kernel,
	Onkarnath, wedsonaf, npiggin, alex.gaynor, linux-hexagon, ojeda,
	linuxppc-dev

On Mon 2023-05-29 16:43:36, Maninder Singh wrote:
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
> 
> Thus array size should be KSYM_NAME_LEN.
> 
> for hexagon it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.
> 
> Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")

As mentioned by Michael Ellerman for the 2nd patch, the right upstream
commit is:

b8a94bfb3395 ("kallsyms: increase maximum kernel symbol length to 512")

> Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>

With the updated commit hash:

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-05-29 11:13     ` [PATCH 2/2] powerpc/xmon: " Maninder Singh
  2023-05-30  6:45       ` Michael Ellerman
@ 2023-05-30 12:54       ` Miguel Ojeda
  2023-06-01  2:02         ` Michael Ellerman
  2023-08-03  5:46         ` Benjamin Gray
  1 sibling, 2 replies; 12+ messages in thread
From: Miguel Ojeda @ 2023-05-30 12:54 UTC (permalink / raw)
  To: Maninder Singh
  Cc: nathanl, bcain, keescook, gary, pmladek, ustavoars, linux-kernel,
	Onkarnath, wedsonaf, npiggin, alex.gaynor, linux-hexagon, ojeda,
	linuxppc-dev

On Mon, May 29, 2023 at 1:14 PM Maninder Singh <maninder1.s@samsung.com> wrote:
>
> +static char tmpstr[KSYM_NAME_LEN];

Reviewed-by: Miguel Ojeda <ojeda@kernel.org>

Side-note: in `get_function_bounds()`, I see `kallsyms_lookup()` being
used, but the name seems discarded? Can
`kallsyms_lookup_size_offset()` be used instead, thus avoiding the
usage of the buffer there to begin with?

Side-note 2: in `scanhex()`, I see a loop `i<63` using `tmpstr` which
then is used to do a `kallsyms_lookup_name()`, so I guess symbols
larger than 64 couldn't be found. I have no idea about what are the
external constraints here, but perhaps it is possible to increase the
`line` buffer etc. to then allow for bigger symbols to be found.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
  2023-05-29 11:13 ` [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Maninder Singh
       [not found]   ` <CGME20230529111404epcas5p2d540d726dcf3e21aae2a6a0958e2eea5@epcas5p2.samsung.com>
  2023-05-30  8:59   ` [PATCH 1/2] hexagon/traps.c: " Petr Mladek
@ 2023-05-30 12:59   ` Miguel Ojeda
  2023-05-30 13:42   ` David Laight
  2023-07-03  4:02   ` Michael Ellerman
  4 siblings, 0 replies; 12+ messages in thread
From: Miguel Ojeda @ 2023-05-30 12:59 UTC (permalink / raw)
  To: Maninder Singh
  Cc: nathanl, bcain, keescook, gary, pmladek, ustavoars, linux-kernel,
	Onkarnath, wedsonaf, npiggin, alex.gaynor, linux-hexagon, ojeda,
	linuxppc-dev

On Mon, May 29, 2023 at 1:14 PM Maninder Singh <maninder1.s@samsung.com> wrote:
>
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
>
> Thus array size should be KSYM_NAME_LEN.
>
> for hexagon it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.
>
> Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")
>
> Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>

With the updated commit hash:

Reviewed-by: Miguel Ojeda <ojeda@kernel.org>

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
  2023-05-29 11:13 ` [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Maninder Singh
                     ` (2 preceding siblings ...)
  2023-05-30 12:59   ` Miguel Ojeda
@ 2023-05-30 13:42   ` David Laight
  2023-07-03  4:02   ` Michael Ellerman
  4 siblings, 0 replies; 12+ messages in thread
From: David Laight @ 2023-05-30 13:42 UTC (permalink / raw)
  To: 'Maninder Singh', bcain@quicinc.com, mpe@ellerman.id.au,
	npiggin@gmail.com, christophe.leroy@csgroup.eu,
	keescook@chromium.org, nathanl@linux.ibm.com,
	ustavoars@kernel.org, alex.gaynor@gmail.com, gary@garyguo.net,
	ojeda@kernel.org, pmladek@suse.com, wedsonaf@google.com
  Cc: linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, Onkarnath

From: Maninder Singh
> Sent: 29 May 2023 12:14
> 
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
> 
> Thus array size should be KSYM_NAME_LEN.
> 
> for hexagon it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.

The only safe way to pass a fixed size string is to embed the char[] in
a structure and pass the structure address.

Pretty much anything else is doomed to be buggy.

Whether is it actually sane to require the caller allocate
such a large buffer (hi rust) is another matter entirely.

	David

> 
> Fixes: 61968dbc2d5d ("kallsyms: increase maximum kernel symbol length to 512")
> 
> Co-developed-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Onkarnath <onkarnath.1@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> ---
>  arch/hexagon/kernel/traps.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c
> index 6447763ce5a9..65b30b6ea226 100644
> --- a/arch/hexagon/kernel/traps.c
> +++ b/arch/hexagon/kernel/traps.c
> @@ -82,7 +82,7 @@ static void do_show_stack(struct task_struct *task, unsigned long *fp,
>  	const char *name = NULL;
>  	unsigned long *newfp;
>  	unsigned long low, high;
> -	char tmpstr[128];
> +	char tmpstr[KSYM_NAME_LEN];
>  	char *modname;
>  	int i;
> 
> --
> 2.17.1

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-05-30 12:54       ` Miguel Ojeda
@ 2023-06-01  2:02         ` Michael Ellerman
  2023-06-01 10:27           ` Miguel Ojeda
  2023-08-03  5:46         ` Benjamin Gray
  1 sibling, 1 reply; 12+ messages in thread
From: Michael Ellerman @ 2023-06-01  2:02 UTC (permalink / raw)
  To: Miguel Ojeda, Maninder Singh
  Cc: bcain, npiggin, christophe.leroy, keescook, nathanl, ustavoars,
	alex.gaynor, gary, ojeda, pmladek, wedsonaf, linux-hexagon,
	linux-kernel, linuxppc-dev, Onkarnath

Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> writes:
> On Mon, May 29, 2023 at 1:14 PM Maninder Singh <maninder1.s@samsung.com> wrote:
>>
>> +static char tmpstr[KSYM_NAME_LEN];
>
> Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
>
> Side-note: in `get_function_bounds()`, I see `kallsyms_lookup()` being
> used, but the name seems discarded? Can
> `kallsyms_lookup_size_offset()` be used instead, thus avoiding the
> usage of the buffer there to begin with?

A few lines below it uses the modname, and AFAICS there's no (easy) way
to lookup the modname without also looking up the name.

> Side-note 2: in `scanhex()`, I see a loop `i<63` using `tmpstr` which
> then is used to do a `kallsyms_lookup_name()`, so I guess symbols
> larger than 64 couldn't be found. I have no idea about what are the
> external constraints here, but perhaps it is possible to increase the
> `line` buffer etc. to then allow for bigger symbols to be found.

Yeah that looks wrong. I don't see any symbols that long in current
kernels, but we should fix it.

Thanks for looking.

cheers

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-06-01  2:02         ` Michael Ellerman
@ 2023-06-01 10:27           ` Miguel Ojeda
  2023-06-01 12:54             ` Michael Ellerman
  0 siblings, 1 reply; 12+ messages in thread
From: Miguel Ojeda @ 2023-06-01 10:27 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: nathanl, bcain, keescook, gary, pmladek, linux-hexagon, ustavoars,
	linux-kernel, ojeda, wedsonaf, npiggin, alex.gaynor,
	Maninder Singh, Onkarnath, linuxppc-dev

On Thu, Jun 1, 2023 at 4:02 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
>
> > Side-note: in `get_function_bounds()`, I see `kallsyms_lookup()` being
> > used, but the name seems discarded? Can
> > `kallsyms_lookup_size_offset()` be used instead, thus avoiding the
> > usage of the buffer there to begin with?
>
> A few lines below it uses the modname, and AFAICS there's no (easy) way
> to lookup the modname without also looking up the name.

Hmm... I think you are looking at the `xmon_print_symbol()` one? I was
referring to the `get_function_bounds()` one, where the `modname`
parameter is `NULL` (and the `name` contents are not used, only
whether it was found or not).

> > Side-note 2: in `scanhex()`, I see a loop `i<63` using `tmpstr` which
> > then is used to do a `kallsyms_lookup_name()`, so I guess symbols
> > larger than 64 couldn't be found. I have no idea about what are the
> > external constraints here, but perhaps it is possible to increase the
> > `line` buffer etc. to then allow for bigger symbols to be found.
>
> Yeah that looks wrong. I don't see any symbols that long in current
> kernels, but we should fix it.
>
> Thanks for looking.

My pleasure!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-06-01 10:27           ` Miguel Ojeda
@ 2023-06-01 12:54             ` Michael Ellerman
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Ellerman @ 2023-06-01 12:54 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: Maninder Singh, bcain, npiggin, christophe.leroy, keescook,
	nathanl, ustavoars, alex.gaynor, gary, ojeda, pmladek, wedsonaf,
	linux-hexagon, linux-kernel, linuxppc-dev, Onkarnath

Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> writes:
> On Thu, Jun 1, 2023 at 4:02 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
>>
>> > Side-note: in `get_function_bounds()`, I see `kallsyms_lookup()` being
>> > used, but the name seems discarded? Can
>> > `kallsyms_lookup_size_offset()` be used instead, thus avoiding the
>> > usage of the buffer there to begin with?
>>
>> A few lines below it uses the modname, and AFAICS there's no (easy) way
>> to lookup the modname without also looking up the name.
>
> Hmm... I think you are looking at the `xmon_print_symbol()` one? I was
> referring to the `get_function_bounds()` one, where the `modname`
> parameter is `NULL` (and the `name` contents are not used, only
> whether it was found or not).

Yes you're right, apparently I can't read :}

cheers

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size
  2023-05-29 11:13 ` [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Maninder Singh
                     ` (3 preceding siblings ...)
  2023-05-30 13:42   ` David Laight
@ 2023-07-03  4:02   ` Michael Ellerman
  4 siblings, 0 replies; 12+ messages in thread
From: Michael Ellerman @ 2023-07-03  4:02 UTC (permalink / raw)
  To: Maninder Singh; +Cc: linux-hexagon, linux-kernel, linuxppc-dev, Onkarnath

On Mon, 29 May 2023 16:43:36 +0530, Maninder Singh wrote:
> kallsyms_lookup which in turn calls for kallsyms_lookup_buildid()
> writes on index "KSYM_NAME_LEN - 1".
> 
> Thus array size should be KSYM_NAME_LEN.
> 
> for hexagon it was defined as "128" directly.
> and commit '61968dbc2d5d' changed define value to 512,
> So both were missed to update with new size.
> 
> [...]

Patch 2 applied to powerpc/fixes.

[2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
      https://git.kernel.org/powerpc/c/719dfd5925e186e09a2a6f23016936ac436f3d78

cheers

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] powerpc/xmon: use KSYM_NAME_LEN in array size
  2023-05-30 12:54       ` Miguel Ojeda
  2023-06-01  2:02         ` Michael Ellerman
@ 2023-08-03  5:46         ` Benjamin Gray
  1 sibling, 0 replies; 12+ messages in thread
From: Benjamin Gray @ 2023-08-03  5:46 UTC (permalink / raw)
  To: Miguel Ojeda, Maninder Singh
  Cc: nathanl, bcain, keescook, gary, pmladek, ustavoars, linux-kernel,
	Onkarnath, wedsonaf, npiggin, alex.gaynor, linux-hexagon, ojeda,
	linuxppc-dev

On 30/5/23 10:54 pm, Miguel Ojeda wrote:
> Side-note: in `get_function_bounds()`, I see `kallsyms_lookup()` being
> used, but the name seems discarded? Can
> `kallsyms_lookup_size_offset()` be used instead, thus avoiding the
> usage of the buffer there to begin with?

I'm not familiar with the kallsyms infrastructure, but looking over the 
implementations of kallsyms_lookup() and kallsyms_lookup_size_offset() 
it looks like the existing kallsyms_lookup()
  handles an extra case over kallsyms_lookup_size_offset()?

kallsyms_lookup_buildid() (the implementation of kallsyms_lookup()) has

   /* See if it's in a module or a BPF JITed image. */
   ret = module_address_lookup(addr, symbolsize, offset,
                               modname, modbuildid, namebuf);
   if (!ret)
           ret = bpf_address_lookup(addr, symbolsize,
                                    offset, modname, namebuf);

   if (!ret)
           ret = ftrace_mod_address_lookup(addr, symbolsize,
                                           offset, modname, namebuf);

while kallsyms_lookup_size_offset() is missing the ftrace case

   return !!module_address_lookup(addr, symbolsize, offset,
                                  NULL, NULL, namebuf) ||
          !!__bpf_address_lookup(addr, symbolsize, offset, namebuf);

Might this be a concern for xmon?

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-08-03  5:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20230529111350epcas5p46a1fa16ffb2a39008c26d03c5c63f109@epcas5p4.samsung.com>
2023-05-29 11:13 ` [PATCH 1/2] hexagon/traps.c: use KSYM_NAME_LEN in array size Maninder Singh
     [not found]   ` <CGME20230529111404epcas5p2d540d726dcf3e21aae2a6a0958e2eea5@epcas5p2.samsung.com>
2023-05-29 11:13     ` [PATCH 2/2] powerpc/xmon: " Maninder Singh
2023-05-30  6:45       ` Michael Ellerman
2023-05-30 12:54       ` Miguel Ojeda
2023-06-01  2:02         ` Michael Ellerman
2023-06-01 10:27           ` Miguel Ojeda
2023-06-01 12:54             ` Michael Ellerman
2023-08-03  5:46         ` Benjamin Gray
2023-05-30  8:59   ` [PATCH 1/2] hexagon/traps.c: " Petr Mladek
2023-05-30 12:59   ` Miguel Ojeda
2023-05-30 13:42   ` David Laight
2023-07-03  4:02   ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).