Accordingly to (CR), overall device performance has improved
significantly after disabling PPR (PerProcess Reclaim), mainly on launch
time, major page faults, memory pressure, swap IO, and steals (kswapd,
direct and total steals).
Therefore, PPR should be disabled for this device.
FPS tests results:
http://perf.mot.com/apps/fps/rungraphs/?runids=45049,46182
Change-Id: I8bbccb92a27125b8abaf6f2afe6a3b4a6ec5b074
Reviewed-on: https://gerrit.mot.com/2166482
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Fernanda Schmidt <fschmidt@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
This reverts commit b69bc86c01cef6c6828f5861e3f5e0877505c908.
Freeze feature should be disabled both on upper and lower layers.
Change-Id: Ibaa36bb72ad6219d2699e21b14c2c0a59d94df88
Signed-off-by: Murilo Alves <alvesm@motorola.com>
Reviewed-on: https://gerrit.mot.com/2152151
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
This reverts commit ca4dd90f57b3e814a18495205f8823b7b456a70b.
Freeze feature should be disabled both on upper and lower layers.
Change-Id: I649ea96a42f7669103b760f94dec9302480593bd
Signed-off-by: Murilo Alves <alvesm@motorola.com>
Reviewed-on: https://gerrit.mot.com/2152150
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
This reverts commit 1d847974a85f6ce044b744a5d3136bbbb75e7c52.
Freeze feature should be disabled both on upper and lower layers.
Change-Id: I499cbe821f419a0251cad3c62c236eea0fb0c87f
Signed-off-by: Murilo Alves <alvesm@motorola.com>
Reviewed-on: https://gerrit.mot.com/2152149
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
On Android S, SamSung TW performance is abnormal, after write about 30GB data continually,
the sequent write performance will drop from 450MB/s to 200MB/s.
After switch to WB, the sequent write speed will keep 450MB/s.
Change-Id: I513e6daee45d5ffbdd411fb5d747ccd4f32ca34f
Reviewed-on: https://gerrit.mot.com/2146604
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Accordingly to https://source.android.com/devices/tech/debug/jank_jitter
, CONFIG_HZ value can be changes in order to reduce janks. As the most
of Motorola devices use CONFIG_HZ=300 and Denver uses CONFIG_HZ=250
(check (CR)), changing CONFIG_HZ to 300 is a good call to prevent
janks (mostly for heavy-use cases).
This gerrit makes CONFIG_HZ_300=y, in order to CONFIG_HZ=300.
Change-Id: I82663948f5f01baff7872ba1a8ec1bba3c8f049f
Reviewed-on: https://gerrit.mot.com/2147064
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Fernanda Schmidt <fschmidt@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Carlos Pinho <cpinho@motorola.com>
Submit-Approved: Jira Key
On Ibiza, accordingly to (CR), overall device
performance has improved when CONFIG_HZ_300 is set to y.
We observed ~17% performance gain on mean launch time.
FPS run with tes results available at:
http://perf.mot.com/apps/fps/rungraphs/?runids=45049,45389
Therefore, CONFIG_HZ_300 should be set to y.
Change-Id: Ib2f958ce7cfa1fb389afd8352447d3a45ae02762
Signed-off-by: Luiz Cressoni <lutcho@motorola.com>
Reviewed-on: https://gerrit.mot.com/2145700
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Pedro Henrique Fonseca Bertoleti <pedrohfb@motorola.com>
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Carlos Pinho <cpinho@motorola.com>
Submit-Approved: Jira Key
camera ois use platform_get_irq_optional.
and this api exists in abi_gki_aarch64.xml.
Change-Id: Ic962a879e7b89510fcff203a0a278843d679bd70
Signed-off-by: liuwang2 <liuwang2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139758
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
TZ protect gpio45,46,56,57 for NFC SPI,
but the four of them are used for camera sensor power supply.
so we need to saperate them from holi baseline
Change-Id: I67746f299490c56baf1df3e0fa31482362ba9837
Signed-off-by: Xiaofeng Wang <wangxf32@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2131677
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xingyun Fu <fuxy7@motorola.com>
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: <weilt2@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Focal_fps_mmi.ko will use strcat to cat version.
we need to add it to abi list to avoid build error on user build.
Change-Id: I2fd3e35faff5c239111d417b5a5d9efd56ebec4b
Signed-off-by: wuwl10 <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/2131504
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: gaoyx9 <gaoyx9@motorola.com>
Submit-Approved: gaoyx9 <gaoyx9@motorola.com>
Tested-by: gaoyx9 <gaoyx9@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
For each project has its own reserve gpio list. So we should have
the way to distinguish it in every different products.
We use a macro definition for this. If the gpios are not assigned to
TZ, they should be removed from the list.
Change-Id: I0837a3abdf8d7398aa2e7138563cb891b9f53780
Reviewed-on: https://gerrit.mot.com/2121376
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For Rhode5gp project,
Move SPI to GPIO from TZ to HLOS , refer to this change :
https://gerrit.mot.com/#/c/2119002/
wt6670f irq pin use gpio56,
Display use gpio46 to enable VCI.
Charge use gpio45 , gpio57
so remove gpio45/46/56/57 reserved from HLOS
Change-Id: Iadc24906dcd17ba72d320394fa74824286c4089f
Reviewed-on: https://gerrit.mot.com/2119174
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Remark:
enable Micron hid feature for milan 5G on mot4350 family.
disable for denver,ibiza, cyprus 5G, corfu 5G and rhodep,for
these projetcs not use Micorn uMCP, or the Micron uMCP used is
not support HID feature.
further project if reuse currently baseline need define it accordingly.
Change-Id: I24f2fe21260a4329df3f96f263efd0ba169c0460
Reviewed-on: https://gerrit.mot.com/2099662
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
AW skt5.3.1.1 put skt params in afe side.
can't deal cowork scene.
as KP liyif request.
return back to skt params in acdb method.
and use the latest skt v5.3.0 algo.
delete params from bin config for milanf.
Change-Id: Id0dbdedec26bba231031742853a01655667cadcf
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2113315
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1.seperate aw params from acdb. stored in aw_skt.bin
use CONFIG_AW882XX_PARAMS_FROM_BIN macro
2.use profile for different scene.
3.need to match new skt algo V5.3.1.1
enable it for milanf
Change-Id: I0ddc5c916e4ce1e84787be259264b8ff5eba411d
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2095738
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
for build user version error, so need to
add some api to qcom gki white list
Change-Id: I0da80b6b41bbdb3e9cb416a8f7385c3d46c44976
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2093395
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
mfd_add_devices/mfd_remove_devices and devm_pwm_get
are in GKI Whitelist and they have been used by leds_lm3697.ko.
so add it to qcom whitelist for user build.
Change-Id: I73e25d25bbbcade53d5ca072c3175202188b40fb
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2090764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
memset32 & regmap_raw_write are in GKI Whitelist and
they have been used by RT9426A_mmi_fg.ko.
so add it to qcom whitelist for user build.
Change-Id: Ic7a09e482808786eecb3a8c456307bdf76fa21eb
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2090736
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Submit-Approved: Jira Key
Hardware randomly unstable will trigger "dm-verity device corrupted"
and reboot the phone. Then it will not stamp the vbmeta partition with
the "AVE0" flag, which is persistent. Then it will boot up failed at
the next boot with AVB header check failed.
Moto has own Google verified boot process with the RED alert logo.
so we ignore this.
Change-Id: I631a601e5b0f6e2f4ef06f19bb53dd29b2534c7d
Reviewed-on: https://gerrit.mot.com/2079554
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Recorded from QC SR: 05399803 as if the qseecom_supsend will only
cancel the workqueque when the crypto bus scaling is enabled. Hence
restrict the operation if without the configuration.
Change-Id: I8d6d347a6393da76641fc8fa4601016629b4a53c
Signed-off-by: quebs2 <quebs2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2072405
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This change is experimental in nature during development phase.
We need some soak data to decide if we could keep coresight off for use build.
Change-Id: Iec48446f1aded3e60fb5e110fd3664c9e4af2d70
Reviewed-on: https://gerrit.mot.com/2066960
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhongsheng Xia <xiazs1@motorola.com>
Reviewed-by: Yifu Lin <linyf@lenovo.com>
Reviewed-by: Chuanchun Zhu <zhucc2@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
defconfig:
Remove novatek touch driver from corfur. Because corfur does not
support novatek touch, and use ko to load driver.
Change-Id: I1c060069985dcf6ff54cd60909a69f4a6920b512
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2046837
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For some debug situations, we need to force adb function
enabled without charger notification. So we add the forcing
logic. And it is controlled by a dts
configuration("qcom,force-adb-enable")
Change-Id: I1a779c0e8b9f60cdbf978d555b3f1e537db4740f
Reviewed-on: https://gerrit.mot.com/2038917
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Submit-Approved: Jira Key
This reverts commit 585af9cffc7ae94d3a33bcfe65b020618b944248.
Re-enable coresight in user build.
We need to enable coresight feature to supporting the collection of modem log
Change-Id: If4d109d8575e34388ef6d425b80ad59874921b6e
Reviewed-on: https://gerrit.mot.com/2034963
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key