On system crash, some targets are able to collect Minidump,
so add option to collect fulldump as well as minidump or both dumps.
This is snapshot of minidump driver support in msm-4.4,
'commit f4beb492260b ("power: reset: msm: add support to select both
dumps")'
Change-Id: I090653097ba12abb4fc0a1ff44bf155cc0d7a3ed
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
The Minidump design is re architected to decentralize,
more secure, and to be more scalable.
New design uses table of content for each subsystem to
decentralize, and encryption status to secure regions.
Each subsystem have fixed index in global toc, and
its regions table can be located in its own memory.
Change-Id: I104596e51cf976000b97b2519ce7dcd43e72abb4
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
ELF header format is been used in multiple places,
add helper functions to get section, program headers, and
string table section details of the elf header.
Change-Id: Ib67b6f25a3a9c32305710eae4ad66bea511d6799
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[isaacm@codeaurora.org: Resolve trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This enables minidump feature. It allows various client subsystems to
register respective dump regions. Registered Minidump dump regions
would be collected on system crash.
Change-Id: I14377cfba8703f0acadc29e51e2cf7563616571d
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[isaacm@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
* changes:
drivers: cpuidle: lpm-levels: Ignore sleep bias for isolated cpus
cpuidle: lpm-levels: Do not predict LPM for isolated cpus
cpuidle: lpm-levels: Correctly check if its okay to do cluster LPM
drivers: cpuidle: lpm-levels: Remove unused code
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>