Incorrect argument from SEV live-migration fix

Bug #2040337 reported by John Cabaj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-gcp (Ubuntu)
New
Undecided
Unassigned
Focal
Fix Committed
High
John Cabaj
Jammy
Fix Committed
High
John Cabaj

Bug Description

[Impact]

* Google requested fix to notify_range_enc_status_changed() passing incorrect argument.

[Fix]

* Upstream ac3f9c9f1b37 introduced change to notify_range_enc_status_changed() to accept page size instead of number of pages, but function was not updated. Updating to send correct argument. Upstream implementation changed with TDX
support, and is unaffected, so no plans to upstream.

[Test Case]

* Compile tested
* Boot tested
* Tested by Google

[Where things could go wrong]

* Low chance of regression. Isolated logic fix.

[Other Info]

* SF #00367134

John Cabaj (john-cabaj)
Changed in linux-gcp (Ubuntu Focal):
status: New → In Progress
Changed in linux-gcp (Ubuntu Jammy):
status: New → In Progress
Changed in linux-gcp (Ubuntu Focal):
importance: Undecided → High
Changed in linux-gcp (Ubuntu Jammy):
importance: Undecided → High
Changed in linux-gcp (Ubuntu Focal):
assignee: nobody → John Cabaj (john-cabaj)
Changed in linux-gcp (Ubuntu Jammy):
assignee: nobody → John Cabaj (john-cabaj)
John Cabaj (john-cabaj)
description: updated
John Cabaj (john-cabaj)
Changed in linux-gcp (Ubuntu Focal):
status: In Progress → Fix Committed
Changed in linux-gcp (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-gcp/5.15.0-1047.55 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-linux-gcp' to 'verification-done-jammy-linux-gcp'. If the problem still exists, change the tag 'verification-needed-jammy-linux-gcp' to 'verification-failed-jammy-linux-gcp'.

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-gcp-v2 verification-needed-jammy-linux-gcp
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-gcp/5.4.0-1118.127 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-focal-linux-gcp' to 'verification-done-focal-linux-gcp'. If the problem still exists, change the tag 'verification-needed-focal-linux-gcp' to 'verification-failed-focal-linux-gcp'.

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-focal-linux-gcp-v2 verification-needed-focal-linux-gcp
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.