Commit graph

916,747 commits

Author SHA1 Message Date
liaohj
5d49be2fa4 configs:fogo:open aw algo
fogo use aw88261
open aw algo.

Change-Id: I5594444436febe1d1521fe666109ed6a4916c319
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2682285
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:18 +08:00
Yonghua Yan
f210f91a8a Add HS phy init sequence dtsi for Host
Add HS phy init sequence for Host mode to support configure
the HS phy parameters for Host and Device mode separately
from device tree.

Change-Id: Ia532d638c6e32377be9c4062f63f0cf227d55d2c
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2605855
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2677516
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
2024-04-18 14:45:18 +08:00
liaohj
a5ae1d0a5a config:fogo:audio bringpu,add related configs
fogo use 4350+aw88261(pri i2s)
add related configs

Change-Id: I0a6873327670b1eb05e882022406aecf00c24aa7
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2677509
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:18 +08:00
Simon C
5192294959 fogo: Bring up flash[3/3]
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
2024-04-18 14:45:18 +08:00
gaoyx9
c43b6350c3 initial kernel defconfig for fogos
Change-Id: I836e00db2c8b70f0542b5703b38f9ee52b8bf86b
Reviewed-on: https://gerrit.mot.com/2674579
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: gaoyx9 <gaoyx9@motorola.com>
Submit-Approved: gaoyx9 <gaoyx9@motorola.com>
Tested-by: gaoyx9 <gaoyx9@motorola.com>
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
2024-04-18 14:45:18 +08:00
xuwei9
3fd5a6de05 FG:improve charger counter accuracy
Improve charger counter report accuracy
for server data collection.

Change-Id: I212961a3db43771a68fc0c2e4b37009f255f2f59
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2675505
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:18 +08:00
zhu chuanchun
c9a0ce3cf3 arm64/config: enable UFS HID and disable HPB on fogo NA
Disable CONFIG_UFSFEATURE will disable SS/Micron HID function.
so need enable it.

Disable HPB function to decrease memory cost.

Change-Id: I5cf1d00fc4922b3c6c5dae903289ba3a64779a55
Reviewed-on: https://gerrit.mot.com/2672207
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dongliang Yue <yuedl1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:18 +08:00
zhucc2
6b73bc7b23 arm64/config: enable UFS HID and disable HPB on fogo row
Disable CONFIG_UFSFEATURE will disable SS/Micron HID function.
so need enable it.

Disable HPB function to decrease memory cost.

Change-Id: I405ad02a5d7f22e5604c0148562705670b9f2bea
Reviewed-on: https://gerrit.mot.com/2672202
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dongliang Yue <yuedl1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:18 +08:00
Lei Chen
9c369fe359 smb5:optimize the pmic irq logs
Frequent input-current-limiting irq logs was
print sometimes. Optimize the pm7250b icl irq logs.

Change-Id: Id60d0749338bdb9d23c1ab3f1ecc69921a6845e8
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2667390
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
liaohj
ba9b664158 qcom: whitelist: Add necessary api for fs1815 dlkm
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
2024-04-18 14:45:17 +08:00
liyun zhang
87cc6eac0b arm64/configs: Add Fogo5G NA defconfig
Add initial defconfig for Fogo5G NA(fogo) bringup,
these configs are copied from Fogo5G ROW(fogor)

Change-Id: I35d45642b982aa0daa0a2421b83114431e8e4ad2
Reviewed-on: https://gerrit.mot.com/2658394
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
liuzhen
d77a95a225 Open USB log in factory version for bangkk[2/3]
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
2024-04-18 14:45:17 +08:00
Lei Chen
77819a1ccc topolygy:fix kansan panic at topology_parse_cpu_capacity
BUG: KASAN: slab-out-of-bounds in topology_parse_cpu_capacity
Write of size 4 at addr ffffffa64515031c by task swapper/0/1
Revert the changes I90055f96c320b15960efac10d8d92c69413eeb6b
Fix the kasan panic.

Change-Id: I7a8701e29a9de82c175e3c4e265a9bf179e32f91
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2649556
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
wangwang
dea5a184f1 bangkok:set mmap readahead upbound limitation as 16 pages
Change-Id: I3fc051ab1b079189018e489c6eb0b90c4a3cd549
Signed-off-by: wangwang <wangwang@motorola.com>
Reviewed-on: https://gerrit.mot.com/2650469
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
wangwang
6a8ae96b36 bangkok:set mmap readahead upbound limitation
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
2024-04-18 14:45:17 +08:00
Lei Chen
db3567cce0 charge:optimize the cp enable in ESR
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
2024-04-18 14:45:17 +08:00
liuzhen
c1faff2cb8 Modify the fake battery spec
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
2024-04-18 14:45:17 +08:00
liaohj
e188599cbf config:FOGO ROW:audio:CONFIG_SND_SOC_FS1815
fogo use wcd9370+fs1815
4375 platform.
add CONFIG_SND_SOC_FS1815 to support.

Change-Id: I228eae099cb71b0eb76c43d0dbefde4f05c6e3b2
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2639573
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
Liu Yang
0c44b6ea8c bangkk: Powerup and initialize sensor early [4/4]
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
2024-04-18 14:45:17 +08:00
liyun zhang
246b0b8ca3 arm64/configs: Add Fogo5G defconfig
Add initial defconfig for Fogo5G(fogor) bringup,
these configs are copied from bangkk.

Change-Id: I6266b787f979b4aaa622c897ac960f133f469cff
Reviewed-on: https://gerrit.mot.com/2627354
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
Gilberto Gambugge
224f161870 camera_legacy: update camera uapi kernel headers installation
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
2024-04-18 14:45:17 +08:00
Gilberto Gambugge
7b3d315852 techpack: add camera legacy support
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>
2024-04-18 14:45:17 +08:00
huqian4
c70d0886c8 bangkk: support dw9784 af drift
details:
Enable dw9784 af drift.

Change-Id: I0299a0a7109e88f04315be2640042b130cb16297
Signed-off-by: huqian4 <huqian4@motorola.com>
Reviewed-on: https://gerrit.mot.com/2616203
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Liu <liuwang2@lenovo.com>
Reviewed-by: <yanglp10@motorola.com>
Reviewed-by: <chenzm8@motorola.com>
Reviewed-by: <leijing1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:17 +08:00
Tony Truong
836e3b0c9a net: qrtr: get svc_id before queueing sk_buff
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
2024-04-18 14:45:17 +08:00
xiewen3
7a7ea6d35b LUR: Revert "BACKPORT: arm64: cpufeature: introduce helper cpu_has_hw_af()"
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
2024-04-18 14:45:17 +08:00
xiewen3
eb19889bf2 LUR: Revert "UPSTREAM: arm64: mm: implement arch_faults_on_old_pte() on arm64"
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
2024-04-18 14:45:17 +08:00
xiewen3
1a384eabfe LUR: Revert "UPSTREAM: x86/mm: implement arch_faults_on_old_pte() stub on x86"
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
2024-04-18 14:45:17 +08:00
xiewen3
e76cbb48fb LUR: Revert "UPSTREAM: mm: add generic p?d_leaf() macros"
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
2024-04-18 14:45:17 +08:00
xiewen3
6ec3a670bf LUR: Revert "UPSTREAM: arm64: mm: add p?d_leaf() definitions"
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
2024-04-18 14:45:16 +08:00
xiewen3
8798d74854 LUR: Revert "BACKPORT: arm64: mm: fix p?d_leaf()"
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
2024-04-18 14:45:16 +08:00
xiewen3
b573ae3587 LUR: Revert "UPSTREAM: x86: mm: add p?d_leaf() definitions"
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
2024-04-18 14:45:16 +08:00
xiewen3
56fc3e3ac8 LUR: Revert "BACKPORT: mm: pagewalk: add p4d_entry() and pgd_entry()"
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
2024-04-18 14:45:16 +08:00
xiewen3
1826331646 LUR: Revert "BACKPORT: mm/hmm: do not call hmm_vma_walk_hole() while holding a spinlock"
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
2024-04-18 14:45:16 +08:00
xiewen3
a281a3400d LUR: Revert "UPSTREAM: mm/vmscan.c: use update_lru_size() in update_lru_sizes()"
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
2024-04-18 14:45:16 +08:00
xiewen3
7a008015a5 LUR: Revert "BACKPORT: mm/swapcache: support to handle the shadow entries"
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
2024-04-18 14:45:16 +08:00
xiewen3
f8a0095395 LUR: Revert "BACKPORT: mm: remove superfluous __ClearPageActive()"
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
2024-04-18 14:45:16 +08:00
xiewen3
0850000858 LUR: Revert "BACKPORT: mm: use self-explanatory macros rather than "2""
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
2024-04-18 14:45:16 +08:00
xiewen3
30837c89d8 LUR: Revert "BACKPORT: mm/vmscan.c: use add_page_to_lru_list()"
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
2024-04-18 14:45:16 +08:00
xiewen3
fb82224f34 LUR: Revert "BACKPORT: include/linux/mm_inline.h: shuffle lru list addition and deletion functions"
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
2024-04-18 14:45:16 +08:00
xiewen3
15869d4f25 LUR: Revert "BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions"
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
2024-04-18 14:45:16 +08:00
xiewen3
efefa59fcb LUR: Revert "BACKPORT: mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion()"
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
2024-04-18 14:45:16 +08:00
xiewen3
e3010ff43e LUR: Revert "BACKPORT: mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()"
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
2024-04-18 14:45:16 +08:00
xiewen3
ae7ee7d386 LUR: Revert "BACKPORT: mm: add __clear_page_lru_flags() to replace page_off_lru()"
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
2024-04-18 14:45:16 +08:00
xiewen3
e784526c51 LUR: Revert "BACKPORT: mm: VM_BUG_ON lru page flags"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 99ec8c955ce7d24ae76309db23e6920a7a920466.

Change-Id: I471a06616d85d9e4216ee38f9145d2dd7b333b4a
Reviewed-on: https://gerrit.mot.com/2609766
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:16 +08:00
xiewen3
b40b2cd682 LUR: Revert "BACKPORT: mm: x86, arm64: add arch_has_hw_pte_young()"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 5adf37f31d207aac909d816b51be3d92a9d2c8ca.

Change-Id: I92db4936ceae197ccab03de584ccc9637d4d065d
Reviewed-on: https://gerrit.mot.com/2609765
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:16 +08:00
xiewen3
4acb10e294 LUR: Revert "BACKPORT: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 1db11940f2946d87b1333667fd99503475728e9e.

Change-Id: I5156f15cde7c0f7d1b38e392b2a36d4b85e3f447
Reviewed-on: https://gerrit.mot.com/2609764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:16 +08:00
xiewen3
0c15b26b72 LUR: Revert "BACKPORT: mm: multi-gen LRU: groundwork"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 82f8143939a9ab52528733433ebfb8f22df2224d.

Change-Id: I7df728d1ad77b59070a61fb90575fdf348532e2a
Reviewed-on: https://gerrit.mot.com/2609763
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:15 +08:00
xiewen3
a246d9f08a LUR: Revert "BACKPORT: mm: multi-gen LRU: minimal implementation"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit bdab47a49135e8ded0e5158717bc3a29dbf79e8c.

Change-Id: I48190e01afcb59dae18d87a1ca785fcec73b2730
Reviewed-on: https://gerrit.mot.com/2609762
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:15 +08:00
xiewen3
eeca9bffa7 LUR: Revert "BACKPORT: mm: multi-gen LRU: exploit locality in rmap"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 574d1e5ff72493a5b3b7b1a47251418e81aa1369.

Change-Id: I909f487156f7da759b5531bec06a74b729e3b392
Reviewed-on: https://gerrit.mot.com/2609761
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:15 +08:00
xiewen3
09002348ef LUR: Revert "BACKPORT: mm: multi-gen LRU: support page table walks"
The LRU function is not compatible with GKI,
causing GKI to fail to start, so revert.

This reverts commit 343d9750c00d2df4b962a32e2e1a8472b0fc09d5.

Change-Id: I9149a4752ca1b2501c85d37ba75507e42fc8b9bf
Reviewed-on: https://gerrit.mot.com/2609760
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-04-18 14:45:15 +08:00