mbox

[GIT,PULL,0/7] KVM: s390: add kselftests

Message ID 20190701125848.276133-1-borntraeger@de.ibm.com (mailing list archive)
State New, archived
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/kvm-s390-next-5.3-1

Message

Christian Borntraeger July 1, 2019, 12:58 p.m. UTC
Paolo, Radim,

kselftest for s390x. There is a small conflict with Linus tree due to
61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically")
which is part of kvm/master but not kvm/next.
Other than that this looks good.


The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:

  Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git  tags/kvm-s390-next-5.3-1

for you to fetch changes up to 8343ba2d4820b1738bbb7cb40ec18ea0a3b0b331:

  KVM: selftests: enable pgste option for the linker on s390 (2019-06-04 14:05:38 +0200)

----------------------------------------------------------------
KVM: s390: add kselftests

This is the initial implementation for KVM selftests on s390.

----------------------------------------------------------------
Christian Borntraeger (1):
      KVM: selftests: enable pgste option for the linker on s390

Thomas Huth (6):
      KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
      KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits
      KVM: selftests: Align memory region addresses to 1M on s390x
      KVM: selftests: Add processor code for s390x
      KVM: selftests: Add the sync_regs test for s390x
      KVM: selftests: Move kvm_create_max_vcpus test to generic code

 MAINTAINERS                                        |   2 +
 tools/testing/selftests/kvm/Makefile               |  14 +-
 tools/testing/selftests/kvm/include/kvm_util.h     |   8 +
 .../selftests/kvm/include/s390x/processor.h        |  22 ++
 .../kvm/{x86_64 => }/kvm_create_max_vcpus.c        |   3 +-
 .../testing/selftests/kvm/lib/aarch64/processor.c  |   2 +-
 tools/testing/selftests/kvm/lib/kvm_util.c         |  23 +-
 tools/testing/selftests/kvm/lib/s390x/processor.c  | 286 +++++++++++++++++++++
 tools/testing/selftests/kvm/lib/x86_64/processor.c |   2 +-
 tools/testing/selftests/kvm/s390x/sync_regs_test.c | 151 +++++++++++
 10 files changed, 503 insertions(+), 10 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h
 rename tools/testing/selftests/kvm/{x86_64 => }/kvm_create_max_vcpus.c (93%)
 create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c
 create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c

Comments

Christian Borntraeger July 1, 2019, 12:59 p.m. UTC | #1
On 01.07.19 14:58, Christian Borntraeger wrote:
> Paolo, Radim,
> 
> kselftest for s390x. There is a small conflict with Linus tree due to
> 61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically")
> which is part of kvm/master but not kvm/next.
> Other than that this looks good.


This is for kvm/next.
Paolo Bonzini July 1, 2019, 2:07 p.m. UTC | #2
On 01/07/19 14:58, Christian Borntraeger wrote:
> Paolo, Radim,
> 
> kselftest for s390x. There is a small conflict with Linus tree due to
> 61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically")
> which is part of kvm/master but not kvm/next.
> Other than that this looks good.

Thanks! I'll delay this to after the first merge window pull request to
avoid the conflict.

Paolo

> 
> The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:
> 
>   Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git  tags/kvm-s390-next-5.3-1
> 
> for you to fetch changes up to 8343ba2d4820b1738bbb7cb40ec18ea0a3b0b331:
> 
>   KVM: selftests: enable pgste option for the linker on s390 (2019-06-04 14:05:38 +0200)
> 
> ----------------------------------------------------------------
> KVM: s390: add kselftests
> 
> This is the initial implementation for KVM selftests on s390.
> 
> ----------------------------------------------------------------
> Christian Borntraeger (1):
>       KVM: selftests: enable pgste option for the linker on s390
> 
> Thomas Huth (6):
>       KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
>       KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits
>       KVM: selftests: Align memory region addresses to 1M on s390x
>       KVM: selftests: Add processor code for s390x
>       KVM: selftests: Add the sync_regs test for s390x
>       KVM: selftests: Move kvm_create_max_vcpus test to generic code
> 
>  MAINTAINERS                                        |   2 +
>  tools/testing/selftests/kvm/Makefile               |  14 +-
>  tools/testing/selftests/kvm/include/kvm_util.h     |   8 +
>  .../selftests/kvm/include/s390x/processor.h        |  22 ++
>  .../kvm/{x86_64 => }/kvm_create_max_vcpus.c        |   3 +-
>  .../testing/selftests/kvm/lib/aarch64/processor.c  |   2 +-
>  tools/testing/selftests/kvm/lib/kvm_util.c         |  23 +-
>  tools/testing/selftests/kvm/lib/s390x/processor.c  | 286 +++++++++++++++++++++
>  tools/testing/selftests/kvm/lib/x86_64/processor.c |   2 +-
>  tools/testing/selftests/kvm/s390x/sync_regs_test.c | 151 +++++++++++
>  10 files changed, 503 insertions(+), 10 deletions(-)
>  create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h
>  rename tools/testing/selftests/kvm/{x86_64 => }/kvm_create_max_vcpus.c (93%)
>  create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c
>  create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c
>
Christian Borntraeger July 1, 2019, 3:29 p.m. UTC | #3
On 01.07.19 16:07, Paolo Bonzini wrote:
> On 01/07/19 14:58, Christian Borntraeger wrote:
>> Paolo, Radim,
>>
>> kselftest for s390x. There is a small conflict with Linus tree due to
>> 61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically")
>> which is part of kvm/master but not kvm/next.
>> Other than that this looks good.
> 
> Thanks! I'll delay this to after the first merge window pull request to
> avoid the conflict.

I do not have to do anything, correct?

As an alternative I could rebase on top of rc6.
> 
> Paolo
> 
>>
>> The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:
>>
>>   Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)
>>
>> are available in the Git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git  tags/kvm-s390-next-5.3-1
>>
>> for you to fetch changes up to 8343ba2d4820b1738bbb7cb40ec18ea0a3b0b331:
>>
>>   KVM: selftests: enable pgste option for the linker on s390 (2019-06-04 14:05:38 +0200)
>>
>> ----------------------------------------------------------------
>> KVM: s390: add kselftests
>>
>> This is the initial implementation for KVM selftests on s390.
>>
>> ----------------------------------------------------------------
>> Christian Borntraeger (1):
>>       KVM: selftests: enable pgste option for the linker on s390
>>
>> Thomas Huth (6):
>>       KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
>>       KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits
>>       KVM: selftests: Align memory region addresses to 1M on s390x
>>       KVM: selftests: Add processor code for s390x
>>       KVM: selftests: Add the sync_regs test for s390x
>>       KVM: selftests: Move kvm_create_max_vcpus test to generic code
>>
>>  MAINTAINERS                                        |   2 +
>>  tools/testing/selftests/kvm/Makefile               |  14 +-
>>  tools/testing/selftests/kvm/include/kvm_util.h     |   8 +
>>  .../selftests/kvm/include/s390x/processor.h        |  22 ++
>>  .../kvm/{x86_64 => }/kvm_create_max_vcpus.c        |   3 +-
>>  .../testing/selftests/kvm/lib/aarch64/processor.c  |   2 +-
>>  tools/testing/selftests/kvm/lib/kvm_util.c         |  23 +-
>>  tools/testing/selftests/kvm/lib/s390x/processor.c  | 286 +++++++++++++++++++++
>>  tools/testing/selftests/kvm/lib/x86_64/processor.c |   2 +-
>>  tools/testing/selftests/kvm/s390x/sync_regs_test.c | 151 +++++++++++
>>  10 files changed, 503 insertions(+), 10 deletions(-)
>>  create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h
>>  rename tools/testing/selftests/kvm/{x86_64 => }/kvm_create_max_vcpus.c (93%)
>>  create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c
>>  create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c
>>
>
Paolo Bonzini July 1, 2019, 5:31 p.m. UTC | #4
On 01/07/19 17:29, Christian Borntraeger wrote:
> 
> 
> On 01.07.19 16:07, Paolo Bonzini wrote:
>> On 01/07/19 14:58, Christian Borntraeger wrote:
>>> Paolo, Radim,
>>>
>>> kselftest for s390x. There is a small conflict with Linus tree due to
>>> 61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically")
>>> which is part of kvm/master but not kvm/next.
>>> Other than that this looks good.
>>
>> Thanks! I'll delay this to after the first merge window pull request to
>> avoid the conflict.
> 
> I do not have to do anything, correct?

No, it's done on your side. Just an explanation of why you'll not see
this in kvm/next for a week or so.

Paolo

> As an alternative I could rebase on top of rc6.
>>
>> Paolo
>>
>>>
>>> The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:
>>>
>>>   Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)
>>>
>>> are available in the Git repository at:
>>>
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git  tags/kvm-s390-next-5.3-1
>>>
>>> for you to fetch changes up to 8343ba2d4820b1738bbb7cb40ec18ea0a3b0b331:
>>>
>>>   KVM: selftests: enable pgste option for the linker on s390 (2019-06-04 14:05:38 +0200)
>>>
>>> ----------------------------------------------------------------
>>> KVM: s390: add kselftests
>>>
>>> This is the initial implementation for KVM selftests on s390.
>>>
>>> ----------------------------------------------------------------
>>> Christian Borntraeger (1):
>>>       KVM: selftests: enable pgste option for the linker on s390
>>>
>>> Thomas Huth (6):
>>>       KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS
>>>       KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits
>>>       KVM: selftests: Align memory region addresses to 1M on s390x
>>>       KVM: selftests: Add processor code for s390x
>>>       KVM: selftests: Add the sync_regs test for s390x
>>>       KVM: selftests: Move kvm_create_max_vcpus test to generic code
>>>
>>>  MAINTAINERS                                        |   2 +
>>>  tools/testing/selftests/kvm/Makefile               |  14 +-
>>>  tools/testing/selftests/kvm/include/kvm_util.h     |   8 +
>>>  .../selftests/kvm/include/s390x/processor.h        |  22 ++
>>>  .../kvm/{x86_64 => }/kvm_create_max_vcpus.c        |   3 +-
>>>  .../testing/selftests/kvm/lib/aarch64/processor.c  |   2 +-
>>>  tools/testing/selftests/kvm/lib/kvm_util.c         |  23 +-
>>>  tools/testing/selftests/kvm/lib/s390x/processor.c  | 286 +++++++++++++++++++++
>>>  tools/testing/selftests/kvm/lib/x86_64/processor.c |   2 +-
>>>  tools/testing/selftests/kvm/s390x/sync_regs_test.c | 151 +++++++++++
>>>  10 files changed, 503 insertions(+), 10 deletions(-)
>>>  create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h
>>>  rename tools/testing/selftests/kvm/{x86_64 => }/kvm_create_max_vcpus.c (93%)
>>>  create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c
>>>  create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c
>>>
>>
>