lp:~canonical-kernel-team/+git/kvm-unit-tests

Get this repository:
git clone https://git.launchpad.net/~canonical-kernel-team/+git/kvm-unit-tests
Members of Canonical Kernel Team can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
sru 2024-12-27 10:24:59 UTC
UBUNTU: SAUCE: Upstream head SHA1 0ed2cdf3c8

Author: Po-Hsu Lin
Author Date: 2024-12-27 07:57:51 UTC

UBUNTU: SAUCE: Upstream head SHA1 0ed2cdf3c8

Rebased on top of upstream head commit:
0ed2cdf3c8 arm64: Fix sve_vl() for build errors

Update Note:
  * The following issues have been fixed:
    - LP: #2056127 ubuntu_kvm_unit_tests failed to build on s390x
    - LP: #1943841 svm - FAIL: MSR_IA32_LASTBRANCHFROMIP on N/O
    - LP: #1991924 vmx_controls_test on N/O
    - LP: #1991918 test_vmxon on J
  * Bugs opened after this update:
    - LP: #2092558 vmx_controls_test from ubuntu_kvm_unit_tests failed
      with "KVM_GET_PIT2 failed: Input/output error"
  * Typo fixed in MSR test: SMR > MSR, bug and hints updated.
  * sru-xenial branch untouched.
  * sru-bionic branch created, with head set to previous sru branch:
    - UBUNTU: SAUCE: Upstream head SHA1 02d8befe99
    It won't be updated in the future.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

tip-testing 2024-12-27 04:33:57 UTC
UBUNTU: SAUCE: split failed tests out

Author: Po-Hsu Lin
Author Date: 2022-10-20 06:14:12 UTC

UBUNTU: SAUCE: split failed tests out

BugLink: https://bugs.launchpad.net/bugs/1938875

vmx test contain a bunch of different tests.
Split failed test cases in vmx out as standalone tests to improve our
test granularity. Make it easier to do result hinting and allow this
test to finish properly without being terminated prematurely.

This SAUCE patch will split the following tests out of vmx:
  * rdtsc_vmexit_diff_test
  * test_vmread_flags_touch
  * test_vmwrite_flags_touch
  * test_vmwrite_vmread
  * test_vmxon
  * vmx_apic_passthrough_test
  * vmx_controls_test
  * vmx_cr_load_test
  * vmx_cr4_osxsave_test
  * vmx_db_test
  * vmx_guest_state_area_test
  * vmx_hlt_with_rvi_test
  * vmx_host_state_area_test
  * vmx_intr_window_test
  * vmx_mtf_test
  * vmx_mtf_pdpte_test
  * vmx_nmi_window_test
  * vmx_pending_event_test
  * vmx_preemption_timer_tf_test
  * vmx_preemption_timer_zero_test
  * vmx_store_tsc_test

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

master 2024-11-28 15:32:49 UTC
arm64: Fix sve_vl() for build errors

Author: Suzuki K Poulose
Author Date: 2024-11-28 15:00:02 UTC

arm64: Fix sve_vl() for build errors

commit 5b9895f8a5d9 ("arm: Fix clang error in sve_vl()") breaks the build
with the following compiler version, as the "rdvl" expects a 64bit register.

/tmp/ccGJYtuC.s: Assembler messages:
/tmp/ccGJYtuC.s:2165: Error: operand mismatch -- `rdvl w3,#8'
/tmp/ccGJYtuC.s:2165: Info: did you mean this?
/tmp/ccGJYtuC.s:2165: Info: rdvl x3, #8
make: *** [<builtin>: arm/selftest.o] Error 1
make: *** Waiting for unfinished jobs....

$ aarch64-none-elf-gcc --version
aarch64-none-elf-gcc (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 10.2.1 20201103

Fix this by switching to use "unsigned long" variable and restoring the 64bit
register for the instruction

Fixes: 5b9895f8a5d9 ("arm: Fix clang error in sve_vl()")
Cc: Raghavendra Rao Ananta <rananta@google.com>
Cc: Andrew Jones <andrew.jones@linux.dev>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Andrew Jones <andrew.jones@linux.dev>

sru-trusty 2024-01-02 08:24:53 UTC
UBUNTU: SAUCE: Upstream head SHA1 02d8befe99

Author: Po-Hsu Lin
Author Date: 2023-12-26 03:06:14 UTC

UBUNTU: SAUCE: Upstream head SHA1 02d8befe99

Rebased on top of upstream head commit:
02d8befe99 pretty_print_stacks: modify relative path calculation

Update Note:
  * Bugs closed after this update:
    - LP: #1991762 msr in ubuntu_kvm_unit_tests failed with timeout
      on J (error: kvm run failed Operation not permitted)
  * Bugs opened after this update:
    - LP: #2047344 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on RDSMR(x2APIC MSR 0x82e)"
    - LP: #2047357 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on WRSMR(x2APIC MSR 0x837, 0xffffffffffffffff),
      got vector 0"
    - LP: #2047369 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on WRSMR(MSR_FS_BASE, 0xaaaaaaaaaaaaaaaa), got
      vector 0 on J-realtime openstack
  * sru-xenial branch untouched.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

sru-bionic 2024-01-02 08:24:53 UTC
UBUNTU: SAUCE: Upstream head SHA1 02d8befe99

Author: Po-Hsu Lin
Author Date: 2023-12-26 03:06:14 UTC

UBUNTU: SAUCE: Upstream head SHA1 02d8befe99

Rebased on top of upstream head commit:
02d8befe99 pretty_print_stacks: modify relative path calculation

Update Note:
  * Bugs closed after this update:
    - LP: #1991762 msr in ubuntu_kvm_unit_tests failed with timeout
      on J (error: kvm run failed Operation not permitted)
  * Bugs opened after this update:
    - LP: #2047344 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on RDSMR(x2APIC MSR 0x82e)"
    - LP: #2047357 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on WRSMR(x2APIC MSR 0x837, 0xffffffffffffffff),
      got vector 0"
    - LP: #2047369 msr from ubuntu_kvm_unit_tests failed with "FAIL:
      Expected #GP on WRSMR(MSR_FS_BASE, 0xaaaaaaaaaaaaaaaa), got
      vector 0 on J-realtime openstack
  * sru-xenial branch untouched.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

upstream-master 2023-04-20 08:26:06 UTC
pretty_print_stacks: modify relative path calculation

Author: Nina Schoetterl-Glausch
Author Date: 2023-04-04 18:50:47 UTC

pretty_print_stacks: modify relative path calculation

Don't assume we can get a relative path by cutting of certain prefixes,
since this isn't guaranteed to work.
Instead use a library function.
Also normalize paths in order to take care of symlinks.

Fixes: a9143a24 ("scripts: pretty print stack traces")
Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230404185048.2824384-4-nsg@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

sru-xenial 2022-10-07 09:48:18 UTC
UBUNTU: SAUCE: Revert "s390x: add test for SIGP STORE_ADTL_STATUS order"

Author: Po-Hsu Lin
Author Date: 2022-10-06 09:20:42 UTC

UBUNTU: SAUCE: Revert "s390x: add test for SIGP STORE_ADTL_STATUS order"

The ADTL test will fail to build on Xenial with:
    s390x/adtl-status.c:204:1: error: unrecognizable insn:

Since this is already an EOL series, let just revert these adtl tests.

This reverts commit db1f35d9375bb7a3854dd8a7a18536b0ec372b16.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

17 of 7 results
This repository contains Public information 
Everyone can see this information.