linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] s390 updates for 6.0-rc2
@ 2022-08-20  6:15 Alexander Gordeev
  2022-08-20 18:40 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Gordeev @ 2022-08-20  6:15 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Vasily Gorbik, Heiko Carstens, linux-s390, linux-kernel

Hello Linus,

please pull s390 changes for 6.0-rc2.

Thank you,
Alexander

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

  Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.0-1

for you to fetch changes up to 0fef40be5d1f8e7af3d61e8827a63c5862cd99f7:

  s390/ap: fix crash on older machines based on QCI info missing (2022-07-15 12:23:48 +0200)

----------------------------------------------------------------
s390 updates for 6.0-rc2

- Fix a KVM crash on z12 and older machines caused by a wrong
  assumption that Query AP Configuration Information is always
  available.

- Lower severity of excessive Hypervisor filesystem error messages
  when booting under KVM.
----------------------------------------------------------------

Harald Freudenberger (1):
  s390/ap: fix crash on older machines based on QCI info missing

Juergen Gross (1):
  s390/hypfs: avoid error message under KVM

 arch/s390/hypfs/hypfs_diag.c | 2 +-
 arch/s390/hypfs/inode.c      | 2 +-
 drivers/s390/crypto/ap_bus.c | 3 +++
 drivers/s390/crypto/ap_bus.h | 4 ++++
 4 files changed, 9 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)
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
index 8f1d1cf23d44..59ac98f2bd27 100644
--- a/drivers/s390/crypto/ap_bus.c
+++ b/drivers/s390/crypto/ap_bus.c
@@ -2086,6 +2086,9 @@ static inline void ap_scan_adapter(int ap)
  */
 static bool ap_get_configuration(void)
 {
+	if (!ap_qci_info)	/* QCI not supported */
+		return false;
+
 	memcpy(ap_qci_info_old, ap_qci_info, sizeof(*ap_qci_info));
 	ap_fetch_qci_info(ap_qci_info);
 
diff --git a/drivers/s390/crypto/ap_bus.h b/drivers/s390/crypto/ap_bus.h
index 0c40af157df2..0f17933954fb 100644
--- a/drivers/s390/crypto/ap_bus.h
+++ b/drivers/s390/crypto/ap_bus.h
@@ -148,12 +148,16 @@ struct ap_driver {
 	/*
 	 * Called at the start of the ap bus scan function when
 	 * the crypto config information (qci) has changed.
+	 * This callback is not invoked if there is no AP
+	 * QCI support available.
 	 */
 	void (*on_config_changed)(struct ap_config_info *new_config_info,
 				  struct ap_config_info *old_config_info);
 	/*
 	 * Called at the end of the ap bus scan function when
 	 * the crypto config information (qci) has changed.
+	 * This callback is not invoked if there is no AP
+	 * QCI support available.
 	 */
 	void (*on_scan_complete)(struct ap_config_info *new_config_info,
 				 struct ap_config_info *old_config_info);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] s390 updates for 6.0-rc2
  2022-08-20  6:15 [GIT PULL] s390 updates for 6.0-rc2 Alexander Gordeev
@ 2022-08-20 18:40 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-08-20 18:40 UTC (permalink / raw)
  To: Alexander Gordeev
  Cc: Linus Torvalds, Vasily Gorbik, Heiko Carstens, linux-s390, linux-kernel

The pull request you sent on Sat, 20 Aug 2022 08:15:19 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.0-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cc1807b9158a909ffe829a5e222be756c57c9a90

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-20 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-20  6:15 [GIT PULL] s390 updates for 6.0-rc2 Alexander Gordeev
2022-08-20 18:40 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).