Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5473279yba; Tue, 30 Apr 2019 15:40:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwovwLhRzSbt4BEyZXiPtWlmyfDFgimyyC30m8ielY1d2eWcx7+47G5R6w+SMVy3Z/C45i X-Received: by 2002:a17:902:1d4a:: with SMTP id u10mr46616670plu.272.1556664029873; Tue, 30 Apr 2019 15:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556664029; cv=none; d=google.com; s=arc-20160816; b=DdWLKXPZ4i5bOxFIe27ZNiyXXozA00NRo2LpSGbCaglhEAlIAoS9LjjTkEMcusqflU L+QwnTuxZBXzO9lZyeNfOrw7Ly9iTbx781JZmuRM27Z1ETgrcQoo4N96jxPGROMCMPri uWZORa/Z1Pifeq7BeCaGLVpKAmoW3AB8exdXFnmluVK8238jx6kK4jCrTAmWMHqK382L ho0EMQFBtJqD7Eq45+6gFFWgut8VzhJ/tizo8GlqszTsIYLBdL2UtPmK8XfjQD+NSCL1 +PP4v3ARjOFf2wVvZmxTjGVJSkmCGH9R39sC0fMuBYMwUI7I5Kt4iurX1gBo1TnGNQgx Qbfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=BH4bZIoYFh+BZeuStnVh4oqr1cPMGw3OERKeRDVWU08=; b=xH1vqGF2rVoRWmNm0+RkwJA2mbTEdHJuCTRJwxdKghafDxm/rZcFspNliW+yM2aWU3 y/EwiUqWXT1uEOCo7x9mqPOyCH9/MgRpBaKX123jGoMTHFo+WO1ZCR7a8VngcQ0EjSHS /7FTnKRN5cyxEUhte83EP4pj48L0tkfrlcHz/otkQLCrsP6FZAxYhkO80R/EJ+4MlOmc itjOZuAvx/U3WZTAS9Ov7oBlz4hVmDX5sLaYvpdmXeoRJJNhkv3lUY2rL7WIAJVfv3wN 5gPsi4zSle3nZu7BjP1TpqlFQvtZcO5Pq+PjPP/qpvFztcGc5iiwpe99oZWTDJoCNWE+ ooZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OIvXEuVL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si36511208pgv.523.2019.04.30.15.40.14; Tue, 30 Apr 2019 15:40:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OIvXEuVL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727452AbfD3WjN (ORCPT + 99 others); Tue, 30 Apr 2019 18:39:13 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37874 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbfD3WjM (ORCPT ); Tue, 30 Apr 2019 18:39:12 -0400 Received: by mail-pf1-f195.google.com with SMTP id g3so7782205pfi.4 for ; Tue, 30 Apr 2019 15:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BH4bZIoYFh+BZeuStnVh4oqr1cPMGw3OERKeRDVWU08=; b=OIvXEuVL9Uv69bTytaoqWmRftzsJ4wBG0LYBtrjl6WnOblUu05EIVX+NHm/lpilCno b8WwUWIF6x5Y5G/SSCjGEMqDKPGlKEZMGXBBBF80JQyvCTKr8gQzEQZB2W+FcfO52KvM L+DuKuA9cl2LR6x7m6FHyKYx+V4h8AroJ0Ujg0oTX0Kkw6QS8Xv03E87GIYi+y9oD5IF qrmZcI3U9V0KNFOki8GtqaWJf4h9sBQftWmZoOmpXF4xSfBaq13Seoh3hKAvA2fkr4Ok nKIqrp/xeB9s/o9e3lQYdu3KJuP3kwAHvJ7sGZnxhUefsNaSl0uKEikSsP5Fnvzs04qy PV4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BH4bZIoYFh+BZeuStnVh4oqr1cPMGw3OERKeRDVWU08=; b=U6sjPLTWxN5FEsrKl3+Zyx4wxGgYgBJCDgyjMIpbjLM+vLOK39+ZKTzCpL62ofBmdJ RyLDMeUGmRP1i1IpUwMH+00EJWVE2U462VHGPjRLHTmJJVBxW727dBPrGO7QFmS8iHD1 JDGY/YK3Wh+SusMQmmObiunemAic8Zf/sSQWHYy5Sjy9xMRwTqAngs9Q5saXdenoGMKL gvCwCCM7tqVofAyTWIU5qpNdxrOgVuHh6Q1l8ycIETmMtVNoI+H//GomEIsP07N9U2vo YqAEiDVPvytovoTux/iWBJL7jv64tOiPmFy3nI5j119x4Gt6hFILZBGzOJ7NKXOrdZSt WHaw== X-Gm-Message-State: APjAAAVuEWvc8EQXRiYOe+EUjgPgE3gh4Tz/elNuLFQpxAChSBkrK3/M TfD9NhbpKxLWFOthvApHqNY= X-Received: by 2002:a63:4c1a:: with SMTP id z26mr53118353pga.324.1556663951853; Tue, 30 Apr 2019 15:39:11 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id c28sm27788476pgm.42.2019.04.30.15.39.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 15:39:10 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: rmk+kernel@armlinux.org.uk, Florian Fainelli , Catalin Marinas , Will Deacon , Ard Biesheuvel , Marc Zyngier , Julien Thierry , Suzuki K Poulose , Sudeep Holla , Rob Herring , Steve Capper , Lorenzo Pieralisi , Daniel Thompson , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] arm64: Demote boot and shutdown messages to pr_debug Date: Tue, 30 Apr 2019 15:38:31 -0700 Message-Id: <20190430223835.23513-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to commits c68b0274fb3cf ("ARM: reduce "Booted secondary processor" message to debug level") and 035e787543de7 ("ARM: 8644/1: Reduce "CPU: shutdown" message to debug level"), demote the secondary_start_kernel() and __cpu_die() messages from info, respectively notice to debug. While we are at it, also do this for cpu_psci_cpu_kill() which is redundant with __cpu_die(). This helps improve the amount of possible hotplug cycles by around +50% on ARCH_BRCMSTB. Signed-off-by: Florian Fainelli --- arch/arm64/kernel/psci.c | 2 +- arch/arm64/kernel/smp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c index 8cdaf25e99cd..a78581046c80 100644 --- a/arch/arm64/kernel/psci.c +++ b/arch/arm64/kernel/psci.c @@ -96,7 +96,7 @@ static int cpu_psci_cpu_kill(unsigned int cpu) for (i = 0; i < 10; i++) { err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); if (err == PSCI_0_2_AFFINITY_LEVEL_OFF) { - pr_info("CPU%d killed.\n", cpu); + pr_debug("CPU%d killed.\n", cpu); return 0; } diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 824de7038967..71fd2b5a3f0e 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -259,7 +259,7 @@ asmlinkage notrace void secondary_start_kernel(void) * the CPU migration code to notice that the CPU is online * before we continue. */ - pr_info("CPU%u: Booted secondary processor 0x%010lx [0x%08x]\n", + pr_debug("CPU%u: Booted secondary processor 0x%010lx [0x%08x]\n", cpu, (unsigned long)mpidr, read_cpuid_id()); update_cpu_boot_status(CPU_BOOT_SUCCESS); @@ -348,7 +348,7 @@ void __cpu_die(unsigned int cpu) pr_crit("CPU%u: cpu didn't die\n", cpu); return; } - pr_notice("CPU%u: shutdown\n", cpu); + pr_debug("CPU%u: shutdown\n", cpu); /* * Now that the dying CPU is beyond the point of no return w.r.t. -- 2.17.1