[SRU][focal-gcp][PATCH v2 0/1] Incorrect argument from SEV live-migration fix

John Cabaj john.cabaj at canonical.com
Wed Oct 25 18:26:51 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2040337

[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.

v2:
* 5.15 kernel had a refactor, so applying patches to previous source for 5.4

John Cabaj (1):
  UBUNTU: SAUCE: (no-up) x86/mm: Fixing notify_range_enc_status_changed
    incorrect argument

 arch/x86/mm/mem_encrypt.c | 2 +-
 arch/x86/mm/pageattr.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list