[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a188023-8a3e-547c-2e09-c6c7a7078ea8@linux.ibm.com>
Date: Mon, 20 Jun 2022 11:48:14 +0200
From: Christian Borntraeger <borntraeger@...ux.ibm.com>
To: Juergen Gross <jgross@...e.com>, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>
Subject: Re: [PATCH v2] s390/kvm: avoid hypfs error message
Am 20.06.22 um 11:45 schrieb Juergen Gross:
> 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 <jgross@...e.com>
Acked-by: Christian Borntraeger <borntraeger@...ux.ibm.com>
> ---
> 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)
Powered by blists - more mailing lists