mm: close vmap stack print for armv7 [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Fri, 15 Feb 2019 06:17:36 +0000 (14:17 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 15 Feb 2019 06:17:36 +0000 (14:17 +0800)
PD#SWPL-2681

Problem:
If cpu support idle/hotplug, there are many vmap stack prints:
[   74.096973@1] cpu 1, vmap stack:[e8e90000-e8e91de0]
[   74.097084@1] cpu 1, irq  stack:[e8e92000-e8e93de0]
[   74.105901@3] cpu 3, vmap stack:[e8ee0000-e8ee1de0]
[   74.105984@3] cpu 3, irq  stack:[e8ee2000-e8ee3de0]

Solution:
Close these debug print

Verify:
P212

Change-Id: I000df1f0952328af9f359f20341eb0fe88590056
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/memory_ext/vmap_stack.c

index ea3dacb..94beb26 100644 (file)
@@ -108,10 +108,10 @@ void notrace __setup_vmap_stack(unsigned long cpu)
                WARN_ON(!irq_stack[cpu]);
        }
 
-       pr_info("cpu %ld, vmap stack:[%lx-%lx]\n",
+       pr_debug("cpu %ld, vmap stack:[%lx-%lx]\n",
                cpu, (unsigned long)stack,
                (unsigned long)stack + THREAD_START_SP);
-       pr_info("cpu %ld, irq  stack:[%lx-%lx]\n",
+       pr_debug("cpu %ld, irq  stack:[%lx-%lx]\n",
                cpu, (unsigned long)irq_stack[cpu],
                (unsigned long)irq_stack[cpu] + THREAD_START_SP);
        stack += THREAD_SIZE;