From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6F40AC4332F for ; Thu, 14 Dec 2023 11:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zntz2Yb0dsYlDD05tr3HAOAR+H0BQBAYmw8aYscXFnI=; b=JZAib6Q9ln+u8KgJMgzG3Zghhh z6gwPkr3XlWXf4Z9xzOlfwPw4AnELNRBxFWJu4P125f3/y2Geb1ColP9ux2WKEb8AuRPSiOX6bbiD wB3JfjmYXBEBtuiZq7t4jdhoIaVFSOzu/M9vr8eI6k716SdMyY4tq+2VGE3CWJMPjzSok3ryb6tPo a6IHmKRkhyiBvFSvs/acvhfYxNhtHPu9ssB7O0ZpWjM+K4mCT4RHrR5iT07CiWPHhMeA9wXUKKBJp 9PBE9i7LlKQrIydaoqPiO2ll5pvcFiDO0q+8ZuKel2WL5EnojkumARLJt9ld8KUn2S9JyKLmEVuYh sn0RD4Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjYj-00Ha4l-33; Thu, 14 Dec 2023 11:07:17 +0000 Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjYW-00HZu3-1w for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 11:07:07 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-dbcd4696590so1754365276.2 for ; Thu, 14 Dec 2023 03:06:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702552014; x=1703156814; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=g2GSxzhcZ07xCv7d1L9tozvjfnh/gD6wLbTwZXMSaKU=; b=EGDdEkIMbCzWRdKEXhh2HGfQ0fN6gfqMfbRlJhAVBf8XB09oPPVCtxL+Kj7PDH3ooc TepuYVzJEABh8eTtVbIh5QLVE1sgOm11yrcEudExiH+cFDCatrX1bxigNfiAtojXRUvs SyWwplCYM/4NfhIoy/EUJKI6Rr56QaXNIzCgP/2r/dc4/e6+8Bs56UoXDSuSVK9NMQ3U kMXTPHU+QAZ3Y9EBqt1B007cLD4reSQniKiToVxTJlagJrvYD2TT6fh8H9H7u7jIAoLp 5qusDqKqnfgE1FwgpA86FM6PBwTjMdaTtcMDrltD9JOWegx3l0YzSw5GhSqCW+p4rjZJ mAwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702552014; x=1703156814; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=g2GSxzhcZ07xCv7d1L9tozvjfnh/gD6wLbTwZXMSaKU=; b=CVAdgAeGLbKhuuugteiSTfrQG/VAfwJxsuxu6OoO1JbIZAyTQOzcHe+nUf9ZX13XQK iM3t7kGOV4J6bltrztm0wPdpW6HeukqhCzabY6WLo5C1zlzcC4y0Tsqyb42jGgFcqcrG UcWUSw1z1OKdeFj2JF4eR36SLQTps2J/KXuqQlqAf6SHslOSS2OwC33i4xWPv+ANe+Bh hhjM7O2Zz2UO5OZ7ch4lUhpm7ObnYZ5k940PslkQlXprwkYZKsjfKl2T32SV4vpMxtGk ozCqAP7M6xA8tIp8Pj+a/CnO39kBCF+ZE5KheLNA13Nl2qYpZVyhpjVwlr7s0JzA+k8n 6HFQ== X-Gm-Message-State: AOJu0Yz/28pBVgJRULmj1LWCFXQXwfsq6Gpbl0EZOyNvydUJB3KzHyjK awepTJx/Xu3fGvvSRIs7eZzCFU6Kmcg= X-Google-Smtp-Source: AGHT+IGGkSzNTGa/Zh9JtgjWjYaXHf5NHT9/GP0mNOA+eSkSEyP37yRz72mdweuJoDQ9Wlcg+oAYfOGLUZc= X-Received: from glider.muc.corp.google.com ([2a00:79e0:9c:201:8447:3e89:1f77:ff8a]) (user=glider job=sendgmr) by 2002:a05:6902:1345:b0:db7:e75c:24c1 with SMTP id g5-20020a056902134500b00db7e75c24c1mr6642ybu.9.1702552014550; Thu, 14 Dec 2023 03:06:54 -0800 (PST) Date: Thu, 14 Dec 2023 12:06:35 +0100 In-Reply-To: <20231214110639.2294687-1-glider@google.com> Mime-Version: 1.0 References: <20231214110639.2294687-1-glider@google.com> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog Message-ID: <20231214110639.2294687-4-glider@google.com> Subject: [PATCH v10-mte 3/7] lib/test_bitmap: use pr_info() for non-error messages From: Alexander Potapenko To: glider@google.com, catalin.marinas@arm.com, will@kernel.org, pcc@google.com, andreyknvl@gmail.com, andriy.shevchenko@linux.intel.com, aleksander.lobakin@intel.com, linux@rasmusvillemoes.dk, yury.norov@gmail.com, alexandru.elisei@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eugenis@google.com, syednwaris@gmail.com, william.gray@linaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231214_030704_658434_AED5D52F X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pr_err() messages may be treated as errors by some log readers, so let us only use them for test failures. For non-error messages, replace them with pr_info(). Suggested-by: Alexander Lobakin Signed-off-by: Alexander Potapenko --- v10-mte: - send this patch together with the "Implement MTE tag compression for swapped pages" --- lib/test_bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index 46c0154680772..a6e92cf5266af 100644 --- a/lib/test_bitmap.c +++ b/lib/test_bitmap.c @@ -507,7 +507,7 @@ static void __init test_bitmap_parselist(void) } if (ptest.flags & PARSE_TIME) - pr_err("parselist: %d: input is '%s' OK, Time: %llu\n", + pr_info("parselist: %d: input is '%s' OK, Time: %llu\n", i, ptest.in, time); #undef ptest @@ -546,7 +546,7 @@ static void __init test_bitmap_printlist(void) goto out; } - pr_err("bitmap_print_to_pagebuf: input is '%s', Time: %llu\n", buf, time); + pr_info("bitmap_print_to_pagebuf: input is '%s', Time: %llu\n", buf, time); out: kfree(buf); kfree(bmap); @@ -624,7 +624,7 @@ static void __init test_bitmap_parse(void) } if (test.flags & PARSE_TIME) - pr_err("parse: %d: input is '%s' OK, Time: %llu\n", + pr_info("parse: %d: input is '%s' OK, Time: %llu\n", i, test.in, time); } } @@ -1380,7 +1380,7 @@ static void __init test_bitmap_read_perf(void) } } time = ktime_get() - time; - pr_err("Time spent in %s:\t%llu\n", __func__, time); + pr_info("Time spent in %s:\t%llu\n", __func__, time); } static void __init test_bitmap_write_perf(void) @@ -1402,7 +1402,7 @@ static void __init test_bitmap_write_perf(void) } } time = ktime_get() - time; - pr_err("Time spent in %s:\t%llu\n", __func__, time); + pr_info("Time spent in %s:\t%llu\n", __func__, time); } #undef TEST_BIT_LEN -- 2.43.0.472.g3155946c3a-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel