Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1971442rwe; Fri, 2 Sep 2022 06:48:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR65ucUS8ld7Rd/foV/SnU/BEOm2c0u+cfFCK6vWToi+6BghXT4xqREp1yRO+OrU0C5kUYA7 X-Received: by 2002:a17:90a:df8c:b0:1fd:ad4a:3f2 with SMTP id p12-20020a17090adf8c00b001fdad4a03f2mr4873372pjv.104.1662126495904; Fri, 02 Sep 2022 06:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662126495; cv=none; d=google.com; s=arc-20160816; b=ADoDHLCsLS7zmW6kOxEr4S0PMXtcN1i0rxd/M7p7FZDV+9U2qmrGCIyLH6UDAqG1F3 gAxVpUDW2069Mvt2urXYjsA3pFSXRCZx45EqKkLg1wHrN3m0dYvgzkx+iNBxZxjyQiwV S8zYxBEQ223qB2bKf26IxqyK3PzEyHieMmfqBhXCm55FgDwR1SJwuIXwzQzfTRi57moA qWO0rXRUZ69d3e4iGR2afpv9QS2BUlRqK0Ib8/Qb6XfPA1kIBj7kQngp//B3ula/y5vu twzRT+hIkYd8wEyxPFwIAXHSJWgH/AE/yaPAXu4DQW9PmQqpbAeilIJnlL+kk8vFwgqd P7DA== 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=CD+IEonOb1FcIkkAzr/C3tmoicsIYycOitnnWyzVoXY=; b=I2ADVF41nIhfncIkYIzkNIgnTV4UCL/ggVfppq4k2LQBAt4pKgjbSxJ0GgHKpYmTOt xko3AzC7O7f2WqZtYuFBVzg0ooLRA1zS2KaNB/ZWC16rzOnnIvN7vY4FTyW1t4QwtIP7 AMvR5+fmWetItmT3zE0uKz4MmpehsDtddOkh5lWbKJjaT0TkJuxHV1IvSbTW5B1gqROb lVG2krC4HsggS8jc7OU83yT8hBOKrn1/tpAO03zBuLDG04C+Hr4k6bQgnOwx+OKwbHZW EgwdYQSYh9yT+AQh1KhfSvkgCqR9UZHkeDHuCwclMjA5uZgJ9xtJeRtz33b8Kt+p7tdf UFRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pkjiR5vF; 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 l12-20020a170903120c00b0016da8773b7bsi2233915plh.503.2022.09.02.06.47.59; Fri, 02 Sep 2022 06:48:15 -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=pkjiR5vF; 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 S238371AbiIBM6V (ORCPT + 99 others); Fri, 2 Sep 2022 08:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238122AbiIBM40 (ORCPT ); Fri, 2 Sep 2022 08:56:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84DBC72FE1; Fri, 2 Sep 2022 05:39:37 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6401C621FE; Fri, 2 Sep 2022 12:37:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59BB9C433C1; Fri, 2 Sep 2022 12:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662122219; bh=lVgdqr38Jt4ri3oENA3ZbW/QQK5tDQxvfQtgt9PHjxc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pkjiR5vF86N2Aj6goYnT/gKAIqfwXU1FcTYdfm9+iNhFw3JGcLEEM9yrfp3aif6cY DQyHqho3DfQJW+thGRNmsuhAfa++p0IwqyxmJJ9PShdXsesCPV7eJVunA1HbnEf1ul VF5HNY5vU7VhaVzIVpNGx898nx5gckggRrpUB3B8= 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.19 50/72] s390/hypfs: avoid error message under KVM Date: Fri, 2 Sep 2022 14:19:26 +0200 Message-Id: <20220902121406.417806863@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121404.772492078@linuxfoundation.org> References: <20220902121404.772492078@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 5c97f48cea91d..ee919bfc81867 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -496,9 +496,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