From patchwork Thu Jun 7 05:39:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stewart Smith X-Patchwork-Id: 926139 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 ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 411ZB66GGMz9s01 for ; Thu, 7 Jun 2018 15:39:58 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 411ZB64nVQzF32Y for ; Thu, 7 Jun 2018 15:39:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=stewart@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 411ZB25VkCzDrYb for ; Thu, 7 Jun 2018 15:39:54 +1000 (AEST) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w575cvpp103685 for ; Thu, 7 Jun 2018 01:39:52 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jevuxbywa-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 Jun 2018 01:39:52 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Jun 2018 01:39:51 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 7 Jun 2018 01:39:49 -0400 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w575dmeN61931558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Jun 2018 05:39:48 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D454CAC03F; Thu, 7 Jun 2018 01:41:12 -0400 (EDT) Received: from birb.localdomain (unknown [9.102.34.30]) by b01ledav006.gho.pok.ibm.com (Postfix) with SMTP id 1C60CAC03A; Thu, 7 Jun 2018 01:41:11 -0400 (EDT) Received: by birb.localdomain (Postfix, from userid 1000) id E16094EC62C; Thu, 7 Jun 2018 15:39:45 +1000 (AEST) From: Stewart Smith To: skiboot@lists.ozlabs.org, joel@jms.id.au Date: Thu, 7 Jun 2018 15:39:45 +1000 X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 x-cbid: 18060705-0072-0000-0000-00000369A4C7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009139; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000265; SDB=6.01043027; UDB=6.00534142; IPR=6.00822157; MB=3.00021491; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-07 05:39:50 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18060705-0073-0000-0000-0000484606B6 Message-Id: <20180607053945.25053-1-stewart@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-07_02:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=973 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806070068 Subject: [Skiboot] [PATCH] libflash: quieten our logging X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Suggested-by: Joel Stanley Signed-off-by: Stewart Smith --- hw/lpc-mbox.c | 2 +- libflash/errors.h | 2 +- libflash/mbox-flash.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c index 4b1d5e526e27..58a99692511e 100644 --- a/hw/lpc-mbox.c +++ b/hw/lpc-mbox.c @@ -111,7 +111,7 @@ static void bmc_mbox_send_message(struct bmc_mbox_msg *msg) */ /* Ping */ - prlog(PR_DEBUG, "Sending BMC interrupt\n"); + prlog(PR_TRACE, "Sending BMC interrupt\n"); bmc_mbox_outb(MBOX_CTRL_INT_SEND, MBOX_HOST_CTRL); } diff --git a/libflash/errors.h b/libflash/errors.h index d144e097ea0e..27662c135c50 100644 --- a/libflash/errors.h +++ b/libflash/errors.h @@ -37,7 +37,7 @@ #ifdef __SKIBOOT__ #include #define FL_INF(fmt...) do { prlog(PR_INFO, fmt); } while(0) -#define FL_DBG(fmt...) do { prlog(PR_DEBUG, fmt); } while(0) +#define FL_DBG(fmt...) do { prlog(PR_TRACE, fmt); } while(0) #define FL_ERR(fmt...) do { prlog(PR_ERR, fmt); } while(0) #else #include diff --git a/libflash/mbox-flash.c b/libflash/mbox-flash.c index 6742d215c039..3239be964b57 100644 --- a/libflash/mbox-flash.c +++ b/libflash/mbox-flash.c @@ -665,8 +665,6 @@ static int mbox_window_move(struct mbox_flash_data *mbox_flash, return 0; } - prlog(PR_DEBUG, "Adjusting the window\n"); - /* V1 needs to remember where it has opened the window, note it * here. * If we're running V2 the response to the CREATE_*_WINDOW command