RE: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-10-16 Thread Michael Kelley (LINUX)
From: Michael Kelley (LINUX) Sent: Monday, October 2, 2023 1:43 PM > > From: Tom Lendacky Sent: Monday, October 2, 2023 > 11:59 AM > > > > On 10/2/23 11:35, Tom Lendacky wrote: > > > On 9/29/23 13:19, Michael Kelley wrote: > > >> In a CoCo VM when a page transitions from encrypted to decrypted,

RE: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-10-02 Thread Michael Kelley (LINUX)
From: Tom Lendacky Sent: Monday, October 2, 2023 11:59 AM > > On 10/2/23 11:35, Tom Lendacky wrote: > > On 9/29/23 13:19, Michael Kelley wrote: > >> In a CoCo VM when a page transitions from encrypted to decrypted, or vice > >> versa, attributes in the PTE must be updated *and* the hypervisor mu

Re: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-10-02 Thread Tom Lendacky
On 10/2/23 11:35, Tom Lendacky wrote: On 9/29/23 13:19, Michael Kelley wrote: In a CoCo VM when a page transitions from encrypted to decrypted, or vice versa, attributes in the PTE must be updated *and* the hypervisor must be notified of the change. Because there are two separate steps, there's

Re: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-10-02 Thread Tom Lendacky
On 9/29/23 13:19, Michael Kelley wrote: In a CoCo VM when a page transitions from encrypted to decrypted, or vice versa, attributes in the PTE must be updated *and* the hypervisor must be notified of the change. Because there are two separate steps, there's a window where the settings are inconsi

Re: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-09-29 Thread kernel test robot
930-041800 base: tip/master patch link: https://lore.kernel.org/r/1696011549-28036-4-git-send-email-mikelley%40microsoft.com patch subject: [PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state config: i386-tinyconfig (https://download.01.org/0day-ci/archiv

[PATCH 3/5] x86/mm: Mark CoCo VM pages not present while changing encrypted state

2023-09-29 Thread Michael Kelley
In a CoCo VM when a page transitions from encrypted to decrypted, or vice versa, attributes in the PTE must be updated *and* the hypervisor must be notified of the change. Because there are two separate steps, there's a window where the settings are inconsistent. Normally the code that initiates t