[PATCH] hv/hv_kvp_daemon: Pass NIC name to hv_get_dns_info as well

2024-11-12 Thread Vitaly Kuznetsov
DNS servers per connection. Similar to hv_get_dhcp_info, pass NIC name as a parameter to hv_get_dns_info script. Signed-off-by: Vitaly Kuznetsov --- tools/hv/hv_kvp_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c

Re: [PATCH v2] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-12 Thread Vitaly Kuznetsov
Saurabh Singh Sengar writes: > On Mon, Nov 11, 2024 at 04:50:24PM +, Michael Kelley wrote: >> From: Vitaly Kuznetsov Sent: Monday, November 11, 2024 >> 5:13 AM >> > >> > It was found that unloading 'hid_hyperv' module results in a devres >

[PATCH v2] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-11 Thread Vitaly Kuznetsov
to rely on the default handling but HID_CONNECT_DEFAULT implies HID_CONNECT_HIDRAW and it doesn't seem to work for mousevsc as-is. Fixes: 62c68e7cee33 ("HID: ensure timely release of driver-allocated resources") Suggested-by: Michael Kelley Signed-off-by: Vitaly Kuznetsov --- Changes sin

RE: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-11 Thread Vitaly Kuznetsov
Michael Kelley writes: > From: Michael Kelley Sent: Wednesday, November 6, 2024 10:36 AM >> From: Vitaly Kuznetsov Sent: Tuesday, November 5, 2024 >> 9:45 AM >> > >> > Saurabh Singh Sengar writes: >> > >> > > On Mon, Nov 04, 2024 at 05

RE: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-07 Thread Vitaly Kuznetsov
Michael Kelley writes: > From: Michael Kelley Sent: Wednesday, November 6, 2024 10:36 AM >> From: Vitaly Kuznetsov Sent: Tuesday, November 5, 2024 >> 9:45 AM >> > >> > Saurabh Singh Sengar writes: >> > >> > > On Mon, Nov 04, 2024 at 05

RE: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-07 Thread Vitaly Kuznetsov
Michael Kelley writes: > From: Vitaly Kuznetsov Sent: Tuesday, November 5, 2024 > 9:45 AM >> >> Saurabh Singh Sengar writes: >> >> > On Mon, Nov 04, 2024 at 05:48:24PM +0100, Vitaly Kuznetsov wrote: >> >> It was found that unloading 'hid_

Re: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-05 Thread Vitaly Kuznetsov
Saurabh Singh Sengar writes: > On Mon, Nov 04, 2024 at 05:48:24PM +0100, Vitaly Kuznetsov wrote: >> It was found that unloading 'hid_hyperv' module results in a devres >> complaint: >> >> ... >> hv_vmbus: unregistering driver hid_hyperv >>

[PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-04 Thread Vitaly Kuznetsov
_hw_start() is now called with HID_CONNECT_DEFAULT which implies HID_CONNECT_HIDRAW. This doesn't seem to cause any immediate issues but 'HID_CONNECT_HIDINPUT | HID_CONNECT_HIDDEV' combo was used in the driver for a long time and it is unclear whether hidraw was excluded on purpose or not. Signed-of

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