Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/xive: Remove now useless pr_debug statements

Those overly verbose statement in the setup of the pool VP
aren't particularly useful (esp. considering we don't actually
use the pool, we configure it bcs HW requires it only). So
remove them which improves the code readability.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Benjamin Herrenschmidt and committed by
Michael Ellerman
dbc57402 34c604d2

+1 -9
+1 -9
arch/powerpc/sysdev/xive/native.c
··· 395 395 396 396 /* Enable the pool VP */ 397 397 vp = xive_pool_vps + cpu; 398 - pr_debug("CPU %d setting up pool VP 0x%x\n", cpu, vp); 399 398 for (;;) { 400 399 rc = opal_xive_set_vp_info(vp, OPAL_XIVE_VP_ENABLED, 0); 401 400 if (rc != OPAL_BUSY) ··· 414 415 } 415 416 vp_cam = be64_to_cpu(vp_cam_be); 416 417 417 - pr_debug("VP CAM = %llx\n", vp_cam); 418 - 419 418 /* Push it on the CPU (set LSMFB to 0xff to skip backlog scan) */ 420 - pr_debug("(Old HW value: %08x)\n", 421 - in_be32(xive_tima + TM_QW2_HV_POOL + TM_WORD2)); 422 419 out_be32(xive_tima + TM_QW2_HV_POOL + TM_WORD0, 0xff); 423 - out_be32(xive_tima + TM_QW2_HV_POOL + TM_WORD2, 424 - TM_QW2W2_VP | vp_cam); 425 - pr_debug("(New HW value: %08x)\n", 426 - in_be32(xive_tima + TM_QW2_HV_POOL + TM_WORD2)); 420 + out_be32(xive_tima + TM_QW2_HV_POOL + TM_WORD2, TM_QW2W2_VP | vp_cam); 427 421 } 428 422 429 423 static void xive_native_teardown_cpu(unsigned int cpu, struct xive_cpu *xc)