Re: [PATCH v6 1/1] MIPS: Fix idle VS timer enqueue

From: Marco Crivellari
Date: Fri Mar 21 2025 - 06:44:31 EST


On Fri, Mar 21, 2025 at 10:38 AM Thomas Bogendoerfer
<tsbogend@xxxxxxxxxxxxxxxx> wrote:
> do we really need that for a symbol local to that file ?

Not really, I can use the label directly.

On Fri, Mar 21, 2025 at 10:38 AM Thomas Bogendoerfer
<tsbogend@xxxxxxxxxxxxxxxx> wrote:
>
> > + /* Check idle interrupt region size. */
> > + .ifne __r4k_wait_exit - __r4k_wait - 36
>
> I have to say, that I prefer my .if statement, since this clearly spells out
> the comparision in the expression. Is there a reason for your version ?

Sure, let's keep your version.
Can we use the "error" message above? (""Idle interrupt region size
mismatch: expected 36 bytes."").
Or at least something similar, I think it is easier to understand the
reason for the error. What do you think?

Thanks!

--

Marco Crivellari

L3 Support Engineer, Technology & Product




marco.crivellari@xxxxxxxx