Make change to fix AEAD operation issues due to incorrect usage of
new aead interface introduced into kernel msm-4.4.
Change-Id: I472449c52bff40d48f7d65b05e145cc47cba9357
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
CRYPTO_DEV_QCE device only provides a subset of crypto
algorithms, and it also has conflict with HW crypto
device CRYPTO_DEV_QCRYPTO, so disable it.
Change-Id: I406a41ac961757d31209ae0a0a4b4d9cc4d31a1e
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
When MSA0 memory is re-assigned back to host, it needs to get
RWX permissions so that it can be used for data as well as
instructions.
CRs-Fixed: 1104183
Change-Id: I58e19def0042022046e730dd97008a9e1c25b6d6
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
When device enters suspend, the suspend framework disables CPU hotplug
functionality. During the suspend, any attempt from KTM to hotplug CPU
will return error and in this case, KTM wont clear the cpus_offlined
mask. In this case, the device framework assumes the core is still
online. Next time the device resumes from suspend the core
online attempt will be nacked by KTM. Thus the core will be offlined and
subsequent attempts to bring the core online using device framework will
fail.
Update KTM error handling to remove the CPUs from the cpus_offlined
mask, when device offline APIs return error. Thus KTM wont block suspend
framework from bringing the core online. Also, update KTM not to
evaluate new request to offline or online a core when the device is in
suspend entry or exit. The re-evaluation will be triggered when the
device exits suspend.
Change-Id: I334fd782a2c5d604cafb94f44832d9c700891ba2
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Add NOC AHB/AXI clocks, as we need to proxy vote for NOC AHB/AXI
clocks before turning on video core clocks.
Change-Id: I604a94ed28cb8df389eea8815ba0b279c7b7603c
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Configure the limits hardware with the interrupt to listen for.
Limits hardware driver will interact with the trustzone to get
throttling information from the hardware.
Change-Id: I780f9187256596d6f5d93b3847dc98a3c410a51e
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Add MDSS version info along with other capabilities
for msmfalcon.
Change-Id: Ide652165711eec23644d36837f3847d896293709
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Glink ssr client does not send rx done even in success cases.
This leads to memory leak in transport layer.
Added worker for sending rx_done in deferred context.
CRs-Fixed: 1100789
Change-Id: I84a936f834101ba2ad9e354c4d8df6d3c051a2f7
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Add thermal properties to enable kernel thermal monitoring and
mitigations like hotplug, thermal reset, vdd restriction, etc.
for msmtriton. Add mitigation profiles for each physical CPU which
has information like sensor to monitor and various mitigation types
to enable for msmtriton.
Change-Id: Ie85f7ede2d91767d0d5d20c90a481e6365ad7189
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Add thermal sensor related information, which provides information
such as alias, type and scaling factor to Kernel Thermal Monitor(KTM).
The KTM exposes these sensor information via sysfs to thermal-engine.
Change-Id: Id65a720d20fb34b9b5dccf8626af00a1d0519ce3
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
BUG_ON is called when error is returned from copy_from_user and
copy_to_user apis.
BUG_ON is removed and appropriate error value is returned after cleanup.
CRs-Fixed: 1102504
Change-Id: Ia995e60b8d8d335239be0a35876d1becfd9a0f3c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Add etm save retore nodes which saves etm
values across power collapse. Hwevent is
used to collect hardware events.
Change-Id: I329aa4084c0983f066cdd06455c3d69e255a420c
CRs-fixed: 1056777
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>