[PATCH] MAINTAINERS: update Alexey Makhalov's email address

2024-09-26 Thread Alexey Makhalov
Fix a typo in an email address. Reported-by: Konstantin Ryabitsev Closes: https://lore.kernel.org/all/20240925-rational-succinct-vulture-cca9fb@lemur/T/ Signed-off-by: Alexey Makhalov --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b

[PATCH v2 2/2] x86/vmware: Fix steal time clock under SEV

2024-08-15 Thread Alexey Makhalov
Shared memory containing steal time counter should be set to decrypted when SEV is active. Co-developed-by: Bo Gan Signed-off-by: Bo Gan Signed-off-by: Alexey Makhalov --- arch/x86/kernel/cpu/vmware.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/x86/kernel

[PATCH 2/2] x86/vmware: Fix steal time clock under SEV

2024-08-14 Thread Alexey Makhalov
Shared memory containing steal time counter should be set to decrypted when SEV is active. Co-developed-by: Bo Gan Signed-off-by: Bo Gan Signed-off-by: Alexey Makhalov --- arch/x86/kernel/cpu/vmware.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/x86/kernel

[PATCH 1/2] x86/vmware: Log kmsg dump on panic

2024-08-14 Thread Alexey Makhalov
Improve debugability of VMware Linux guests by dumping kernel messages during a panic to VM log file (vmware.log). Co-developed-by: Bo Gan Signed-off-by: Bo Gan Signed-off-by: Alexey Makhalov --- arch/x86/include/asm/vmware.h | 1 + arch/x86/kernel/cpu/vmware.c | 132

Re: [PATCH] x86/vmware: fix panic in vmware_hypercall_slow()

2024-06-25 Thread Alexey Makhalov
On 6/25/24 7:51 AM, Borislav Petkov wrote: On Tue, Jun 25, 2024 at 07:45:50AM -0700, Alexey Makhalov wrote: My test environment was screwed up during the last version of the patchset. I was using a kernel which was built previously and didn't pay attention to commit hash suffix in `una

Re: [PATCH] x86/vmware: fix panic in vmware_hypercall_slow()

2024-06-25 Thread Alexey Makhalov
want me to resubmit the patchset to do not brake a git bisect? On 6/25/24 1:47 AM, Borislav Petkov wrote: On Tue, Jun 25, 2024 at 01:33:48AM -0700, Alexey Makhalov wrote: Caller of vmware_hypercall_slow() can pass NULL into *out1, *out2,... *out5. It will lead to a NULL pointer dereference. Ch

[PATCH] x86/vmware: fix panic in vmware_hypercall_slow()

2024-06-25 Thread Alexey Makhalov
Alex James Signed-off-by: Alexey Makhalov --- arch/x86/kernel/cpu/vmware.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c index 55903563afd3..16da970499f2 100644 --- a/arch/x86/kernel/cp

[tip: x86/vmware] x86/vmware: Avoid TSC recalibration when frequency is known

2021-03-28 Thread tip-bot2 for Alexey Makhalov
The following commit has been merged into the x86/vmware branch of tip: Commit-ID: 0b4a285e2c65c2c9449c6eccb87298e385213e7b Gitweb: https://git.kernel.org/tip/0b4a285e2c65c2c9449c6eccb87298e385213e7b Author:Alexey Makhalov AuthorDate:Mon, 04 Jan 2021 16:47:52 -08:00

Re: [PATCH] x86/vmware: avoid TSC recalibration

2021-03-15 Thread Alexey Makhalov
n 5, 2021, at 5:06 AM, Vitaly Kuznetsov wrote: > > Alexey Makhalov writes: > >> When TSC frequency is known (retrieved from hypervisor), we should skip >> TSC refined calibration by setting X86_FEATURE_TSC_KNOWN_FREQ. >> >> Signed-off-by: Alexey Makhalov >&g

[PATCH] x86/vmware: avoid TSC recalibration

2021-01-04 Thread Alexey Makhalov
When TSC frequency is known (retrieved from hypervisor), we should skip TSC refined calibration by setting X86_FEATURE_TSC_KNOWN_FREQ. Signed-off-by: Alexey Makhalov --- arch/x86/kernel/cpu/vmware.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86

[tip:x86/platform] x86/vmware: Add basic paravirt ops support

2016-10-30 Thread tip-bot for Alexey Makhalov
Commit-ID: 91d1e54ebd1615d216b7f57324a5e69166a344e0 Gitweb: http://git.kernel.org/tip/91d1e54ebd1615d216b7f57324a5e69166a344e0 Author: Alexey Makhalov AuthorDate: Fri, 28 Oct 2016 00:54:31 -0700 Committer: Thomas Gleixner CommitDate: Sun, 30 Oct 2016 08:57:07 +0100 x86/vmware: Add

[tip:x86/platform] x86/vmware: Add paravirt sched clock

2016-10-30 Thread tip-bot for Alexey Makhalov
Commit-ID: 80e9a4f21fd7ccce7e9b8439986fd028c9946dda Gitweb: http://git.kernel.org/tip/80e9a4f21fd7ccce7e9b8439986fd028c9946dda Author: Alexey Makhalov AuthorDate: Fri, 28 Oct 2016 00:54:32 -0700 Committer: Thomas Gleixner CommitDate: Sun, 30 Oct 2016 08:57:08 +0100 x86/vmware: Add

[tip:x86/platform] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-30 Thread tip-bot for Alexey Makhalov
Commit-ID: 687bca8d664ac9b098005b57846773eb62040ae0 Gitweb: http://git.kernel.org/tip/687bca8d664ac9b098005b57846773eb62040ae0 Author: Alexey Makhalov AuthorDate: Fri, 28 Oct 2016 00:54:30 -0700 Committer: Thomas Gleixner CommitDate: Sun, 30 Oct 2016 08:57:07 +0100 x86/vmware: Use

[PATCH v3 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-28 Thread Alexey Makhalov
ency after vmotion, which might confuse the user. Solve this by overriding the x86 platform cpu calibration callback with the vmware specific tsc calibration function. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH v3 3/3] x86/vmware: Add paravirt sched clock

2016-10-28 Thread Alexey Makhalov
new 'no-vmw-sched-clock' option. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- Documentation/kernel-parameters.txt | 4 arch/x86/kernel/cpu/vmware.c| 42 + 2 files changed, 46 insertions(+) diff --git a/Documentat

[PATCH v3 0/3] x86/vmware guest improvements

2016-10-28 Thread Alexey Makhalov
Thanks Thomas for the valuable comments. Changelog for the updated patchset: v1->v2 - Update pvinfo.name. v2->v3 - Address comments from Thomas G, * Created separate function: vmware_sched_clock_setup() (patch 3/3) * Updated commit descriptions for 1/3 and 3/3 Alexey Ma

[PATCH v3 2/3] x86/vmware: Add basic paravirt ops support

2016-10-28 Thread Alexey Makhalov
avoid vm-exits on IO delays. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c index 480790f..098a524 100644 --- a/arch/x86/kernel/cpu

[RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Alexey Makhalov
the cpu_khz and tsc_khz to be sync even if they diverge less then 10%. This patch resolves this issue by setting x86_platform.calibrate_cpu to vmware_get_tsc_khz(). Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 1 + 1 file changed, 1 insertion(+) d

[RESEND PATCH 3/3] x86/vmware: Add paravirt sched clock

2016-10-27 Thread Alexey Makhalov
-sched-clock kernel parameter is added to disable the paravirt sched clock. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- Documentation/kernel-parameters.txt | 4 arch/x86/kernel/cpu/vmware.c| 41 + 2 files changed, 45 insertions

[RESEND PATCH 2/3] x86/vmware: Add basic paravirt ops support

2016-10-27 Thread Alexey Makhalov
avoid vm-exits on IO delays. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c index 480790f..098a524 100644 --- a/arch/x86/kernel/cpu

[PATCH v2 3/3] x86/vmware: Add paravirt sched clock

2016-10-26 Thread Alexey Makhalov
-sched-clock kernel parameter is added to disable the paravirt sched clock. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- Documentation/kernel-parameters.txt | 4 arch/x86/kernel/cpu/vmware.c| 41 + 2 files changed, 45 insertions

[PATCH 3/3] x86/vmware: Add paravirt sched clock

2016-10-25 Thread Alexey Makhalov
-sched-clock kernel parameter is added to switch back to the native_sched_clock() implementation. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- Documentation/kernel-parameters.txt | 4 arch/x86/kernel/cpu/vmware.c| 38 + 2 files

[PATCH 2/3] x86/vmware: Add basic paravirt ops support

2016-10-25 Thread Alexey Makhalov
lays. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c index 480790f..e3fb320 100644 --- a/arch/x86/kernel/cpu/vmware.c +++ b

[PATCH 0/3] x86/vmware guest improvements

2016-10-25 Thread Alexey Makhalov
This patchset includes several VMware guest improvements: Alexey Makhalov (3): x86/vmware: Use tsc_khz value for calibrate_cpu() x86/vmware: Add basic paravirt ops support x86/vmware: Add paravirt sched clock Documentation/kernel-parameters.txt | 4 +++ arch/x86/kernel/cpu/vmware.c

[PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-25 Thread Alexey Makhalov
the cpu_khz and tsc_khz to be sync even if they diverge less then 10%. This patch resolves this issue by setting x86_platform.calibrate_cpu to vmware_get_tsc_khz(). Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 1 + 1 file changed, 1 insertion(+) d

[tip:x86/platform] x86/vmware: Read tsc_khz only once at boot time

2016-10-21 Thread tip-bot for Alexey Makhalov
Commit-ID: cf11372949434fc4a6194b1ed9eb861d08032d08 Gitweb: http://git.kernel.org/tip/cf11372949434fc4a6194b1ed9eb861d08032d08 Author: Alexey Makhalov AuthorDate: Wed, 19 Oct 2016 22:02:11 -0700 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:12:11 +0200 x86/vmware: Read

[PATCH] x86/vmware: Read tsc_khz only once - at boot time

2016-10-20 Thread Alexey Makhalov
Re-factor the vmware platform setup code to query the hypervisor for tsc frequency only once during boot. Since the VMware hypervisor guarantees constant TSC, calibrate_tsc now uses the saved value. Signed-off-by: Alexey Makhalov Acked-by: Alok N Kataria --- arch/x86/kernel/cpu/vmware.c | 37

Re: Steal time accounting in KVM. Benchmark.

2015-10-23 Thread Alexey Makhalov
. Even 'top' shows weird statistic: 50% hi, 50% st, ~0% user, spinning processes use ~0% cpu - that is not correct. Thanks. On Tue, Oct 20, 2015 at 5:24 PM, Alexey Makhalov wrote: > Yes, VM1 results are as before. > > Alexey > > On Tue, Oct 20, 2015 at 4:04 PM, Wanpeng Li w

Re: Steal time accounting in KVM. Benchmark.

2015-10-20 Thread Alexey Makhalov
Yes, VM1 results are as before. Alexey On Tue, Oct 20, 2015 at 4:04 PM, Wanpeng Li wrote: > On 10/21/15 4:05 AM, Alexey Makhalov wrote: >> >> 'echo NO_NONTASK_CAPACITY > /sys/kernel/debug/sched_features' in both >> guests. >> Results: >> VM1: S

Re: Steal time accounting in KVM. Benchmark.

2015-10-20 Thread Alexey Makhalov
0% 75% 50% 25%) Output is attached. Thanks, Alexey On Tue, Oct 20, 2015 at 5:39 AM, Wanpeng Li wrote: > Cc Peterz, > 2015-10-20 5:58 GMT+08:00 Alexey Makhalov : >> >> Hi, >> >> I did benchmarking of scheduler fairness with enabled steal time >> accounting(S

Steal time accounting in KVM. Benchmark.

2015-10-19 Thread Alexey Makhalov
Hi, I did benchmarking of scheduler fairness with enabled steal time accounting(STA) in KVM. And results are really interesting. Looks like STA provides worse scheduler fairness against disabled STA (no-steal-acc cmdline param) I created benchmark, main idea is: 2 cgroups with cpu.shares proport