Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1971614rwe; Fri, 2 Sep 2022 06:48:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR58zJji1cytu2gyx7kaa/vbyZozZeKZ6GiWlCNkDsveiK5D6Xd1QYV/CZKkSTUmj9ROr3/S X-Received: by 2002:a63:e352:0:b0:42b:dc03:cc38 with SMTP id o18-20020a63e352000000b0042bdc03cc38mr22490451pgj.545.1662126506649; Fri, 02 Sep 2022 06:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662126506; cv=none; d=google.com; s=arc-20160816; b=bUEddxRJCtsNA7ojHxODC/MI4qqxaVz8CyPG2gZhkGKm50kWrOddmzvCceFrmi+EwJ Pvsmy4AAr4hedGVBLhMDaFr5xQfTCQVzyOzK4Kk+2Yy7he9Xp34oTPaQF8skDtvGxqxV pZYes7ztHNQa/4ZS5zVfbLg7QktSoogAs8EaN0v6xBS7sP/grS5YJCU6/ir8Z5S0UsF/ 2XoBog/av3UWRCSkG1DQKhm+zKGz1GDXYRuqu85ddJOCVS5GKHqJmNVCkcqMVuYEyWtH a7Be+D6qpcMBVA58UPJmgjnScZCHUUWKbmbCrQEu4n06hZnU+2E9W/OgAT6w2oO8//46 JXEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/KW9NsoLmqdtifqZy2CSdVCUHqvyUYXGpbhTEiLHyYE=; b=tS8mGKS4uWCeu2l26UPHEK94xrvsZIyioI1K/c3uc7NBs0T2++lfUitKMFco3Afl5F Doh68zCFKH4fJzIM0oC83q5ODhjhKcvOaQpjcy3loSoeI6hb/PRasuBGjOB4wt+6b19z ElOdHyvBSJJuI+oKlPOnM+t67Zdj7jBSlwgWietPe6e5r9yUs/hNhaIxkwyShpC/LYA5 1QnHMSX9RQdHG5zQ601qhPEPhi/NB+ELaVnVvGVXt8GReZbn/2qR1NLroKCbHq1Ae02b kw/QQVQhyhcizIYs0rqagT/i9Co4msMfNDgRtGHANczMSkfw+4gaqzPJRLqNyScR4mcf wHcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rQB7Aoxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a17090341d200b00172883f5a2asi2204875ple.624.2022.09.02.06.48.09; Fri, 02 Sep 2022 06:48:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rQB7Aoxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237345AbiIBMmT (ORCPT + 99 others); Fri, 2 Sep 2022 08:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237261AbiIBMlC (ORCPT ); Fri, 2 Sep 2022 08:41:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A77E725E; Fri, 2 Sep 2022 05:31:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 309A6B82A8E; Fri, 2 Sep 2022 12:29:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 834A5C433C1; Fri, 2 Sep 2022 12:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662121795; bh=88JnIP67Dou7CqPdf10PNQ7CLyF2nEZpaadM9YCR9bs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rQB7AoxmATXv0dkdMp9Yp07eNRc6C9p31dRIwWvn1qKLj0jkTyBErMbmnvBHo565D rOQgdbiuZv/ocQbl2Vivh2O2StqAoh8AQ+1TWVdSKtxHzYEgXhmpNiENUu0zzEMpz8 Bw2AUQHB4LNdgtTHHx0kr7/n7Eobm3glocv4VTX0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Juergen Gross , Heiko Carstens , Christian Borntraeger , Alexander Gordeev , Sasha Levin Subject: [PATCH 5.4 68/77] s390/hypfs: avoid error message under KVM Date: Fri, 2 Sep 2022 14:19:17 +0200 Message-Id: <20220902121405.946095239@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121403.569927325@linuxfoundation.org> References: <20220902121403.569927325@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Juergen Gross [ Upstream commit 7b6670b03641ac308aaa6fa2e6f964ac993b5ea3 ] When booting under KVM the following error messages are issued: hypfs.7f5705: The hardware system does not support hypfs hypfs.7a79f0: Initialization of hypfs failed with rc=-61 Demote the severity of first message from "error" to "info" and issue the second message only in other error cases. Signed-off-by: Juergen Gross Acked-by: Heiko Carstens Acked-by: Christian Borntraeger Link: https://lore.kernel.org/r/20220620094534.18967-1-jgross@suse.com [arch/s390/hypfs/hypfs_diag.c changed description] Signed-off-by: Alexander Gordeev Signed-off-by: Sasha Levin --- arch/s390/hypfs/hypfs_diag.c | 2 +- arch/s390/hypfs/inode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index f0bc4dc3e9bf0..6511d15ace45e 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c @@ -437,7 +437,7 @@ __init int hypfs_diag_init(void) int rc; if (diag204_probe()) { - pr_err("The hardware system does not support hypfs\n"); + pr_info("The hardware system does not support hypfs\n"); return -ENODATA; } diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 70139d0791b61..ca4fc66a361fb 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -501,9 +501,9 @@ static int __init hypfs_init(void) hypfs_vm_exit(); fail_hypfs_diag_exit: hypfs_diag_exit(); + pr_err("Initialization of hypfs failed with rc=%i\n", rc); fail_dbfs_exit: hypfs_dbfs_exit(); - pr_err("Initialization of hypfs failed with rc=%i\n", rc); return rc; } device_initcall(hypfs_init) -- 2.35.1