History log of /kvm-unit-tests/lib/s390x/asm/facility.h (Results 1 – 15 of 15)
Revision Date Author Comments
# 1f08a91a 03-Feb-2025 Thomas Huth <thuth@redhat.com>

Merge branch 'pr-2025-01-31' into 'master'

s390x: new edat, diag258 and STFLE tests; fixes for genprotimg >= 2.36.0; cleanups for snippets and makefiles

See merge request kvm-unit-tests/kvm-unit-te

Merge branch 'pr-2025-01-31' into 'master'

s390x: new edat, diag258 and STFLE tests; fixes for genprotimg >= 2.36.0; cleanups for snippets and makefiles

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

show more ...


# 708ec6db 16-Oct-2024 Nina Schoetterl-Glausch <nsg@linux.ibm.com>

s390x: Add test for STFLE interpretive execution (format-0)

The STFLE instruction indicates installed facilities.
SIE can interpretively execute STFLE.
Use a snippet guest executing STFLE to get the

s390x: Add test for STFLE interpretive execution (format-0)

The STFLE instruction indicates installed facilities.
SIE can interpretively execute STFLE.
Use a snippet guest executing STFLE to get the result of
interpretive execution and check the result.

Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Link: https://lore.kernel.org/r/20241016180320.686132-7-nsg@linux.ibm.com
[ nrb: fixup minor checkpatch issues ]
Signed-off-by: Nico Boehr <nrb@linux.ibm.com>

show more ...


# 7b2e4176 21-Jul-2022 Paolo Bonzini <bonzini@gnu.org>

Merge branch 's390x-next-2022-07' into 'master'

s390x: Fix sclp facility bit numbers

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


# 7c4e732d 21-Jun-2022 Janis Schoetterl-Glausch <scgl@linux.ibm.com>

s390x: lib: SOP facility query function

Add function returning which suppression-on-protection facility is
installed.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Claud

s390x: lib: SOP facility query function

Add function returning which suppression-on-protection facility is
installed.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20220621143015.748290-3-scgl@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

show more ...


# 610c1528 14-Jun-2022 Thomas Huth <thuth@redhat.com>

Merge branch 's390x-next-2022-06' into 'master'

s390x: some migration tests and gcc12 support

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


# cd719531 08-Jun-2022 Janis Schoetterl-Glausch <scgl@linux.ibm.com>

s390x: Introduce symbol for lowcore and use it

This gets rid of bunch of pointers pointing to the lowcore used in
various places and replaces it with a unified way of addressing the
lowcore.
The new

s390x: Introduce symbol for lowcore and use it

This gets rid of bunch of pointers pointing to the lowcore used in
various places and replaces it with a unified way of addressing the
lowcore.
The new symbol is not a pointer. While this will lead to worse code
generation (cannot use register 0 for addressing), that should not
matter too much for kvm unit tests.
Since the lowcore is located per definition at address 0, the symbol is
defined via the linker scripts.
The symbol also will be used to create pointers that the compiler cannot
warn about as being outside the bounds of an array.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220608122953.1051952-2-scgl@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

show more ...


# eb5a1bba 09-Jun-2021 Cornelia Huck <cohuck@redhat.com>

s390x: unify header guards

Standardize header guards to _ASMS390X_HEADER_H_, _S390X_HEADER_H_,
and S390X_HEADER_H, respectively.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David

s390x: unify header guards

Standardize header guards to _ASMS390X_HEADER_H_, _S390X_HEADER_H_,
and S390X_HEADER_H, respectively.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210609143712.60933-7-cohuck@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 ...


# 2989246e 05-Nov-2020 Janosch Frank <frankja@linux.ibm.com>

s390x: Add test_bit to library

Query/feature bits are commonly tested via MSB bit numbers on
s390. Let's add test bit functions, so we don't need to copy code to
test query bits.

The test_bit code

s390x: Add test_bit to library

Query/feature bits are commonly tested via MSB bit numbers on
s390. Let's add test bit functions, so we don't need to copy code to
test query bits.

The test_bit code has been taken from the kernel since most s390x KVM unit
test developers are used to them.

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

show more ...


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

s390x: lib: 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

s390x: lib: 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 ...


# a3307eb5 04-May-2020 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 's390x-2020-04-30' of https://github.com/davidhildenbrand/kvm-unit-tests

New maintainer, reviewer, and cc list. New STSI test. Lots of minor fixes
and cleanups


# 6abbd4f0 01-Apr-2020 David Hildenbrand <david@redhat.com>

s390x: STFLE operates on doublewords

STFLE operates on doublewords, not bytes. Passing in "256" resulted in
some ignored bits getting set. Not bad, but also not clean.

Let's just convert our stfle

s390x: STFLE operates on doublewords

STFLE operates on doublewords, not bytes. Passing in "256" resulted in
some ignored bits getting set. Not bad, but also not clean.

Let's just convert our stfle handling code to operate on doublewords.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20200401163305.31550-1-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>

show more ...


# 47731042 30-Jan-2020 Paolo Bonzini <pbonzini@redhat.com>

Merge tag 's390x-2020-01-30' of https://github.com/davidhildenbrand/kvm-unit-tests into HEAD

Add new SCLP unit test


# 16c1768e 20-Jan-2020 Claudio Imbrenda <imbrenda@linux.ibm.com>

s390x: lib: fix stfl wrapper asm

the stfl wrapper in lib/s390x/asm/facility.h was lacking the "memory"
clobber in the inline asm.

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Tho

s390x: lib: fix stfl wrapper asm

the stfl wrapper in lib/s390x/asm/facility.h was lacking the "memory"
clobber in the inline asm.

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20200120184256.188698-4-imbrenda@linux.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>

show more ...


# 28f482bd 19-Sep-2017 David Hildenbrand <david@redhat.com>

s390x: query and store STFL(E) facilitites

cpacf.h will require the test_facility() function, so let's properly
query and store the STFL(E) facilities.

STFLE requires double word alignment.

Signed

s390x: query and store STFL(E) facilitites

cpacf.h will require the test_facility() function, so let's properly
query and store the STFL(E) facilities.

STFLE requires double word alignment.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170919145033.16959-5-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...