[RFC PATCH v1 1/2] virt: memctl: control guest physical memory properties

2024-05-13 Thread Yuanchu Xie
Dummyc0m/memctl-set-anon-vma-name/tree/dontneed The VMM implementation is being proposed for Cloud Hypervisor: https://github.com/Dummyc0m/cloud-hypervisor/ Cloud Hypervisor issue: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/6318 Signed-off-by: Yuanchu Xie --- .../userspace-api/ioc

[RFC PATCH v1 2/2] virt: memctl: add Yuanchu and Pasha as maintainers

2024-05-13 Thread Yuanchu Xie
The memctl driver lives under drivers/virt/memctl. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 61117c3afa80..5793df2b2f5e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [RFC PATCH v1 1/2] virt: memctl: control guest physical memory properties

2024-05-14 Thread Yuanchu Xie
On Tue, May 14, 2024 at 9:06 AM Greg Kroah-Hartman wrote: > > On Mon, May 13, 2024 at 07:03:00PM -0700, Yuanchu Xie wrote: > > Memctl provides a way for the guest to control its physical memory > > properties, and enables optimizations and security features. For > > exampl

[PATCH v1 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-05-18 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3fdc3b09c171..fd77ce0c1328 100644 --- a/MAINTAINERS +++ b

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

2024-05-18 Thread Yuanchu Xie
vmemcontrol - defined device endianness as little endian Signed-off-by: Yuanchu Xie --- .../userspace-api/ioctl/ioctl-number.rst | 2 + drivers/virt/Kconfig | 2 + drivers/virt/Makefile | 1 + drivers/virt/pvmemcontrol/Kconfig

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

2024-06-11 Thread Yuanchu Xie
rse warning. ioread/write already does little-endian. - add include for linux/percpu.h RFC v1 -> PATCH v1 - renamed memctl to pvmemcontrol - defined device endianness as little endian Signed-off-by: Yuanchu Xie --- .../userspace-api/ioctl/ioctl-number.rst | 2 + driver

[PATCH v2 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-06-11 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aacccb376c28..5e661f39e07d 100644 --- a/MAINTAINERS +++ b

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

2024-10-21 Thread Yuanchu Xie
sor/cloud-hypervisor Signed-off-by: Yuanchu Xie --- PATCH v3 -> v4 - changed dev_info to dev_dbg so the driver is quiet when it works properly. - Edited the changelog section to be included in the diffstat. PATCH v2 -> v3 - added PVMEMCONTROL_MERGEABLE for memory dedupe. - updated link to the

[PATCH v4 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-10-21 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ad507f49324..c0afabab8b71 100644 --- a/MAINTAINERS +++ b

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

2024-10-16 Thread Yuanchu Xie
Hi Greg, Are there any other changes that you'd like to see with this driver since your last comments [1]? [1] https://lore.kernel.org/linux-mm/2024051414-untie-deviant-ed35@gregkh/ Thanks, Yuanchu On Mon, Sep 30, 2024 at 6:14 PM Yuanchu Xie wrote: > > I made a mistake. This is sup

[PATCH v3 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-10-16 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aacccb376c28..5e661f39e07d 100644 --- a/MAINTAINERS +++ b

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

2024-10-16 Thread Yuanchu Xie
Signed-off-by: Yuanchu Xie --- .../userspace-api/ioctl/ioctl-number.rst | 2 + drivers/virt/Kconfig | 2 + drivers/virt/Makefile | 1 + drivers/virt/pvmemcontrol/Kconfig | 10 + drivers/virt/pvmemcontrol/Makefile

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

2024-09-30 Thread Yuanchu Xie
ogle.com/ Change-Id: Ib9e4026df815a8ffd8d8b29ce13dd12ce3714e21 Add MADV_MERGEABLE to pvmemcontrol Align pvmemcontrol comments This change aligns the pvmemcontrol operation IDs and comments in the pvmemcontrol header file Signed-off-by: Yuanchu Xie --- .../userspace-api/ioctl/ioctl-numb

[PATCH v2 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-09-30 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Change-Id: I3ba78d0fefe594cd5ed6805775e6497572bb7187 Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

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

2024-09-30 Thread Yuanchu Xie
I made a mistake. This is supposed to be v3. On Mon, Sep 30, 2024 at 6:13 PM Yuanchu Xie wrote: > > 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

[PATCH v5 2/2] virt: pvmemcontrol: add Yuanchu and Pasha as maintainers

2024-12-02 Thread Yuanchu Xie
The pvmemcontrol driver lives under drivers/virt/pvmemcontrol. We specify maintainers for the driver. Signed-off-by: Yuanchu Xie --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1e930c7a58b1..92db5dcf0212 100644 --- a/MAINTAINERS +++ b

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

2024-12-02 Thread Yuanchu Xie
sor/cloud-hypervisor Signed-off-by: Yuanchu Xie --- PATCH v4 -> v5 - use drvdata and friends to enable multiple devices PATCH v3 -> v4 - changed dev_info to dev_dbg so the driver is quiet when it works properly. - Edited the changelog section to be included in the diffstat. PATCH v2 ->

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

2024-12-19 Thread Yuanchu Xie
On Mon, Dec 2, 2024 at 4:24 PM Yuanchu Xie wrote: > > 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