[22.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part

Bug #1852741 reported by bugproxy
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Frank Heimes
linux (Ubuntu)
Fix Released
Undecided
Canonical Kernel Team

Bug Description

The initial implementation of Crypto Passthrough for KVM does not include hotplug. This feature adds hotplug support, which allows to dynamically assign and remove crypto adapters to/from a running KVM guest.
[
Available with kernel 5.3
]
new target kernel: 5.5

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-182489 severity-high targetmilestone-inin2004
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
Changed in linux (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Frank Heimes (frank-heimes)
Changed in ubuntu-z-systems:
assignee: nobody → Frank Heimes (frank-heimes)
importance: Undecided → High
Revision history for this message
Frank Heimes (fheimes) wrote :

Since we are already on kernel 5.3 (since Eoan), I'm marking this as Fix Released (but make a note for the upcoming release notes).

Changed in linux (Ubuntu):
status: New → Fix Released
Changed in ubuntu-z-systems:
status: New → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-11-15 08:13 EDT-------
kernel 5.3 availabilty is not correct.

Target is kernel >= 5.5

Revision history for this message
Frank Heimes (fheimes) wrote : Re: [20.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part

Adjusting status due to update in comment #2.
Changing to Incomplete until kernel 5.5 got released.
Please also provide the commit IDs (once they are known).

Changed in linux (Ubuntu):
status: Fix Released → Incomplete
Changed in ubuntu-z-systems:
status: Fix Released → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-11-22 08:07 EDT-------
Planned Target : kernel 5.5

Frank Heimes (fheimes)
description: updated
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-02-06 05:09 EDT-------
Target kernel >= 5.6

summary: - [20.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
+ [20.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-02-07 06:47 EDT-------
Feature will not make it in time for Ubuntu 20.04 -> move to 20.10.

Target kernel >= 5.7...

tags: added: targetmilestone-inin2010
removed: targetmilestone-inin2004
summary: - [20.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
+ [21.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-08-27 02:31 EDT-------
Feature request moved to 21.04. Will not make it in time for 20.10

tags: added: targetmilestone-inin2104
removed: targetmilestone-inin2010
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2021-02-23 03:48 EDT-------
Feature will not make it into 21.04, Moved to 21.10

tags: added: targetmilestone-inin2110
removed: targetmilestone-inin2104
Frank Heimes (fheimes)
summary: - [21.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
+ [21.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2021-09-09 04:51 EDT-------
Feature will not make it into impish / 21.10, hence moving to 22.04
Changing IBM BZ Target Milestone:21.10->22.04

tags: added: targetmilestone-inin2204
removed: targetmilestone-inin2110
Frank Heimes (fheimes)
summary: - [21.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
+ [22.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-03-20 19:20 EDT-------
Item didn't make it in time for jammy / 22.04, therefore we need to move this to Ubuntu 22.10.
Changing target milestone from 22.04 ==> 22.10

tags: added: targetmilestone-inin2210
removed: targetmilestone-inin2204
Frank Heimes (fheimes)
summary: - [22.04 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
+ [22.10 FEAT] zKVM: Crypto Passthrough Hotplug - kernel part
Revision history for this message
bugproxy (bugproxy) wrote : Commit IDs and patch descriptions for this bugzilla

------- Comment on attachment From <email address hidden> 2022-09-02 10:40 EDT-------

Attached a text file containing the commit IDs and descriptions for the patches comprising the solution for this bugzilla.

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Incomplete → New
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Frank Heimes (fheimes) wrote (last edit ):

Pull request submitted to kernel team's mailing list:
https://lists.ubuntu.com/archives/kernel-team/2022-September/thread.html#133080
changing status to 'In Progress'.

A test kernel was build in PPA and is available here:
https://launchpad.net/~fheimes/+archive/ubuntu/lp1852741

Changed in linux (Ubuntu):
status: New → In Progress
Changed in ubuntu-z-systems:
status: New → In Progress
Changed in linux (Ubuntu):
assignee: Frank Heimes (fheimes) → Canonical Kernel Team (canonical-kernel-team)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 5.19.0-21.21

---------------
linux (5.19.0-21.21) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-21.21 -proposed tracker (LP: #1992639)

  * cannot change mount namespace (LP: #1991691)
    - SAUCE: apparmor: Fix getaatr mediation causing snap failures

  * Kernel regresses openjdk on riscv64 (LP: #1992484)
    - SAUCE: Revert "riscv: mmap with PROT_WRITE but no PROT_READ is invalid"

 -- Andrea Righi <email address hidden> Wed, 12 Oct 2022 19:53:36 +0200

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-hwe-5.19/5.19.0-24.25~22.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-hwe-5.19 verification-needed-jammy
Revision history for this message
Frank Heimes (fheimes) wrote :

Initial bug was reported just for jammy.
So to unblock the process I'm marking this as verification-done.

tags: added: verification-done-jammy
removed: verification-needed-jammy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.