Use GFP_ATOMIC flag for dma coherent allocations that can
be called from user space. This change is to allow allocations
even if the user space process has SIGKILL pending.
Change-Id: Ia544252c91e559c47428006ca0522a51a7ab59c0
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Observing the memory allocation fails if no free emergency
pool of memory not available. Added retry logic mechanism
to allocate memory max 10 retry count with the sleep of 100ms
Change-Id: I80f8872437352509d7526fc963c4bd1d7fb0ff06
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
do_div() expects the dividend to be a 64 bit type. We are passing
an unsigned long to do_div() from sched_load_avg_task and
sched_load_avg_cpu trace points. This breaks compilation on
a 32 bit system.
Change-Id: I9eb07dba1e62b68d5fc8d12e3f478b22c4ba5e0d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Git-commit: a2ee4e794559cf2ba17dd19117d18787e7c2838d
Git-repo: https://android.googlesource.com/kernel/common/
[cslingutla@codeaurora.org: Fixed trivial merge conflicts]
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
arch_update_cpu_capacity() is used without including the
corresponding header file, fix the compilation error by
including the header.
Change-Id: Ib55c200fb3d19603194cd119cabed75d7d7ce6ba
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Incompatible pointer type found by the compiler which
do_div need to have u64 for first parameter.
Change-Id: If44ee3569de70dd63debac46a25a96f0b558c29f
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Update base address of shared IMEM for sdm640.
Change-Id: I2061f57098c3a2d704e40db51cc23e4cc4727108
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
use code name for sdm640 defconfig files so that
android builds doesn't have to expose soc name.
Change-Id: I603708d9a49439f7899b6bce36741c79dfd4df95
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Enable LLC driver in SDM640 defconfig to help program
LLCC configuration.
Change-Id: I9d9ae7902f2be92477163fba54939f5f744c30e9
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Add LLCC driver which contains the configuration data required to
program the LLCC on SDM640 SoC. The configration data controls the
behavior of LLCC by setting priority, size, how the ways are allocated
when clients use the LLCC and so on. Platform specific driver calls into
the common LLCC driver to program this configuration.
Change-Id: Ie53c7087bd90dbdbc5c207c8994a93e6a8479941
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Add the rtc irq support for alarmtimer to wakeup the
alarm during system suspend.
CRs-Fixed: 2261309
Change-Id: I41b774ed4e788359321e1c6a564551cc9cd40c8e
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Add device tree node to enable RPMSG GLINK communication to WDSP.
In addition to the normal glink properties, the wdsp glink node
must contain the addresses for the tx and rx fifo descriptors.
Change-Id: I6677949988092900e2064bd5ffccdf093f2aed6e
Signed-off-by: Chris Lew <clew@codeaurora.org>
* changes:
sched: Fix compilation error with task_in_cum_window_demand for !SCHED_WALT
sched/fair: move task_fits_max out of SCHED_WALT
sched: fix compilation error in task_fits_capacity for !SCHED_WALT