[PATCH 2/2] memory_hotplug: introduce memhp_default_state= command line parameter

2016-04-06 Thread Vitaly Kuznetsov
CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE specifies the default value for the memory hotplug onlining policy. Add a command line parameter to make it possible to override the default. It may come handy for debug and testing purposes. Signed-off-by: Vitaly Kuznetsov --- Documentation/kernel

[PATCH 1/2] memory_hotplug: introduce CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE

2016-04-06 Thread Vitaly Kuznetsov
make memory hotplug work. Signed-off-by: Vitaly Kuznetsov --- Documentation/memory-hotplug.txt | 9 + mm/Kconfig | 16 mm/memory_hotplug.c | 4 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Documentation/memory

[PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-06 Thread Vitaly Kuznetsov
This patchset continues the work I started with: commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 Author: Vitaly Kuznetsov Date: Tue Mar 15 14:56:48 2016 -0700 memory-hotplug: add automatic onlining policy for the newly added memory Initially I was going to stop there and bring the policy

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-07 Thread Vitaly Kuznetsov
Andrew Morton writes: > On Wed, 6 Apr 2016 15:45:10 +0200 Vitaly Kuznetsov > wrote: > >> This patchset continues the work I started with: >> >> commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 >> Author: Vitaly Kuznetsov >> Date: Tue Mar 15 14:56:

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-07 Thread Vitaly Kuznetsov
David Rientjes writes: > On Wed, 6 Apr 2016, Andrew Morton wrote: > >> > This patchset continues the work I started with: >> > >> > commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 >> > Author: Vitaly Kuznetsov >> > Date: Tue Mar 15 14:

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-19 Thread Vitaly Kuznetsov
David Rientjes writes: > On Thu, 7 Apr 2016, Vitaly Kuznetsov wrote: > >> >> > This patchset continues the work I started with: >> >> > >> >> > commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6 >> >> > Author

Re: [PATCH 0/2] memory_hotplug: introduce config and command line options to set the default onlining policy

2016-04-21 Thread Vitaly Kuznetsov
David Rientjes writes: > On Tue, 19 Apr 2016, Vitaly Kuznetsov wrote: > >> > I'd personally disagree that we need more and more config options to take >> > care of something that an initscript can easily do and most distros >> > already have their own ini

Re: [PATCH 1/3] x86/Hyper-V: Fix definition of struct hv_vp_assist_page

2019-08-09 Thread Vitaly Kuznetsov
lantianyu1...@gmail.com writes: > From: Tianyu Lan > > The struct hv_vp_assist_page was defined incorrectly. > The "vtl_control" should be u64[3], "nested_enlightenments_control" > should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". > This patch is to fix it. > > Signed-o

Re: [PATCH 2/3] KVM/Hyper-V: Add new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH

2019-08-09 Thread Vitaly Kuznetsov
lantianyu1...@gmail.com writes: > From: Tianyu Lan > > This patch adds new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH and let > user space to enable direct tlb flush function when only Hyper-V > hypervsior capability is exposed to VM. This patch also adds > enable_direct_tlbflush callback in the stru

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-26 Thread Vitaly Kuznetsov
lantianyu1...@gmail.com writes: > From: Tianyu Lan > > This patchset is to add Hyper-V direct tlb support in KVM. Hyper-V > in L0 can delegate L1 hypervisor to handle tlb flush request from > L2 guest when direct tlb flush is enabled in L1. > > Patch 2 introduces new cap KVM_CAP_HYPERV_DIRECT_TLB

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-27 Thread Vitaly Kuznetsov
Tianyu Lan writes: > On Tue, Aug 27, 2019 at 2:41 PM Vitaly Kuznetsov wrote: >> >> lantianyu1...@gmail.com writes: >> >> > From: Tianyu Lan >> > >> > This patchset is to add Hyper-V direct tlb support in KVM. Hyper-V >> > in L0 ca

Re: [PATCH V3 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-08-27 Thread Vitaly Kuznetsov
Tianyu Lan writes: > On Tue, Aug 27, 2019 at 8:38 PM Vitaly Kuznetsov wrote: >> >> Tianyu Lan writes: >> >> > On Tue, Aug 27, 2019 at 2:41 PM Vitaly Kuznetsov >> > wrote: >> >> >> >> lantianyu1...@gmail.com writes: >> >&

Re: [PATCH V4 0/3] KVM/Hyper-V: Add Hyper-V direct tlb flush support

2019-09-17 Thread Vitaly Kuznetsov
KVM_CAP_HYPERV_DIRECT_TLBFLUSH. >> >> Tianyu Lan (2): >> x86/Hyper-V: Fix definition of struct hv_vp_assist_page >> KVM/Hyper-V: Add new KVM capability KVM_CAP_HYPERV_DIRECT_TLBFLUSH >> >> Vitaly Kuznetsov (1): >> KVM/Hyper-V/VMX: Add direct tlb flush support >>

Re: [RFC 03/33] KVM: x86: hyper-v: Introduce XMM output support

2023-11-08 Thread Vitaly Kuznetsov
Alexander Graf writes: > On 08.11.23 12:17, Nicolas Saenz Julienne wrote: >> Prepare infrastructure to be able to return data through the XMM >> registers when Hyper-V hypercalls are issues in fast mode. The XMM >> registers are exposed to user-space through KVM_EXIT_HYPERV_HCALL and >> restored

[PATCH] Revert "mm: rename _count, field of the struct page, to _refcount"

2016-06-16 Thread Vitaly Kuznetsov
tool I'm not sure about other tools which might be doing the same. I suggest we remember the "we don't break userspace" rule and revert for 4.7 while it's not too late. This is a partial revert, useful hunks in drivers which do page_ref_{sub,add,inc} instead of open coded

Re: [PATCH] Revert "mm: rename _count, field of the struct page, to _refcount"

2016-06-16 Thread Vitaly Kuznetsov
Christoph Hellwig writes: > On Thu, Jun 16, 2016 at 11:22:46AM +0200, Vitaly Kuznetsov wrote: >> _count -> _refcount rename in commit 0139aa7b7fa12 ("mm: rename _count, >> field of the struct page, to _refcount") broke kdump. makedumpfile(8) does >> stuff li

Re: [PATCH] Revert "mm: rename _count, field of the struct page, to _refcount"

2016-06-16 Thread Vitaly Kuznetsov
Michal Hocko writes: > On Thu 16-06-16 12:30:16, Vitaly Kuznetsov wrote: >> Christoph Hellwig writes: >> >> > On Thu, Jun 16, 2016 at 11:22:46AM +0200, Vitaly Kuznetsov wrote: >> >> _count -> _refcount rename in commit 0139aa7b7fa12 ("mm: renam

Re: [PATCH 00/18] Introducing Core Building Blocks for Hyper-V VSM Emulation

2024-07-03 Thread Vitaly Kuznetsov
Nicolas Saenz Julienne writes: > Hi Sean, > > On Sun Jun 9, 2024 at 3:49 PM UTC, Nicolas Saenz Julienne wrote: >> This series introduces core KVM functionality necessary to emulate Hyper-V's >> Virtual Secure Mode in a Virtual Machine Monitor (VMM). > > Just wanted to make sure the series is in y

Re: [PATCH 01/18] KVM: x86: hyper-v: Introduce XMM output support

2024-07-08 Thread Vitaly Kuznetsov
Nicolas Saenz Julienne writes: > Prepare infrastructure to be able to return data through the XMM > registers when Hyper-V hypercalls are issues in fast mode. The XMM > registers are exposed to user-space through KVM_EXIT_HYPERV_HCALL and > restored on successful hypercall completion. > > Signed-

Re: [PATCH 01/18] KVM: x86: hyper-v: Introduce XMM output support

2024-07-29 Thread Vitaly Kuznetsov
Nicolas Saenz Julienne writes: > Hi Vitaly, > Thanks for having a look at this. > > On Mon Jul 8, 2024 at 2:59 PM UTC, Vitaly Kuznetsov wrote: >> Nicolas Saenz Julienne writes: >> >> > Prepare infrastructure to be able to return data through the XMM >>