[PATCH] x86/mm: Print the encryption features correctly when a paravisor is present

2023-10-18 Thread Dexuan Cui
Hyper-V provides two modes for running a TDX/SNP VM: 1) In TD Partitioning mode (TDX) or vTOM mode (SNP) with a paravisor; 2) In "fully enlightened" mode with the normal TDX shared bit or SNP C-bit control over page encryption, and no paravisor. In the first mode (i.e. paravisor mode), the nat

[PATCH RFC 1/1] x86/paravirt: introduce param to disable pv sched_clock

2023-10-18 Thread Dongli Zhang
As mentioned in the linux kernel development document, "sched_clock() is used for scheduling and timestamping". While there is a default native implementation, many paravirtualizations have their own implementations. About KVM, it uses kvm_sched_clock_read() and there is no way to only disable KVM

Re: [EXTERNAL] Re: [Patch v7 4/5] RDMA/mana_ib: Query adapter capabilities

2023-10-18 Thread Kalesh Anakkur Purayil
On Wed, Oct 18, 2023 at 10:46 PM Ajay Sharma wrote: > > > > > *From:* Kalesh Anakkur Purayil > *Sent:* Tuesday, October 17, 2023 9:11 PM > *To:* Ajay Sharma > *Cc:* sharmaa...@linuxonhyperv.com; Long Li ; Jason > Gunthorpe ; Leon Romanovsky ; Dexuan Cui < > de...@microsoft.com>; Wei Liu ; David

RE: [PATCH] hv_balloon: Add module parameter to configure balloon floor value

2023-10-18 Thread Vitaly Kuznetsov
"Michael Kelley (LINUX)" writes: > From: Vitaly Kuznetsov Sent: Tuesday, October 17, 2023 > 7:41 AM >> >> Angelina Vu writes: >> >> > Currently, the balloon floor value is automatically computed, but may be >> > too small depending on app usage of memory. This patch adds a balloon_floor >> >