Re: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties

2024-10-23 Thread kernel test robot
.1580384-1-yuanchu%40google.com patch subject: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties config: powerpc-randconfig-002-20241024 (https://download.01.org/0day-ci/archive/20241024/202410240605.hr0jfxmp-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 14.1.0

Re: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties

2024-10-23 Thread kernel test robot
.1580384-1-yuanchu%40google.com patch subject: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241023/202410231908.jzfkawyd-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (thi

Re: [PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties

2024-10-21 Thread Greg Kroah-Hartman
On Mon, Oct 21, 2024 at 01:48:48PM -0700, Yuanchu Xie wrote: > +static DEFINE_RWLOCK(pvmemcontrol_lock); What does this lock control? > +static struct pvmemcontrol *pvmemcontrol __read_mostly; Having a single static device should not be needed, please tie this properly to the pci device that the

[PATCH v4 1/2] virt: pvmemcontrol: control guest physical memory properties

2024-10-21 Thread Yuanchu Xie
Pvmemcontrol provides a way for the guest to control its physical memory properties and enables optimizations and security features. For example, the guest can provide information to the host where parts of a hugepage may be unbacked, or sensitive data may not be swapped out, etc. Pvmemcontrol all