Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2709367iog; Mon, 20 Jun 2022 03:04:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sLcsuTSVQjI0rL+vcz0xRldIeECGRDtSFb7INXx0nWAWk9nR4eEZacYckuhy3aaibMbx8x X-Received: by 2002:a05:6402:3688:b0:42d:d3ba:4725 with SMTP id ej8-20020a056402368800b0042dd3ba4725mr28908026edb.212.1655719443891; Mon, 20 Jun 2022 03:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655719443; cv=none; d=google.com; s=arc-20160816; b=PrLbEow6NV2iO/dAqkCEP+he8neb0cmISXxxRwRn/vBxTJ/ndo4VLD/Gk5agv4WMBS qTYAwngDcEH/UkFd1kZwDC/17bpMRgZ1KqpcoueO54/1+AcbqNZv0402rUcBejmg7wBD GR4x0ee09eW8a42NuTJRakoU7eJZuy9KDZcag2XOFXclibaNfuwoaPSNhd+8bleZZojP Gesv0EMx4YfYbaUMLKzH8I5TyIl6QUcYsXi3i9eHHAvjZ2+1CjqwoGCvL6fWSkQZyW5E WkvOzM2zIjlV69tZMAhPUD8FRLZC4mxnMhSNWHZh4yDAks5M66gGmOvx/+IzhOgubYPV 523g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=8NRL4MTr+OVt80rHTjkzINGiVUeJeAQKiy0ovCOZrXg=; b=rVAV4Jy+1jLPUBSySKpJDTCuPYUdhfZLvdNPF7fC2OdGo3PYr+BWTrG0BAutZN5xtl eavFp2my80D7iTYWPO1wGRGJJpLGapcJT1Pu4koIub9k4waT0ZIIavddawa3EiPbGPm8 BEEIIjgKFxhdTISjpLk/GslKN1/TqGJzq3qN8y9h/QYdJR4ehL9GQTulO+XxfMuxo+NQ M07UW8hvSV7DUbJCJe36f/N+KbQwx9ggvfxG+p1DOaxxTMlJ7M/AFuiCPp04GosVhZkh LhOYiCptRQO3yK2/YulX8tTgblIaX+cfmUG2mldqzgBXniFBmjeH9uxLzgUj56OTu1Pe l1AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=IvM1fU4+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a170906648900b00715777cb7f2si11475233ejm.86.2022.06.20.03.03.37; Mon, 20 Jun 2022 03:04:03 -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=@suse.com header.s=susede1 header.b=IvM1fU4+; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240342AbiFTJpk (ORCPT + 99 others); Mon, 20 Jun 2022 05:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238713AbiFTJpj (ORCPT ); Mon, 20 Jun 2022 05:45:39 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E937812AEE; Mon, 20 Jun 2022 02:45:38 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A84461F9DB; Mon, 20 Jun 2022 09:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1655718337; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8NRL4MTr+OVt80rHTjkzINGiVUeJeAQKiy0ovCOZrXg=; b=IvM1fU4+d3dJcrdW400ARz411NoEVShQHwHeHUjej3/ZB9IECB4YKSP1JxQQRn6bkkI/Id Y5lNulb7ThvDZrToFUiwHyrH7P8EV7O8P1C4MbA99i6h5bgIdS6GrTwX0DHL0UvUyLtFcs JgZCiCf9LTu7/REhgihtHiBqosGrK8M= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 67AE5134CA; Mon, 20 Jun 2022 09:45:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gOTtF8FBsGKWTQAAMHmgww (envelope-from ); Mon, 20 Jun 2022 09:45:37 +0000 From: Juergen Gross To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle Subject: [PATCH v2] s390/kvm: avoid hypfs error message Date: Mon, 20 Jun 2022 11:45:34 +0200 Message-Id: <20220620094534.18967-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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 --- V2: - don't bail out if KVM, but avoid error messages instead (Christian Borntraeger) --- 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 f0bc4dc3e9bf..6511d15ace45 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 5c97f48cea91..ee919bfc8186 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.3