Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1185283rdb; Fri, 2 Feb 2024 17:34:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IERQI2xhqM+uXfJHTr4+z2qVLim21t3vsa9NfjDDfub9wOE8Ev1Qr8R/gl6s+r+g0adv4kB X-Received: by 2002:a05:6808:14cf:b0:3bf:5e23:5082 with SMTP id f15-20020a05680814cf00b003bf5e235082mr7598935oiw.10.1706924055255; Fri, 02 Feb 2024 17:34:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706924055; cv=pass; d=google.com; s=arc-20160816; b=CJcIr47bh/ixTOqbMJcLu9tmssHC2iQcGBY14gwbf3E/v9aXa3VrJNKTdYHV7f3gII easPyKFuCaITUAZtnLVYELWdu6yg8Yg2oVNKIiFoFs1tDxJoKzmRcQ8aMKaMwQrwThSN 8niDfP8VMJnbr2CeLOPiRMDJpBkHLtXm8dwWYuaBrpPwrPPmQY+hTyt69v18n3S9vleS ehBmw0E127UmA7Du8s0vDdkJnKP4C/XJOgrQ5y8FluL9frXI8ZRREmDHqURqD64iaU0S xLM8y8FeGJ1TB9fgSdrNkiFU91s3H2WO6uFAtHBJ5s9AREaPstuY8C4Q1fg4hHBuvB7r 3LEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=lphfwrY1f0c3xtTQDhkSgaQIOcMTTNAmHLaKQEhC6Ig=; fh=IddDrIzVA0ZjSMh5JSA7Aq+FBQFP6m5MQFBTAeBlxwE=; b=DTTok69Z5cqbgy2rBp4JVGQ4IdCyg0EymxeaAVUkCrGfTisqbLow+cGuP7UQi4PYn1 mKnTTJlrAEswge6Ie4CTzzIykOqS9zT9uxACIOb+SEBcYVB3zyzvh/JxefxkmGumJw5X I3CnK4yciMzRXj4vPjDVK+1YfdKBgJTOlwH+3fJfSSXKjtXZlM+dLNP9cRSHMjIoBND/ g75ZX188Q9E0Pr6PYi7ocersJxEjw5ht+UAV59rUiWkGtgp4ssa663wq3QgesFETZVQD 8xen1Ew9mYK9sRfr8Ekgwg3l98PCgaSOYpNbHPFxv6JFIwxDxPXAsQ1jTepN1xnT1Bql Ednw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=f+sJo0Sf; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-50785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=1; AJvYcCVrBQtXdsaI8NewJ3frveIRxQpCLJruduFpaS+iU3j7Nc6f4+bt+HUkaT7YCBwqqf83byjDc3Zkgj9VkwCzWPhtYt7N0qDGcheUoN6L+g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x17-20020a056a00271100b006daa39df411si2344329pfv.371.2024.02.02.17.34.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 17:34:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=f+sJo0Sf; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-50785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 19634290712 for ; Sat, 3 Feb 2024 00:31:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCA81F507; Sat, 3 Feb 2024 00:29:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="f+sJo0Sf" Received: from relay.smtp-ext.broadcom.com (unknown [192.19.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93F3863B1 for ; Sat, 3 Feb 2024 00:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.166.228 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706920189; cv=none; b=Juq8qSRypp5KqYo4PkLPMTQEjcrFvEvsJb/y+Vp9MFtwGCzSaAx63zzSt+nkJ0kxt+/5lb7IxKVAH/YH7PhG5JLp8ry6Yw8pClt9XJMHtsci1wcuu1ikNP0Ds6G4tT9QO951zn8kS5Oyy4kpNbQIkX1wm7euG1R8g9hFfiQCxaU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706920189; c=relaxed/simple; bh=Q7J2Zj0x+V066NnBWUy8V8SvBx4jy2iPJqCndOxMrK0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mNoFTnNIKECeIPQdczBLKgv+ysyBOY9NIjVet5wI8lDvM7RjLAnLmf9niA6yWAvzJ/lcg5x0c70PSXnXhDtziWJHlTvDGIOnc8iZNlBOSzQQfZTkeTfWAzjMSNYFrIqn/svs8hisJLJSGLTGNh6gbw1KSCOskap/L4TdC5lDhzA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=f+sJo0Sf; arc=none smtp.client-ip=192.19.166.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id E1B40C003416; Fri, 2 Feb 2024 16:29:46 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com E1B40C003416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1706920186; bh=Q7J2Zj0x+V066NnBWUy8V8SvBx4jy2iPJqCndOxMrK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f+sJo0SfOtkLQHuTWNQtv1Xan5eJD1YN9ueX9C8yKlSNDwlg/SmCFXUh5s5ut2lqf NTYM6id7b7k4GNFEZjrNgWvKOzXfVKJicEzmPi9w2679+4lnUVKMVUomGFxWRClSC7 Q4kiJ/z2AvRTVByLv7rJQoQ/EyHCzR9DjCatgJUk= Received: from bcacpedev-irv-3.lvn.broadcom.net (bcacpedev-irv-3.lvn.broadcom.net [10.173.232.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 7B66F18041CAC4; Fri, 2 Feb 2024 16:29:45 -0800 (PST) From: William Zhang To: Linux MTD List , Linux ARM List , Broadcom Kernel List Cc: f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, David Regan , William Zhang , Miquel Raynal , linux-kernel@vger.kernel.org, Vignesh Raghavendra , Brian Norris , Richard Weinberger Subject: [PATCH v4 12/12] mtd: rawnand: brcmnand: update log level messages Date: Fri, 2 Feb 2024 16:28:33 -0800 Message-Id: <20240203002834.171462-13-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240203002834.171462-1-william.zhang@broadcom.com> References: <20240203002834.171462-1-william.zhang@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: David Regan Update log level messages so that more critical messages can be seen. Signed-off-by: David Regan Signed-off-by: William Zhang Reviewed-by: William Zhang --- Changes in v4: - Revert the log level change for correctable ecc error Changes in v3: None Changes in v2: - Added to patch series drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/raw/brcmnand/brcmnand.c index 7ce2b267676f..e50582b45182 100644 --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c @@ -1143,7 +1143,7 @@ static int bcmnand_ctrl_poll_status(struct brcmnand_host *host, if ((val & mask) == expected_val) return 0; - dev_warn(ctrl->dev, "timeout on status poll (expected %x got %x)\n", + dev_err(ctrl->dev, "timeout on status poll (expected %x got %x)\n", expected_val, val & mask); return -ETIMEDOUT; @@ -2196,7 +2196,7 @@ static int brcmnand_read(struct mtd_info *mtd, struct nand_chip *chip, return err; } - dev_dbg(ctrl->dev, "uncorrectable error at 0x%llx\n", + dev_err(ctrl->dev, "uncorrectable error at 0x%llx\n", (unsigned long long)err_addr); mtd->ecc_stats.failed++; /* NAND layer expects zero on ECC errors */ -- 2.37.3