diff options
author | Eric Farman <farman@linux.ibm.com> | 2024-02-20 22:12:11 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-22 16:06:56 +0100 |
commit | 559a1462909b893c52b41e2e39c364af8bacae8a (patch) | |
tree | d59b5b16cdbe88a42eb903f80d5b17a1870775fd /tools/perf/scripts/python/stackcollapse.py | |
parent | 01be7f53dfc29e0a362f3d05e5ab2c8dfcc171c8 (diff) |
KVM: s390: selftests: memop: add a simple AR test
There is a selftest that checks for an (expected) error when an
invalid AR is specified, but not one that exercises the AR path.
Add a simple test that mirrors the vanilla write/read test while
providing an AR. An AR that contains zero will direct the CPU to
use the primary address space normally used anyway. AR[1] is
selected for this test because the host AR[1] is usually non-zero,
and KVM needs to correctly swap those values.
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Link: https://lore.kernel.org/r/20240220211211.3102609-3-farman@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions