From patchwork Wed Oct 24 00:07:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 988443 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42frDc6NV5z9s9G for ; Wed, 24 Oct 2018 11:07:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BdtYWGMj"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42frDc4ncczDrSJ for ; Wed, 24 Oct 2018 11:07:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BdtYWGMj"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::643; helo=mail-pl1-x643.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BdtYWGMj"; dkim-atps=neutral Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42frDX72sbzDrRP for ; Wed, 24 Oct 2018 11:07:40 +1100 (AEDT) Received: by mail-pl1-x643.google.com with SMTP id d23-v6so1364844pls.11 for ; Tue, 23 Oct 2018 17:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=MO1Ca2nvycMX7TWg54qMt1MMxJyG6yHuwCqE8FVh8wI=; b=BdtYWGMjo2SMlU6o/PhoyfJ1dywjONQKUpeTVPgHAamOqGXZMBO5P0+222Fc5XuLQ3 Z2Sidv0kifFBT7hWlb6qcyeRNT0q4OzQ58JipaBNmtKAPeGWuUDyCD7BphEzKmfMFO2g e90cDy0Y8+QeQZCe0PYdY7S4kHVfK90qb7kG+315nXuVIve07OktmnlZDlyk0iUgHsIn IaEtTatuqgF3ThaVYglLO1td7ekmR3fBftmaU+lBtf5c7dBGyfZoFTF8PhrDOEgy4HRZ N+FEhYCyzHge8Hj9fRrGs4u9a2/9a5UgNj/R/HUCwtiwuQtfW7+YN49ebAHRGiqAX01O tYgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=MO1Ca2nvycMX7TWg54qMt1MMxJyG6yHuwCqE8FVh8wI=; b=sB1+RuzbrDChtcL2aP2cJEFIJNVpMf5WaNq6QQU1T2VWuJK1c4YJYxyocm5SHetsmV J3zSm0GqJpvqAY+UZT5a/KFD/fYbmtAfYblT09vgCHVUKtK7MYIjplzTGqX45wpknPdG Tx1MQBhuadrnHqxrNL1N2JudkO9P6ZKREHRUDdG5IEJI8mtIJg0i42ZPO+DiAatBoTjz /sdP0zinnLiU8CMMFCcF8/GWjAntHFFbjUsBiwrjRR6TcZN8i9NSkfH4CWLPRNQkRMBu +E1riRJ23yUNe7UbyfWQjCmjQ9kxa06Eu3JXYTDux4SFSBbzJMTwLYJLW+ls5x4BFpgW BjbA== X-Gm-Message-State: AGRZ1gIlmuDUopRFprsKaFRe7CRZT/2nkl+ane5j8UxQFzgLRNhbcxFP 41z8H/y7mwhamwzhx9xACyZ8BxKS X-Google-Smtp-Source: AJdET5eSB1SfqusrpjsLDXLaBdU5wD//yhRY1/v43O2CnHlhiOpVDX+luCsesxteqc3S2z+ICfHIvw== X-Received: by 2002:a17:902:aa45:: with SMTP id c5-v6mr382294plr.100.1540339658292; Tue, 23 Oct 2018 17:07:38 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id r81-v6sm10399718pfa.110.2018.10.23.17.07.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Oct 2018 17:07:37 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 24 Oct 2018 10:37:31 +1030 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Wed, 24 Oct 2018 10:37:30 +1030 Message-Id: <20181024000730.24162-1-joel@jms.id.au> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Skiboot] [PATCH] cpu: Quieten OS endian switch messages X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Users see these when loading an OS from Petitboot: [ 119.486794100,5] OPAL: Switch to big-endian OS [ 120.022302604,5] OPAL: Switch to little-endian OS Which is expected and doesn't provide any information the user can act on. Switch them to PR_INFO so they still appear in the log, but not on the serial console. Signed-off-by: Joel Stanley --- core/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cpu.c b/core/cpu.c index cc5b88c5ce8a..4f518a4c10b2 100644 --- a/core/cpu.c +++ b/core/cpu.c @@ -1467,9 +1467,9 @@ static int64_t opal_reinit_cpus(uint64_t flags) prlog(PR_DEBUG, "OPAL: CPU re-init with flags: 0x%llx\n", flags); if (flags & OPAL_REINIT_CPUS_HILE_LE) - prlog(PR_NOTICE, "OPAL: Switch to little-endian OS\n"); + prlog(PR_INFO, "OPAL: Switch to little-endian OS\n"); else if (flags & OPAL_REINIT_CPUS_HILE_BE) - prlog(PR_NOTICE, "OPAL: Switch to big-endian OS\n"); + prlog(PR_INFO, "OPAL: Switch to big-endian OS\n"); again: lock(&reinit_lock);