Re: [PATCH v4 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-09 Thread Viresh Kumar
On 09-01-24, 17:46, Vincent Guittot wrote: > Provide to the scheduler a feedback about the temporary max available > capacity. Unlike arch_update_thermal_pressure, this doesn't need to be > filtered as the pressure will happen for dozens ms or more. > > Signed-off-by: Vincent Guittot > --- > dri

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Chen-Yu Tsai
On Tue, Jan 9, 2024 at 9:47 PM Masahiro Yamada wrote: > > On Fri, Dec 29, 2023 at 3:39 PM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Thu, Dec 14, 2023 at 7:34 AM Masahiro Yamada > > wrote: > > > > > > On Thu, Dec 14, 2023 at 3:12 PM Masahiro Yamada > > > wrote: > > > > > > > > On Thu,

Re: [PATCH v4 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-09 Thread Vincent Guittot
On Tue, 9 Jan 2024 at 17:49, Rafael J. Wysocki wrote: > > On Tue, Jan 9, 2024 at 5:47 PM Vincent Guittot > wrote: > > > > Provide to the scheduler a feedback about the temporary max available > > capacity. Unlike arch_update_thermal_pressure, this doesn't need to be > > filtered as the pressure w

Re: [PATCH v4 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-09 Thread Rafael J. Wysocki
On Tue, Jan 9, 2024 at 5:47 PM Vincent Guittot wrote: > > Provide to the scheduler a feedback about the temporary max available > capacity. Unlike arch_update_thermal_pressure, this doesn't need to be > filtered as the pressure will happen for dozens ms or more. > > Signed-off-by: Vincent Guittot

[PATCH v4 5/5] sched/pelt: Remove shift of thermal clock

2024-01-09 Thread Vincent Guittot
The optional shift of the clock used by thermal/hw load avg has been introduced to handle case where the signal was not always a high frequency hw signal. Now that cpufreq provides a signal for firmware and SW pressure, we can remove this exception and always keep this PELT signal aligned with othe

[PATCH v4 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure

2024-01-09 Thread Vincent Guittot
Now that cpufreq provides a pressure value to the scheduler, rename arch_update_thermal_pressure into HW pressure to reflect that it returns a pressure applied by HW (i.e. with a high frequency change) and not always related to thermal mitigation but also generated by max current limitation as an e

[PATCH v4 3/5] thermal/cpufreq: Remove arch_update_thermal_pressure()

2024-01-09 Thread Vincent Guittot
arch_update_thermal_pressure() aims to update fast changing signal which should be averaged using PELT filtering before being provided to the scheduler which can't make smart use of fast changing signal. cpufreq now provides the maximum freq_qos pressure on the capacity to the scheduler, which incl

[PATCH v4 2/5] sched: Take cpufreq feedback into account

2024-01-09 Thread Vincent Guittot
Aggregate the different pressures applied on the capacity of CPUs and create a new function that returns the actual capacity of the CPU: get_actual_cpu_capacity() Signed-off-by: Vincent Guittot Reviewed-by: Lukasz Luba --- kernel/sched/fair.c | 45 +

[PATCH v4 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-09 Thread Vincent Guittot
Provide to the scheduler a feedback about the temporary max available capacity. Unlike arch_update_thermal_pressure, this doesn't need to be filtered as the pressure will happen for dozens ms or more. Signed-off-by: Vincent Guittot --- drivers/cpufreq/cpufreq.c | 36 +

[PATCH v4 0/5] Rework system pressure interface to the scheduler

2024-01-09 Thread Vincent Guittot
Following the consolidation and cleanup of CPU capacity in [1], this serie reworks how the scheduler gets the pressures on CPUs. We need to take into account all pressures applied by cpufreq on the compute capacity of a CPU for dozens of ms or more and not only cpufreq cooling device or HW mitigiat

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Rasmus Villemoes
On 14/12/2023 08.33, Masahiro Yamada wrote: > On Thu, Dec 14, 2023 at 3:12 PM Masahiro Yamada wrote: >> > One more question to confirm if I can use this > for my practical use-cases. > > Is U-Boot able to handle FIT (includes kernel + DTs) > and a separate initrd? > > # bootm : > > > Pre

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Tom Rini
On Tue, Jan 09, 2024 at 11:01:42PM +0900, Masahiro Yamada wrote: > Hi Simon, > > > On Wed, Jan 3, 2024 at 8:47 AM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Wed, Dec 13, 2023 at 5:14 AM Will Deacon wrote: > > > > > > On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > > > > A

Re: [PATCH v3 2/5] sched: Take cpufreq feedback into account

2024-01-09 Thread Vincent Guittot
On Tue, 9 Jan 2024 at 12:22, Dietmar Eggemann wrote: > > On 08/01/2024 14:48, Vincent Guittot wrote: > > Aggregate the different pressures applied on the capacity of CPUs and > > create a new function that returns the actual capacity of the CPU: > > get_actual_cpu_capacity() > >function name

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Masahiro Yamada
Hi Simon, On Wed, Jan 3, 2024 at 8:47 AM Simon Glass wrote: > > Hi Masahiro, > > On Wed, Dec 13, 2023 at 5:14 AM Will Deacon wrote: > > > > On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > > > Add a script which produces a Flat Image Tree (FIT), a single file > > > containing the

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Masahiro Yamada
On Fri, Dec 29, 2023 at 3:39 PM Simon Glass wrote: > > Hi Masahiro, > > On Thu, Dec 14, 2023 at 7:34 AM Masahiro Yamada wrote: > > > > On Thu, Dec 14, 2023 at 3:12 PM Masahiro Yamada > > wrote: > > > > > > On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > > > > > > > On Sun, Dec 10, 2023

Re: [PATCH v3 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure

2024-01-09 Thread Vincent Guittot
On Tue, 9 Jan 2024 at 12:56, Dietmar Eggemann wrote: > > On 08/01/2024 14:48, Vincent Guittot wrote: > > Now that cpufreq provides a pressure value to the scheduler, rename > > I.e. that thermal (e.g. IPA governor) switches from average > (rq->avg_(thermal/hw).load_avg) (1) to instantenous (cpu_pr

Re: [PATCH v3 0/5] Rework system pressure interface to the scheduler

2024-01-09 Thread Vincent Guittot
On Tue, 9 Jan 2024 at 12:34, Dietmar Eggemann wrote: > > On 08/01/2024 14:48, Vincent Guittot wrote: > > Following the consolidation and cleanup of CPU capacity in [1], this serie > > reworks how the scheduler gets the pressures on CPUs. We need to take into > > account all pressures applied by cp

Re: [PATCH v3 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure

2024-01-09 Thread Dietmar Eggemann
On 08/01/2024 14:48, Vincent Guittot wrote: > Now that cpufreq provides a pressure value to the scheduler, rename I.e. that thermal (e.g. IPA governor) switches from average (rq->avg_(thermal/hw).load_avg) (1) to instantenous (cpu_pressure) (2). I rememeber a related dicussion during LPC 2018 :-)

Re: [PATCH v3 0/5] Rework system pressure interface to the scheduler

2024-01-09 Thread Dietmar Eggemann
On 08/01/2024 14:48, Vincent Guittot wrote: > Following the consolidation and cleanup of CPU capacity in [1], this serie > reworks how the scheduler gets the pressures on CPUs. We need to take into > account all pressures applied by cpufreq on the compute capacity of a CPU > for dozens of ms or mor

Re: [PATCH v3 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-09 Thread Vincent Guittot
On Mon, 8 Jan 2024 at 17:35, Dietmar Eggemann wrote: > > On 08/01/2024 14:48, Vincent Guittot wrote: > > Provide to the scheduler a feedback about the temporary max available > > capacity. Unlike arch_update_thermal_pressure, this doesn't need to be > > filtered as the pressure will happen for doz

Re: [PATCH v3 2/5] sched: Take cpufreq feedback into account

2024-01-09 Thread Dietmar Eggemann
On 08/01/2024 14:48, Vincent Guittot wrote: > Aggregate the different pressures applied on the capacity of CPUs and > create a new function that returns the actual capacity of the CPU: > get_actual_cpu_capacity() function namescaling (1) arch_scale_cpu_capacity() - uarch (2)

Re: RESEND: Re: [Patch v6 03/12] docs: qcom: Add qualcomm minidump guide

2024-01-09 Thread Mukesh Ojha
On 1/8/2024 9:04 PM, Ruipeng Qi wrote: On Wed, Jan 3, 2024 at 11:27 PM Mukesh Ojha wrote: One more thing, kernel part of minidump, we are calling it APSS Minidump has limitation of no of entries so it will be difficult to dump non-continuous regions after a certain number of registration ~