History log of /kvm-unit-tests/s390x/vector.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 0c259cf3 16-Aug-2021 Paolo Bonzini <bonzini@gnu.org>

Merge branch 's390x-pull-2021-16-08' into 'master'

s390x-pull-2021-16-08

See merge request kvm-unit-tests/kvm-unit-tests!15


# b81a2cd4 27-Jul-2021 Janosch Frank <frankja@linux.ibm.com>

s390x: Fix my mail address in the headers

I used the wrong one once and then copied it over...

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm

s390x: Fix my mail address in the headers

I used the wrong one once and then copied it over...

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>

show more ...


# d4123fdd 22-Jun-2021 Paolo Bonzini <bonzini@gnu.org>

Merge branch 's390x-pull-2021-22-06' into 'master'

s390x-pull-2021-22-06

See merge request kvm-unit-tests/kvm-unit-tests!11


# 1b2c0437 11-Jun-2021 Claudio Imbrenda <imbrenda@linux.ibm.com>

s390x: lib: add and use macros for control register bits

Add CTL0_* and CTL2_* macros for specific control register bits.

Replace all hardcoded values in the library and in the existing testcases s

s390x: lib: add and use macros for control register bits

Add CTL0_* and CTL2_* macros for specific control register bits.

Replace all hardcoded values in the library and in the existing testcases so
that they use the new macros.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20210611140705.553307-2-imbrenda@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>

show more ...


# 7231778d 03-May-2021 Janosch Frank <frankja@linux.ibm.com>

s390x: Fix vector stfle checks

134 is for bcd
135 is for the vector enhancements

Not the other way around...

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <da

s390x: Fix vector stfle checks

134 is for bcd
135 is for the vector enhancements

Not the other way around...

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Suggested-by: David Hildenbrand <david@redhat.com>

show more ...


# c9a34447 20-Jan-2021 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 's390x-2021-20-01' of https://gitlab.com/frankja/kvm-unit-tests into HEAD

* Moved to SPDX license identifiers and cleaning up license
* Added test_bit(_inv)() & SCLP feature bit checking
*

Merge tag 's390x-2021-20-01' of https://gitlab.com/frankja/kvm-unit-tests into HEAD

* Moved to SPDX license identifiers and cleaning up license
* Added test_bit(_inv)() & SCLP feature bit checking
* Added first SIE lib and test for nesting tests
* Added diag318 emulation test
* Small UV fix

show more ...


# fa624cc2 07-Dec-2020 Janosch Frank <frankja@linux.ibm.com>

s390x: Move to GPL 2 and SPDX license identifiers

In the past we had some issues when developers wanted to use code
snippets or constants from the kernel in a test or in the library. To
remedy that

s390x: Move to GPL 2 and SPDX license identifiers

In the past we had some issues when developers wanted to use code
snippets or constants from the kernel in a test or in the library. To
remedy that the s390x maintainers decided to move all files to GPL
2 (if possible).

At the same time let's move to SPDX identifiers as they are much nicer
to read.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Pierre Morel <pmorel@linux.ibm.com>

show more ...


# a299895b 06-Dec-2019 Thomas Huth <thuth@redhat.com>

Switch the order of the parameters in report() and report_xfail()

Commit c09c54c66b1df ("lib: use an argument which doesn't require
default argument promotion") fixed a warning that occurs with Clan

Switch the order of the parameters in report() and report_xfail()

Commit c09c54c66b1df ("lib: use an argument which doesn't require
default argument promotion") fixed a warning that occurs with Clang,
but introduced a regression: If the "pass" parameter is a value
which has only set the condition bits in the upper 32 bits of a
64 bit value, the condition is now false since the value is truncated
to "unsigned int" so that the upper bits are simply discarded.

We fixed it by reverting the commit, but that of course also means
trouble with Clang again. We can not use "bool" if it is the last
parameter before the variable argument list. The proper fix is to
swap the parameters around and make the format string the last
parameter.

This patch (except the changes in lib/libcflat.h and lib/report.c
and some rebase conflicts along the way) has basically been created
with following coccinelle script (with some additional manual tweaking
of long and disabled lines afterwards):

@@
expression fmt;
expression pass;
expression list args;
@@
report(
-fmt, pass
+pass, fmt
, args);

@@
expression fmt;
expression pass;
expression list args;
@@
report_xfail(
-fmt, xfail, pass
+xfail, pass, fmt
, args);

Tested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191206113102.14914-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


# ec410185 13-Jul-2018 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 's390x-ppc-2018-06-26' of https://gitlab.com/huth/kvm-unit-tests into HEAD

Mark tests as "SKIP" instead of "XFAIL" if a feature is missing.
Fix compiling of the tests for powerpc when usin

Merge tag 's390x-ppc-2018-06-26' of https://gitlab.com/huth/kvm-unit-tests into HEAD

Mark tests as "SKIP" instead of "XFAIL" if a feature is missing.
Fix compiling of the tests for powerpc when using GCC 8.
Remove an unnecessary and annoying ELF section in the s390x tests.

show more ...


# 90016cc5 14-Jun-2018 Thomas Huth <thuth@redhat.com>

s390x: Report missing facilities as "skip", not as "expected failure"

Looking at the other architectures, I just recently learnt that it is
better to mark missing CPU functionality as SKIP instead o

s390x: Report missing facilities as "skip", not as "expected failure"

Looking at the other architectures, I just recently learnt that it is
better to mark missing CPU functionality as SKIP instead of reporting
an expected failure. Thus let's replace the report_xfail() calls in
the s390x code with report_skip().

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


# d935296e 28-Mar-2018 Radim Krčmář <rkrcmar@redhat.com>

Merge tag 's390x-2018-03-28' of https://github.com/huth/kvm-unit-tests

New unit tests for s390x


# 43868475 27-Mar-2018 Janosch Frank <frankja@linux.vnet.ibm.com>

s390x: Add vector tests

Short test of the vector, vector enhancement 1 and vector bcd
facility.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
[thuth: Use memset(&prm, 0xff, sizeof(prm))

s390x: Add vector tests

Short test of the vector, vector enhancement 1 and vector bcd
facility.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
[thuth: Use memset(&prm, 0xff, sizeof(prm)) in test_ext1_nand()]
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...