From 3058bd15490e711601b8261989ebab71917ec6d6 Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Sat, 16 Nov 2024 19:05:46 +0530 Subject: [PATCH] ARM: dts: msm: Disable mem-offline node Temporarily disable mem-offline node in tuna to resolve bootup crash due to page allocation from movable zone. The bad page state was reported for Movable zone [ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe [ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe [ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0) [ 84.312225][ T1622] page_type: 0xffffffff() [ 84.342884][ T1622] page dumped because: nonzero _refcount [ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563 This fixes the bootup crash by TAO preventing page allocation from movable zone but will land in QCOM branches through LTS. Once landed revert back this temporary change. Change-Id: I18b72d87168671987168f905d2e14d85f8b109fe Signed-off-by: Vijayanand Jitta --- qcom/tuna.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index f1ecb6ae..ff0dd51b 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -84,6 +84,7 @@ offline-sizes = <0x2 0xc0000000 0x1 0x0>; granule = <512>; qcom,qmp = <&aoss_qmp>; + status = "disabled"; }; firmware: firmware {