All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] kvm: minor fixes and cleanups
@ 2022-04-06  6:37 Like Xu
  2022-04-06  6:37 ` [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h Like Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Like Xu @ 2022-04-06  6:37 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

Another new kernel cycle starts ticking and my bot seems to have some
complaints about some new changes. Please check if any of them helps.

Like Xu (4):
  KVM: x86/xen: Remove the redundantly included header file lapic.h
  selftests: kvm: add tsc_scaling_sync to .gitignore
  selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with
    semicolon
  Documentation: KVM: Add SPDX-License-Identifier tag

 Documentation/virt/kvm/vcpu-requests.rst             | 2 ++
 Documentation/virt/kvm/x86/amd-memory-encryption.rst | 2 ++
 Documentation/virt/kvm/x86/errata.rst                | 2 +-
 Documentation/virt/kvm/x86/running-nested-guests.rst | 2 ++
 arch/x86/kvm/xen.c                                   | 1 -
 tools/testing/selftests/kvm/.gitignore               | 1 +
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +-
 7 files changed, 9 insertions(+), 3 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h
  2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
@ 2022-04-06  6:37 ` Like Xu
  2022-04-06  6:37 ` [PATCH 2/4] selftests: kvm: add tsc_scaling_sync to .gitignore Like Xu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Like Xu @ 2022-04-06  6:37 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

The header lapic.h is included more than once, remove one of them.

Signed-off-by: Like Xu <likexu@tencent.com>
---
Note: repeated as https://lore.kernel.org/kvm/20220401001442.100637-1-yang.lee@linux.alibaba.com/

 arch/x86/kvm/xen.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c
index 7e7c8a5bff52..610beba35907 100644
--- a/arch/x86/kvm/xen.c
+++ b/arch/x86/kvm/xen.c
@@ -8,7 +8,6 @@
 
 #include "x86.h"
 #include "xen.h"
-#include "lapic.h"
 #include "hyperv.h"
 #include "lapic.h"
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/4] selftests: kvm: add tsc_scaling_sync to .gitignore
  2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
  2022-04-06  6:37 ` [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h Like Xu
@ 2022-04-06  6:37 ` Like Xu
  2022-04-06  6:37 ` [PATCH 3/4] selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon Like Xu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Like Xu @ 2022-04-06  6:37 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

The tsc_scaling_sync's binary should be present in the .gitignore
file for the git to ignore it.

Signed-off-by: Like Xu <likexu@tencent.com>
---
Note: hyperv_svm_test has been added in the upstream commit 946ad0499d98.

 tools/testing/selftests/kvm/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/kvm/.gitignore b/tools/testing/selftests/kvm/.gitignore
index 1f1b6c978bf7..84d5bcf93f8b 100644
--- a/tools/testing/selftests/kvm/.gitignore
+++ b/tools/testing/selftests/kvm/.gitignore
@@ -33,6 +33,7 @@
 /x86_64/state_test
 /x86_64/svm_vmcall_test
 /x86_64/svm_int_ctl_test
+/x86_64/tsc_scaling_sync
 /x86_64/sync_regs_test
 /x86_64/tsc_msrs_test
 /x86_64/userspace_io_test
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/4] selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon
  2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
  2022-04-06  6:37 ` [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h Like Xu
  2022-04-06  6:37 ` [PATCH 2/4] selftests: kvm: add tsc_scaling_sync to .gitignore Like Xu
@ 2022-04-06  6:37 ` Like Xu
  2022-04-06  6:37 ` [PATCH 4/4] Documentation: KVM: Add SPDX-License-Identifier tag Like Xu
  2022-04-08 16:37 ` [PATCH 0/4] kvm: minor fixes and cleanups Paolo Bonzini
  4 siblings, 0 replies; 7+ messages in thread
From: Like Xu @ 2022-04-06  6:37 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

+WARNING: Possible comma where semicolon could be used
+#397: FILE: tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c:700:
++				tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER,
++				vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr);

Fixes: 25eaeebe710c ("KVM: x86/xen: Add self tests for KVM_XEN_HVM_CONFIG_EVTCHN_SEND")
Signed-off-by: Like Xu <likexu@tencent.com>
---
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
index d9d9d1deec45..5e6f40633ea6 100644
--- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
+++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
@@ -702,7 +702,7 @@ int main(int argc, char *argv[])
 
 			case 14:
 				memset(&tmr, 0, sizeof(tmr));
-				tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER,
+				tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER;
 				vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr);
 				TEST_ASSERT(tmr.u.timer.port == EVTCHN_TIMER,
 					    "Timer port not returned");
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 4/4] Documentation: KVM: Add SPDX-License-Identifier tag
  2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
                   ` (2 preceding siblings ...)
  2022-04-06  6:37 ` [PATCH 3/4] selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon Like Xu
@ 2022-04-06  6:37 ` Like Xu
  2022-04-08 16:37 ` [PATCH 0/4] kvm: minor fixes and cleanups Paolo Bonzini
  4 siblings, 0 replies; 7+ messages in thread
From: Like Xu @ 2022-04-06  6:37 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

+new file mode 100644
+WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
+#27: FILE: Documentation/virt/kvm/x86/errata.rst:1:

Opportunistically update all other non-added KVM documents and
remove a new extra blank line at EOF for x86/errata.rst.

Signed-off-by: Like Xu <likexu@tencent.com>
---
 Documentation/virt/kvm/vcpu-requests.rst             | 2 ++
 Documentation/virt/kvm/x86/amd-memory-encryption.rst | 2 ++
 Documentation/virt/kvm/x86/errata.rst                | 2 +-
 Documentation/virt/kvm/x86/running-nested-guests.rst | 2 ++
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/virt/kvm/vcpu-requests.rst b/Documentation/virt/kvm/vcpu-requests.rst
index db43ee571f5a..31f62b64e07b 100644
--- a/Documentation/virt/kvm/vcpu-requests.rst
+++ b/Documentation/virt/kvm/vcpu-requests.rst
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: GPL-2.0
+
 =================
 KVM VCPU Requests
 =================
diff --git a/Documentation/virt/kvm/x86/amd-memory-encryption.rst b/Documentation/virt/kvm/x86/amd-memory-encryption.rst
index 1c6847fff304..2d307811978c 100644
--- a/Documentation/virt/kvm/x86/amd-memory-encryption.rst
+++ b/Documentation/virt/kvm/x86/amd-memory-encryption.rst
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: GPL-2.0
+
 ======================================
 Secure Encrypted Virtualization (SEV)
 ======================================
diff --git a/Documentation/virt/kvm/x86/errata.rst b/Documentation/virt/kvm/x86/errata.rst
index 806f049b6975..410e0aa63493 100644
--- a/Documentation/virt/kvm/x86/errata.rst
+++ b/Documentation/virt/kvm/x86/errata.rst
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: GPL-2.0
 
 =======================================
 Known limitations of CPU virtualization
@@ -36,4 +37,3 @@ Nested virtualization features
 ------------------------------
 
 TBD
-
diff --git a/Documentation/virt/kvm/x86/running-nested-guests.rst b/Documentation/virt/kvm/x86/running-nested-guests.rst
index bd70c69468ae..a27e6768d900 100644
--- a/Documentation/virt/kvm/x86/running-nested-guests.rst
+++ b/Documentation/virt/kvm/x86/running-nested-guests.rst
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: GPL-2.0
+
 ==============================
 Running nested guests with KVM
 ==============================
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/4] kvm: minor fixes and cleanups
  2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
                   ` (3 preceding siblings ...)
  2022-04-06  6:37 ` [PATCH 4/4] Documentation: KVM: Add SPDX-License-Identifier tag Like Xu
@ 2022-04-08 16:37 ` Paolo Bonzini
  2022-04-09  2:12   ` Like Xu
  4 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2022-04-08 16:37 UTC (permalink / raw)
  To: Like Xu
  Cc: kvm, Sean Christopherson, Wanpeng Li, Jim Mattson,
	Vitaly Kuznetsov, Joerg Roedel, linux-kernel

Queued, thanks.

Paolo



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/4] kvm: minor fixes and cleanups
  2022-04-08 16:37 ` [PATCH 0/4] kvm: minor fixes and cleanups Paolo Bonzini
@ 2022-04-09  2:12   ` Like Xu
  0 siblings, 0 replies; 7+ messages in thread
From: Like Xu @ 2022-04-09  2:12 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Wanpeng Li, kvm list, linux-kernel

On 9/4/2022 12:37 am, Paolo Bonzini wrote:
> Queued, thanks.
> 
> Paolo
Sorry, my carelessness may bring the following warning from linux-next:

WARNING: From:/Signed-off-by: email address mismatch:
'From: Like Xu <like.xu.linux@gmail.com>' != 'Signed-off-by: Like Xu 
<likexu@tencent.com>'

Please let me know if we need to tweak out a better new version.

> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-09  2:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06  6:37 [PATCH 0/4] kvm: minor fixes and cleanups Like Xu
2022-04-06  6:37 ` [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h Like Xu
2022-04-06  6:37 ` [PATCH 2/4] selftests: kvm: add tsc_scaling_sync to .gitignore Like Xu
2022-04-06  6:37 ` [PATCH 3/4] selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon Like Xu
2022-04-06  6:37 ` [PATCH 4/4] Documentation: KVM: Add SPDX-License-Identifier tag Like Xu
2022-04-08 16:37 ` [PATCH 0/4] kvm: minor fixes and cleanups Paolo Bonzini
2022-04-09  2:12   ` Like Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.