Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lcd level is very large, cause kmalloc failure at boot. [ 20.251598][ T184] CPU: 7 PID: 184 Comm: kworker/u16:5 Tainted: G S W O 5.10.43-qki-consolidate-android12-6-00001-g884885f3443c-dirty #1 [ 20.251600][ T184] Hardware name: hiphic (DT) [ 20.251605][ T184] Workqueue: events_unbound deferred_probe_work_func.cfi_jt [ 20.251609][ T184] pstate: 20c00005 (nzCv daif +PAN +UAO -TCO BTYPE=--) [ 20.251612][ T184] pc : __alloc_pages_nodemask+0x114/0x178 [ 20.251617][ T184] lr : kmalloc_order+0x58/0x150 [ 20.251619][ T184] sp : ffffffc011713260 [ 20.251621][ T184] x29: ffffffc0117132a0 x28: ffffff87a8669004 [ 20.251624][ T184] x27: 00000000ffffffff x26: 0000000000000010 [ 20.251628][ T184] x25: ffffff87a8669018 x24: ffffff88fbe78760 [ 20.251631][ T184] x23: ffffffdc8b1148b0 x22: 0000000000000000 [ 20.251634][ T184] x21: 0000000000040dc0 x20: 000000000000000d [ 20.251638][ T184] x19: 0000000001004078 x18: ffffffc01086d0c8 [ 20.251641][ T184] x17: 0000000000000000 x16: 0000000000000000 [ 20.251644][ T184] x15: 0000000000333000 x14: ffffffdc8b22f000 [ 20.251647][ T184] x13: 0000000000000004 x12: 00000000172b7cb7 [ 20.251650][ T184] x11: 0000000000000015 x10: 0000000000000033 [ 20.251654][ T184] x9 : 0000000000000001 x8 : 10f9b5807f859a00 [ 20.251657][ T184] x7 : 622d306c656e6170 x6 : ffffffdc829d9ea4 [ 20.251660][ T184] x5 : 0000000000000000 x4 : 0000000000000000 [ 20.251663][ T184] x3 : 0000000000000000 x2 : 0000000000000000 [ 20.251666][ T184] x1 : 000000000000000d x0 : 0000000000040dc0 [ 20.251670][ T184] Call trace: [ 20.251673][ T184] __alloc_pages_nodemask+0x114/0x178 [ 20.251676][ T184] kmalloc_order+0x58/0x150 [ 20.251679][ T184] __kmalloc+0x3b8/0x608 [ 20.251684][ T184] thermal_cooling_device_setup_sysfs+0x84/0x164 [ 20.251687][ T184] __thermal_cooling_device_register+0x1c8/0x6a4 [ 20.251690][ T184] thermal_of_cooling_device_register+0x14/0x24 [ 20.251896][ T184] backlight_cdev_register+0x88/0x100 [msm_drm] [ 20.252104][ T184] sde_connector_init+0x330/0xee0 [msm_drm] [ 20.252311][ T184] sde_kms_hw_init+0xd94/0x1bc0 [msm_drm] [ 20.252518][ T184] msm_drm_bind+0x228/0x93c [msm_drm] [ 20.252523][ T184] try_to_bring_up_master+0x7c/0x20c [ 20.252526][ T184] __component_add+0x130/0x254 [ 20.252529][ T184] component_add+0x18/0x28 [ 20.252734][ T184] dsi_display_init+0xd14/0xe58 [msm_drm] [ 20.252939][ T184] dsi_display_dev_probe+0x3b8/0x5c8 [msm_drm] [ 20.252943][ T184] platform_drv_probe+0x60/0x180 [ 20.252946][ T184] really_probe+0x208/0xb54 [ 20.252949][ T184] driver_probe_device+0x130/0x254 [ 20.252952][ T184] __device_attach_driver+0x1e8/0x324 [ 20.252954][ T184] __device_attach+0x170/0x364 [ 20.252957][ T184] bus_probe_device+0x4c/0x164 [ 20.252960][ T184] deferred_probe_work_func+0x12c/0x1e0 [ 20.252964][ T184] process_one_work+0x224/0x554 [ 20.252966][ T184] worker_thread+0x350/0x7e4 [ 20.252969][ T184] kthread+0x29c/0x310 [ 20.252972][ T184] ret_from_fork+0x10/0x30 [ 20.252975][ T184] ---[ end trace d046251bb39c40cf ]--- CONFIG_THERMAL_STATISTICS is in gki_defconfig, don't allow disabled, so add property to avoid this issue. Change-Id: I2775ce0a3fb77449aa52ba9e75fc6cc31893764c Signed-off-by: zoujc <[email protected]> Reviewed-on: https://gerrit.mot.com/2011162 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Jianqi Yang <[email protected]> Reviewed-by: Guobin Zhang <[email protected]> Tested-by: Jira Key Submit-Approved: Jira Key
- Loading branch information