Re: [PATCH] genirq/timings: add kernel-doc for a function param

From: Daniel Lezcano
Date: Wed Jan 15 2025 - 07:09:41 EST


Hi Thomas,

[Cc'ed Ulf]

On 15/01/2025 10:59, Thomas Gleixner wrote:
On Fri, Jan 10 2025 at 22:29, Randy Dunlap wrote:

Add the description for @now to eliminate a kernel-doc warning.
(Is this function used? I don't see it being called.)

That's indeed a good question.

Daniel, what's the state of this after 7+ years of being in "comes soon"
state?

We recently discussed that with Ulf.

The next irq prediction would greatly help during the DSU [1] shut down process. As the last CPU going down initiates the DSU shut down, there are no more IPI involved and the timer + irq prediction will be much more accurate.

However, it is clear that we are talking about this feature since a long time and we did not finish its implementation yet, so it is not really serious to ask for more retention in the kernel if it is unused.

On the other side, it took me a lot of effort to elaborate the suffix based algorithm for the prediction and it would be a pity if we drop it because of the lack of progress :(

So, here is my proposal. Ulf and I will do the changes for the DSU power down which is reasonable to say it can happen during the next cycle. If there is nothing for the end of the next cycle, then we remove the code.

Does it sound good ?



[1] https://developer.arm.com/Processors/DSU-120


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog