add "device_remove_bin_file" white list for aw8838 driver.
it could be found in the latest abi_gki_aarch64*.xml file.
Change-Id: I1d73efccfd0d6f2e5d412a3e327843b04b62ce2b
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2706089
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
we are not serving system suspend if spi xfers were in progress, doing
force suspend if spi xfers were completed.
Port of patch spi_geni_fix2.patch provided by qcom in case 06677540
Change-Id: I929031556694abf77e78e573a6f56986dc8667e9
Reviewed-on: https://gerrit.mot.com/2697260
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Bruno Oliveira <brunosoe@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
fix the error dtb project config
the error will block start-up, the error uart log is as below:
Best Soc Dtb 0x1FB/0x10000/0x0/0x0
Unable to find the Board Dtb
Error: Board Dtbo blob not found
BootLinux() failed: Not Found
Slot _a is not looking good
Change-Id: Id147a84a0beafba097b2915303d9944834e9c550
Signed-off-by: Franz Wang <wangxf14@motorola.com>
Reviewed-on: https://gerrit.mot.com/2684376
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Details:
There is no second flash supplier
So close this macro
Change-Id: I7f2fd8ed04d3e16ff15cd1ecfc34d9f2710452c6
Signed-off-by: Simon C <chenzm8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2674947
Reviewed-by: <huqian4@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
add "snd_soc_add_card_controls" white list for fs1815 driver.
it could be found in the latest abi_gki_aarch64*.xml file.
Change-Id: I3f31e167317f273322858da8bf2188c161c88a3d
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2658776
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Submit-Approved: Jira Key
In order to track the usb abnormal disconnect problem,
open some log about usb in factory version recommended
by Qualcomm for bangkk.
Change-Id: I015803505ac6111780ca29f6684a8e3780ae938b
Reviewed-on: https://gerrit.mot.com/2654714
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
vdex/odex file mmap operation actually does random access, the large
read ahead size can harm the performance, use this configuration to
limit the uplimit of read ahead cache size
Change-Id: Ic370e9372803e538b247b69501875018afeba32e
Signed-off-by: wangwang <wangwang@motorola.com>
Reviewed-on: https://gerrit.mot.com/2650468
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Sometimes the cell voltage exceed the max limit when pump
disable/enable. Only allow the pump enable/disable when soc
is lower than 90%.
Change-Id: I775d22ee7491cd25e2a3a53fbbb5472c80cc8fc6
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2647497
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Submit-Approved: Jira Key
1.modify the voltage of fake battery to 4.2V
2.modify the level of fake battery to 10%
Change-Id: I851ea8d5e80c3fa78eb659992446e0b81dbb43b4
Reviewed-on: https://gerrit.mot.com/2646055
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Powering on and initializing main sensor in camera open instead of
streams configuration to optimize the startup KPI.
It is a common feature and depends on sensor setting.
It can save about 30ms.
Porting this func from (CR) and (CR).
mot-cam-category: KPI
Change-Id: I622db10b469c0e3f26619200bebad95836d8ed9f
Signed-off-by: Liu Yang <liuyang81@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2640370
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zilong Zhang <zhangzl7@lenovo.com>
Reviewed-by: <leixu1@motorola.com>
Reviewed-by: Bolei Shang <shangbl1@lenovo.com>
Reviewed-by: <zhanys2@motorola.com>
Reviewed-by: <wuhao38@lenovo.com>
Reviewed-by: Ji Zhao <zhaoji1@lenovo.com>
Reviewed-by: Dongju He <hedj3@motorola.com>
Reviewed-by: <weilt2@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Due to camera legacy, the camera uapi kernel headers installation
routines need to be updated to consider the camera legacy support.
This commit fixes the routines to install kernel headers for
'make headers_install' and also 'qti_generate_kernel_headers_arm'
and 'qti_generate_kernel_headers_arm64'.
Change-Id: Iec98dad164d5efc0acaa8f90c29a9672efbe3142
Reviewed-on: https://gerrit.mot.com/2619497
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
Add camera legacy support by checking BOARD_CONFIG_CAMERA_KERNEL_NAME
to decide which folder will be used to compile the camera techpack.
Change-Id: I674bc4531818273881e068e29cd8449443e9afc6
Reviewed-on: https://gerrit.mot.com/2616053
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Marcelo Pincinato <mpcinato@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
In qrtr_endpoint_post, getting svc_id based on sk_buff->cb after sk_buff
has been queued to the endpoint leads to a potential use-after-free
scenario. To avoid this race condition, get the service ID via
sk_buff->cb before queueing the sk_buff.
Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2022-33292
Bug: 250627197
CRs-Fixed: 3152855
Change-Id: I53205fdffc08fd6dc48fd158c7fe5966f38aa978
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
Signed-off-by: Ashutosh Verma <ashverma@motorola.com>
Reviewed-on: https://gerrit.mot.com/2601336
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 3b34499f4bbabc44f1e46239024ca4fe07a00461.
Change-Id: I3f9a610dc3f0dbc9e935224956c1a21efc46d33d
Reviewed-on: https://gerrit.mot.com/2609785
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit c929eb69b36f01d4920bf516f1fee4be7b4abeec.
Change-Id: I1b29555391999bcdc12195cf5e3d10a21ff1af15
Reviewed-on: https://gerrit.mot.com/2609784
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 0c5ddd0dfcff97eb4546d087c2757cf8d149bd57.
Change-Id: I9bd79de6463879a398a28d5921655e3038ef1320
Reviewed-on: https://gerrit.mot.com/2609783
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 7159dbb11d03d5ed343be00e604b0323389bedc9.
Change-Id: I033fff852c69af310709f76e817801a5e19fbe48
Reviewed-on: https://gerrit.mot.com/2609782
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 5f9995fba5dfa040728619437610119360f64ccd.
Change-Id: I4a0dfd382d738cbd18513d71ed9250b60c7349df
Reviewed-on: https://gerrit.mot.com/2609781
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 745ca1533026d727942efca5464a7334208a9ee7.
Change-Id: I7945c064acad381753d3db6c36985b478447dc9f
Reviewed-on: https://gerrit.mot.com/2609780
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 6cf2be0cfe0c9bc4ca6ab1e8835aace0b2ebcfdd.
Change-Id: I0a30e2ff207d91387d94ea7593ef69555101ce9d
Reviewed-on: https://gerrit.mot.com/2609779
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 943fbd81c3d0bc996fd50856d9cab91213f62b7a.
Change-Id: I63b8b71aa039e709d27377f0134163a6398b8368
Reviewed-on: https://gerrit.mot.com/2609778
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit ac70c47ff84f406637d773c2314e89b3a911bbbe.
Change-Id: Id782c9e6c84871051ad605dfdbd8213d2e0fab87
Reviewed-on: https://gerrit.mot.com/2609777
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 78201f9570128320c849f6a527e1a55b9e2585ed.
Change-Id: I74fcb0d3720b84bc82e36f15846b3518aac136c8
Reviewed-on: https://gerrit.mot.com/2609776
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 1968691ba29356ec6e407f6691ccd3fc5b16f38b.
Change-Id: I410b200e5c30b6aa189c424ae9afd6c9288c3e40
Reviewed-on: https://gerrit.mot.com/2609775
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 5f225d9450f42612a0056e7fec13cfe5e828caac.
Change-Id: Ic0e6dca9a27428421d8ad29517a497133138ee3b
Reviewed-on: https://gerrit.mot.com/2609774
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 4e6324f47996243c54f49591465a0743d586127d.
Change-Id: Iae8f79f63d50424acce595fedcd6ccc01df02d21
Reviewed-on: https://gerrit.mot.com/2609773
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 15a8f8af8670c68474abf476ef1d3017ef8e1Montana.
Change-Id: I3129823e1c05d84cc5616e30b16c906e973e36e3
Reviewed-on: https://gerrit.mot.com/2609772
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 462f77e105f8d43417955974dc9fb1082a10027a.
Change-Id: I2ee54fd0fed9660e2473a41474ab79836c9a4945
Reviewed-on: https://gerrit.mot.com/2609771
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 34909e452db7c4eacb96d5faa4a070d4bf26985b.
Change-Id: I79aa270fe5e4620bde28824d7c90f3c38d491e67
Reviewed-on: https://gerrit.mot.com/2609770
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 819585d2b096f203fabe95cef72a6accd1ef28df.
Change-Id: I739c6ebcc0d2ece0470c37fc942815eeeb5f4c42
Reviewed-on: https://gerrit.mot.com/2609769
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 77a295298e69ff1fbb68fad4646684c70163fb54.
Change-Id: Ic13bafb6fa8bf383caf27a77cce12f8217536334
Reviewed-on: https://gerrit.mot.com/2609768
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.
This reverts commit 83ef32c2525938d7dc08c40f8c770c66fd6cd331.
Change-Id: I2bb041d8430290af3a9e2a8e9c08bf07177fa6a8
Reviewed-on: https://gerrit.mot.com/2609767
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key