Re: [PATCH v2] x86/hyperv: fix kexec crash due to VP assist page corruption

2024-08-28 Thread Vitaly Kuznetsov
use CPUHP_AP_HYPERV_ONLINE directly with > cpuhp_remove_state(). > > Cc: sta...@vger.kernel.org > Fixes: 9636be85cc5b ("x86/hyperv: Fix hyperv_pcpu_input_arg handling when > CPUs go online/offline") > Signed-off-by: Anirudh Rayabharam (Microsoft) > --- > > v1->

Re: [PATCH] x86/hyperv: fix kexec crash due to VP assist page corruption

2024-08-27 Thread Vitaly Kuznetsov
Anirudh Rayabharam writes: > On Mon, Aug 26, 2024 at 02:36:44PM +0200, Vitaly Kuznetsov wrote: >> Anirudh Rayabharam writes: >> >> > From: Anirudh Rayabharam (Microsoft) >> > >> > 9636be85cc5b ("x86/hyperv: Fix hyperv_pcpu_input_arg handling when

Re: [PATCH] x86/hyperv: fix kexec crash due to VP assist page corruption

2024-08-26 Thread Vitaly Kuznetsov
Anirudh Rayabharam writes: > From: Anirudh Rayabharam (Microsoft) > > 9636be85cc5b ("x86/hyperv: Fix hyperv_pcpu_input_arg handling when CPUs go > online/offline") introduces a new cpuhp state for hyperv initialization. > > cpuhp_setup_state() returns the state number if state is CPUHP_AP_ONLINE

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

2023-10-19 Thread Vitaly Kuznetsov
Dongli Zhang writes: > 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 the

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

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

2023-10-17 Thread Vitaly Kuznetsov
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 > value as a module parameter that can be used to manually configure the > balloon floor value. > > Signed-off-by: Angelina

Re: [PATCH v2] x86/hyperv: Restrict get_vtl to only VTL platforms

2023-09-19 Thread Vitaly Kuznetsov
entation under "if IS_ENABLED(CONFIG_HYPERV_VTL_MODE)" to avoid the call altogether in the most generic use case. """ > > Signed-off-by: Saurabh Sengar Reviewed-by: Vitaly Kuznetsov > --- > [V2] > - Put the if else at function definition rather then at