Re: [PATCH v3 1/3] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-01-15 Thread kirill.shute...@linux.intel.com
On Fri, Jan 12, 2024 at 07:24:35PM +, Michael Kelley wrote: > From: Edgecombe, Rick P Sent: Friday, January > 12, 2024 9:17 AM > > > > On Fri, 2024-01-12 at 15:07 +, Michael Kelley wrote: > > > The comment is Kirill Shutemov's suggestion based on comments in > > > an earlier version of t

[PATCH v2] x86/hyperv: Allow 15-bit APIC IDs for VTL platforms

2024-01-15 Thread Saurabh Sengar
The current method for signaling the compatibility of a Hyper-V host with MSIs featuring 15-bit APIC IDs relies on a synthetic cpuid leaf. However, for higher VTLs, this leaf is not reported, due to the absence of an IO-APIC. As an alternative, assume that when running at a high VTL, the host supp

[PATCH v4 0/3] x86/hyperv: Mark CoCo VM pages not present when changing encrypted state

2024-01-15 Thread mhkelley58
From: Michael Kelley In a CoCo VM, when transitioning memory from encrypted to decrypted, or vice versa, the caller of set_memory_encrypted() or set_memory_decrypted() is responsible for ensuring the memory isn't in use and isn't referenced while the transition is in progress. The transition has

[PATCH v4 2/3] x86/mm: Regularize set_memory_p() parameters and make non-static

2024-01-15 Thread mhkelley58
From: Michael Kelley set_memory_p() is currently static. It has parameters that don't match set_memory_p() under arch/powerpc and that aren't congruent with the other set_memory_* functions. There's no good reason for the difference. Fix this by making the parameters consistent, and update the

[PATCH v4 3/3] x86/hyperv: Make encrypted/decrypted changes safe for load_unaligned_zeropad()

2024-01-15 Thread mhkelley58
From: Michael Kelley In a CoCo VM, when transitioning memory from encrypted to decrypted, or vice versa, the caller of set_memory_encrypted() or set_memory_decrypted() is responsible for ensuring the memory isn't in use and isn't referenced while the transition is in progress. The transition has

[PATCH v4 1/3] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-01-15 Thread mhkelley58
From: Michael Kelley In preparation for temporarily marking pages not present during a transition between encrypted and decrypted, use slow_virt_to_phys() in the hypervisor callback. As long as the PFN is correct, slow_virt_to_phys() works even if the leaf PTE is not present. The existing functio

Re: [PATCH 3/4 net-next] net: mana: add a function to spread IRQs per CPUs

2024-01-15 Thread Souradeep Chakrabarti
On Sat, Jan 13, 2024 at 11:11:50AM -0800, Yury Norov wrote: > On Sat, Jan 13, 2024 at 04:20:31PM +, Michael Kelley wrote: > > From: Souradeep Chakrabarti Sent: > > Friday, January 12, 2024 10:31 PM > > > > > On Fri, Jan 12, 2024 at 06:30:44PM +, Haiyang Zhang wrote: > > > > > > > > > ---