[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PULL 1/6] tests/tcg/s390x: Fix alignment of csst parameter
From: |
Cornelia Huck |
Subject: |
[qemu-s390x] [PULL 1/6] tests/tcg/s390x: Fix alignment of csst parameter list |
Date: |
Mon, 1 Jul 2019 13:17:17 +0200 |
From: Richard Henderson <address@hidden>
The parameter list given in general register 1 shall be aligned
on a quadword boundary. This test currently succeeds or fails
depending on the compiler version used and the accidential layout
of the function's stack frame.
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
---
tests/tcg/s390x/csst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tcg/s390x/csst.c b/tests/tcg/s390x/csst.c
index 1dae9071fbd5..084d80af49f3 100644
--- a/tests/tcg/s390x/csst.c
+++ b/tests/tcg/s390x/csst.c
@@ -3,7 +3,7 @@
int main(void)
{
- uint64_t parmlist[] = {
+ uint64_t parmlist[] __attribute__((aligned(16))) = {
0xfedcba9876543210ull,
0,
0x7777777777777777ull,
--
2.20.1
- [qemu-s390x] [PULL 0/6] final s390x patches for 4.1 softfreeze, Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 2/6] s390x/cpumodel: Rework CPU feature definition, Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 5/6] vfio-ccw: support async command subregion, Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 4/6] vfio-ccw: use vfio_set_irq_signaling, Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 3/6] s390x/cpumodel: Prepend KDSA features with "KDSA", Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 6/6] s390x: add cpu feature/model files to KVM section, Cornelia Huck, 2019/07/01
- [qemu-s390x] [PULL 1/6] tests/tcg/s390x: Fix alignment of csst parameter list,
Cornelia Huck <=
- Re: [qemu-s390x] [Qemu-devel] [PULL 0/6] final s390x patches for 4.1 softfreeze, no-reply, 2019/07/01
- Re: [qemu-s390x] [PULL 0/6] final s390x patches for 4.1 softfreeze, Peter Maydell, 2019/07/02