Update freq variable from unsigned long to uint64_t of
compute_freq function to be in compliance with 32 bit
environment.
Change-Id: Ia9183b0e593daf3780135a8e1ae8ddb36db16f86
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
To scale ddr based on the effective frequency of core enable
cpubw node, cpubw node will scale ddr based on the cpu core
frequency.
Change-Id: Iad5e98d60caa5516d98820b9d4563c7d2200ae94
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
There could be cases where a simultaneous clk_disable and clk_set_rate on
the same rcg could result in a wrong recalc rate. So for shared rcgs
get the pre_div value based on the current frequency from the frequency
table.
Change-Id: Ia5730e43965b2d0ba19da05fca47825514f98865
Signed-off-by: Taniya Das <tdas@codeaurora.org>
REGMAP IRQ is used in SDM670 AQT codec.
Enable compilation so as to resolve any unknown symbol errors.
CRs-Fixed: 2235767
Change-Id: Ic81da840cd7c26dab3473c4da0c3e1df639c8355
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Clear per cpu pending IPI interrupt flag after handing.
Change-Id: I1c69212110314d86c5013b6ec990eabe353d779a
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
The cpufreq update util calls after update_task_ravg() are
no longer needed. This is taken care in WALT when a window is
rolled over. Besides these calls were ineffectual since
SCHED_CPUFREQ_WALT wasn't passed in the flag parameter.
Change-Id: I28ac40b33662584ec9f8fff116e66a6f33a8d010
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
With commit d8c5bfcc07 ("sched: Make sure window start passed to
schedutil is consistent"), the rq->load_reported_window is presented
to the governor as the window_start marker. The rq->load_reported_window
is updated when load is reported to governor only during a window rollover.
So it should be consistent with the current window start mark. But for a
just hotplugged in CPU, the rq->load_reported_window is not updated
until the next window rollover.
If the load is reported for any other reason before the next window
rollover, the window start marker passed to the schedutil would be
stale and leads to a BUG_ON() in schedutil. The recent window start marker
is cached in WALT in walt_irq_work_lastq_ws. Use this instead of
load_reported_window to fix this problem.
The rq->window_start is cached in rq->load_reported_window to filter
the utilization updates in the same window. This is not needed since
utilization updates are not sent when SCHED_CPUFREQ_WALT flag is not
set. So kill the load_reported_window maintenance.
Change-Id: Idaefcb0b9cecb15ea436ac7a66cb6da81e3852a1
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
The original dump size of rpmh is unable to allocated. Correct
the size of rpmh to make SDI be able to dump rpmh.
CRs-Fixed: 2238517
Change-Id: I10ce6144b85047a583497b0d18fca4c102de5788
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Remove the S1 bypass flag to enable SMMU mapping in EMAC
for all the memory allocations.
Change-Id: I07f3927b82ab807905c79d6ee872873cf5e63b63
CRs-Fixed: 2237497
Acked-by: Nisha Menon <nmenon@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Take out the s1-bypass flag from IPA dtsi entries to enable
SMMU for IPA memory.
Change-Id: I8d7e1c8053ec58e93c502ef19bd9fb5f71fcb377
Crs-fixed: 2228863
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>